Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 117.2 kB / 17.78 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 204.5 kB / 18.73 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2176/0.2176, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 75.88 kB / 480.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4076, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01292/0.4206, allocations: 11.28 MB / 0.5416 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.4332, allocations: 11.77 MB / 0.5531 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.4334, allocations: 7.938 kB / 0.5531 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.4338, allocations: 63.56 kB / 0.5531 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009279/0.4431, allocations: 3.132 MB / 0.5562 GB, free: 7.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.4435, allocations: 145.3 kB / 0.5563 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005208/0.4487, allocations: 3.905 MB / 0.5602 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.528e-05/0.4488, allocations: 16.41 kB / 0.5602 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.449, allocations: 143.5 kB / 0.5603 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008958/0.458, allocations: 7.118 MB / 0.5673 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.78e-05/0.458, allocations: 11.94 kB / 0.5673 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006561/0.4646, allocations: 2.392 MB / 0.5696 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.298e-05/0.4647, allocations: 47.8 kB / 0.5696 GB, free: 9.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.4649, allocations: 127.4 kB / 0.5698 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004953/0.4699, allocations: 1.722 MB / 0.5715 GB, free: 7.773 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4699, allocations: 0 / 0.5715 GB, free: 7.773 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4699, allocations: 0 / 0.5715 GB, free: 7.773 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.47, allocations: 0 / 0.5715 GB, free: 7.773 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002252/0.4722, allocations: 0.9916 MB / 0.5724 GB, free: 6.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.4723, allocations: 12.03 kB / 0.5724 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.216e-05/0.4724, allocations: 62.72 kB / 0.5725 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000602/0.473, allocations: 76.73 kB / 0.5726 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.4733, allocations: 248 kB / 0.5728 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.4734, allocations: 20.94 kB / 0.5728 GB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.4734, allocations: 28.38 kB / 0.5728 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.4745, allocations: 489.3 kB / 0.5733 GB, free: 5.734 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.4745, allocations: 4 kB / 0.5733 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.4746, allocations: 12 kB / 0.5733 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.4746, allocations: 8 kB / 0.5733 GB, free: 5.711 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.4756, allocations: 0.6851 MB / 0.574 GB, free: 5.023 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006301/0.482, allocations: 3.144 MB / 0.5771 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006429/0.4826, allocations: 204.2 kB / 0.5773 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.4827, allocations: 77.39 kB / 0.5773 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08059/0.5633, allocations: 33.64 MB / 0.6102 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007636/0.5641, allocations: 358.5 kB / 0.6105 GB, free: 12.47 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.314e-06/0.5642, allocations: 0 / 0.6105 GB, free: 12.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.00263/0.5668, allocations: 0.8872 MB / 0.6114 GB, free: 11.58 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001975/0.567, allocations: 478.5 kB / 0.6119 GB, free: 11 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.5672, allocations: 160.2 kB / 0.612 GB, free: 10.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.5672, allocations: 37.7 kB / 0.6121 GB, free: 10.79 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.087e-05/0.5673, allocations: 164.3 kB / 0.6122 GB, free: 10.63 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.634e-05/0.5674, allocations: 130.9 kB / 0.6123 GB, free: 10.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.5675, allocations: 94.19 kB / 0.6124 GB, free: 10.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5677, allocations: 326.8 kB / 0.6127 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.5678, allocations: 69.08 kB / 0.6128 GB, free: 10.01 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.5681, allocations: 314.2 kB / 0.6131 GB, free: 9.582 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005713/0.5687, allocations: 436 kB / 0.6135 GB, free: 9.039 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.5687, allocations: 4 kB / 0.6135 GB, free: 9.035 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006827/0.5694, allocations: 413.5 kB / 0.6139 GB, free: 8.625 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.5695, allocations: 8 kB / 0.6139 GB, free: 8.617 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.5695, allocations: 16.06 kB / 0.6139 GB, free: 8.602 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/0.5695, allocations: 12 kB / 0.614 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/0.5715, allocations: 335.5 kB / 0.6143 GB, free: 8.262 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006523/0.5721, allocations: 1.188 MB / 0.6154 GB, free: 7.027 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.5724, allocations: 20.12 kB / 0.6154 GB, free: 7.008 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.5724, allocations: 36 kB / 0.6155 GB, free: 6.973 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.5726, allocations: 153.6 kB / 0.6156 GB, free: 6.812 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/0.5727, allocations: 31.86 kB / 0.6157 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.5739, allocations: 0.9433 MB / 0.6166 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.5739, allocations: 4 kB / 0.6166 GB, free: 5.797 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.574, allocations: 4 kB / 0.6166 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.574, allocations: 7.984 kB / 0.6166 GB, free: 5.785 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.5753, allocations: 1.426 MB / 0.618 GB, free: 4.219 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.5753, allocations: 4 kB / 0.618 GB, free: 4.215 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.5764, allocations: 147.9 kB / 0.6181 GB, free: 4.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.5764, allocations: 4 kB / 0.6181 GB, free: 4.066 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.5764, allocations: 4 kB / 0.6181 GB, free: 4.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002786/0.5767, allocations: 0.5898 MB / 0.6187 GB, free: 3.449 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.5767, allocations: 8.016 kB / 0.6187 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/0.5773, allocations: 0.523 MB / 0.6192 GB, free: 2.875 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.855e-05/0.5774, allocations: 108.8 kB / 0.6193 GB, free: 2.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.438e-05/0.5774, allocations: 55.48 kB / 0.6194 GB, free: 2.695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.5777, allocations: 16 kB / 0.6194 GB, free: 2.68 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.5778, allocations: 15.97 kB / 0.6194 GB, free: 2.664 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.5778, allocations: 19.94 kB / 0.6194 GB, free: 2.645 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002766/0.5781, allocations: 279.1 kB / 0.6197 GB, free: 2.371 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5781, allocations: 0 / 0.6197 GB, free: 2.371 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001486/0.5796, allocations: 466.6 kB / 0.6202 GB, free: 1.914 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002169/0.5817, allocations: 1.647 MB / 0.6218 GB, free: 212 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.5833, allocations: 402.6 kB / 0.6221 GB, free: 15.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5833, allocations: 0 / 0.6221 GB, free: 15.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007924/0.5841, allocations: 235.5 kB / 0.6224 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008223/0.5849, allocations: 121.8 kB / 0.6225 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.19/1.775, allocations: 0.54 GB / 1.163 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/1.775, allocations: 0.8235 MB / 1.163 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003701/1.776, allocations: 171.1 kB / 1.163 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/1.776, allocations: 158.8 kB / 1.164 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/1.776, allocations: 0 / 1.164 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3425/2.118, allocations: 20.19 MB / 1.183 GB, free: 220.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/14.41, allocations: 6.844 kB / 1.183 GB, free: 220.9 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches