Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01057/0.01058, allocations: 108.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001154/0.001155, allocations: 181.4 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.094/2.094, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2686/0.2686, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.0004899, allocations: 16 kB / 361.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1158, allocations: 54.88 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 1.111/1.227, allocations: 242.7 MB / 0.6432 GB, free: 3.781 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.04583/1.273, allocations: 23.52 MB / 0.6662 GB, free: 3.469 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/1.276, allocations: 68.22 kB / 0.6663 GB, free: 3.469 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003893/1.28, allocations: 0.83 MB / 0.6671 GB, free: 3.465 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02322/1.303, allocations: 5.21 MB / 0.6722 GB, free: 3.391 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02899/1.332, allocations: 6.533 MB / 0.6786 GB, free: 2.578 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.007585/1.34, allocations: 3.124 MB / 0.6816 GB, free: 2.102 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004033/1.344, allocations: 1.569 MB / 0.6831 GB, free: 17.5 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0169/1.361, allocations: 4.78 MB / 0.6878 GB, free: 16.57 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005356/1.366, allocations: 1.813 MB / 0.6896 GB, free: 16.15 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001242/1.367, allocations: 126.2 kB / 0.6897 GB, free: 16.15 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04132/1.409, allocations: 14.49 MB / 0.7038 GB, free: 10.33 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002796/1.412, allocations: 0.903 MB / 0.7047 GB, free: 9.715 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001865/1.414, allocations: 0.494 MB / 0.7052 GB, free: 9.418 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0245/1.438, allocations: 7.558 MB / 0.7126 GB, free: 2.906 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.438, allocations: 4 kB / 0.7126 GB, free: 2.902 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.426e-06/1.438, allocations: 0 / 0.7126 GB, free: 2.902 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001179/1.438, allocations: 4 kB / 0.7126 GB, free: 2.898 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.01612/1.454, allocations: 4.125 MB / 0.7166 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.454, allocations: 8.031 kB / 0.7166 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001099/1.456, allocations: 278.4 kB / 0.7169 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/1.457, allocations: 279.3 kB / 0.7172 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004101/1.461, allocations: 1.378 MB / 0.7185 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/1.461, allocations: 149.7 kB / 0.7187 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005893/1.462, allocations: 176.7 kB / 0.7188 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008518/1.471, allocations: 2.971 MB / 0.7217 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.927e-05/1.471, allocations: 4 kB / 0.7217 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000435/1.471, allocations: 81.06 kB / 0.7218 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003413/1.471, allocations: 164.3 kB / 0.722 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009568/1.481, allocations: 3.282 MB / 0.7252 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03309/1.514, allocations: 11.47 MB / 0.7364 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006631/1.521, allocations: 1.944 MB / 0.7383 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004424/1.525, allocations: 3.489 MB / 0.7417 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.421e-05/1.525, allocations: 54.25 kB / 0.7417 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001558/1.527, allocations: 198.5 kB / 0.7419 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 5.651e-06/1.527, allocations: 0 / 0.7419 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of matching and sorting (n=150): time 0.01063/1.538, allocations: 2.935 MB / 0.7448 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/1.538, allocations: 201.2 kB / 0.745 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003108/1.541, allocations: 1.499 MB / 0.7464 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005275/1.542, allocations: 58.39 kB / 0.7465 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/1.543, allocations: 0.9985 MB / 0.7475 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009753/1.544, allocations: 0.5173 MB / 0.748 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/1.544, allocations: 47.31 kB / 0.748 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000255/1.544, allocations: 393.4 kB / 0.7484 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/1.547, allocations: 0.8833 MB / 0.7493 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003664/1.551, allocations: 1.593 MB / 0.7508 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003755/1.555, allocations: 1.282 MB / 0.7521 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-05/1.555, allocations: 4 kB / 0.7521 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01518/1.57, allocations: 3.081 MB / 0.7551 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.004925/1.575, allocations: 8.801 MB / 0.7637 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001421/1.575, allocations: 25.25 kB / 0.7637 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008593/1.584, allocations: 0.6503 MB / 0.7643 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006435/1.59, allocations: 0.498 MB / 0.7648 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003724/1.594, allocations: 1.521 MB / 0.7663 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005675/1.6, allocations: 159.1 kB / 0.7665 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/1.601, allocations: 169 kB / 0.7666 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/1.601, allocations: 4 kB / 0.7666 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.015/1.616, allocations: 2.797 MB / 0.7694 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001344/1.616, allocations: 24 kB / 0.7694 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003663/1.62, allocations: 339.3 kB / 0.7697 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007278/1.627, allocations: 0.5414 MB / 0.7702 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/1.63, allocations: 1.268 MB / 0.7715 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004854/1.635, allocations: 149.2 kB / 0.7716 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/1.636, allocations: 157.7 kB / 0.7718 GB, free: 14.98 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.003152/1.639, allocations: 0.6326 MB / 0.7724 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009678/1.64, allocations: 187.9 kB / 0.7726 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01775/1.658, allocations: 3.279 MB / 0.7758 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.257e-05/1.658, allocations: 27.98 kB / 0.7758 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-05/1.658, allocations: 0.875 kB / 0.7758 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-05/1.658, allocations: 11.95 kB / 0.7758 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01851/1.677, allocations: 4.738 MB / 0.7804 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.677, allocations: 4 kB / 0.7804 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002695/1.679, allocations: 304.5 kB / 0.7807 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004537/1.684, allocations: 0.5966 MB / 0.7813 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004257/1.684, allocations: 63.89 kB / 0.7814 GB, free: 7.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/1.686, allocations: 1.519 MB / 0.7828 GB, free: 6.379 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/1.686, allocations: 6.531 kB / 0.7829 GB, free: 6.375 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006871/1.693, allocations: 2.66 MB / 0.7855 GB, free: 4.164 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008152/1.694, allocations: 296.3 kB / 0.7857 GB, free: 3.879 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005921/1.695, allocations: 42.73 kB / 0.7858 GB, free: 3.859 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002507/1.697, allocations: 101.8 kB / 0.7859 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004571/1.698, allocations: 134 kB / 0.786 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003581/1.698, allocations: 112.9 kB / 0.7861 GB, free: 3.574 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002296/1.7, allocations: 1.042 MB / 0.7871 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.22e-07/1.7, allocations: 0 / 0.7871 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01035/1.711, allocations: 2.687 MB / 0.7897 GB, free: 348 kB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01734/1.728, allocations: 6.81 MB / 0.7964 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01145/1.74, allocations: 4.082 MB / 0.8004 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/1.74, allocations: 4.438 kB / 0.8004 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00314/1.743, allocations: 0.9995 MB / 0.8014 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007321/1.75, allocations: 0.8562 MB / 0.8022 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/1.773, allocations: 21.52 MB / 0.8232 GB, free: 488 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002102/1.775, allocations: 1.653 MB / 0.8248 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.008413/1.784, allocations: 1.076 MB / 0.8259 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002788/1.787, allocations: 0.8691 MB / 0.8267 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of SimCode: time 1.453e-06/1.787, allocations: 4 kB / 0.8267 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5616/2.348, allocations: 91.74 MB / 0.9163 GB, free: 219.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/2.349, allocations: 262.4 kB / 0.9166 GB, free: 218.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/9.951, allocations: 0 / 0.9166 GB, free: 218.8 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat