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.0009838/0.0009837, allocations: 99.55 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2228/0.2228, allocations: 45.92 MB / 344.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004554, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1589, allocations: 63.47 MB / 481.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01235/0.1713, allocations: 10.22 MB / 491.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.1841, allocations: 10.78 MB / 0.4909 GB, free: 208 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003715/0.1845, allocations: 3.938 kB / 0.4909 GB, free: 204 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.1849, allocations: 55.7 kB / 0.4909 GB, free: 148 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01148/0.1964, allocations: 2.437 MB / 0.4933 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.197, allocations: 139.4 kB / 0.4934 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01205/0.2091, allocations: 7.412 MB / 0.5007 GB, free: 6.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2092, allocations: 16.41 kB / 0.5007 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003646/0.2096, allocations: 143.5 kB / 0.5008 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3421/0.5517, allocations: 14.15 MB / 0.5146 GB, free: 25.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.5518, allocations: 6.531 kB / 0.5147 GB, free: 25.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00837/0.5602, allocations: 2.21 MB / 0.5168 GB, free: 25.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.5605, allocations: 43.17 kB / 0.5169 GB, free: 25.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.5608, allocations: 71.2 kB / 0.5169 GB, free: 24.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005405/0.5662, allocations: 1.157 MB / 0.5181 GB, free: 24.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.5663, allocations: 0 / 0.5181 GB, free: 24.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5663, allocations: 1.906 kB / 0.5181 GB, free: 24.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.5663, allocations: 0 / 0.5181 GB, free: 24.93 MB / 382.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.00344/0.5698, allocations: 0.9047 MB / 0.5189 GB, free: 24.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.5698, allocations: 8.969 kB / 0.5189 GB, free: 24.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.566e-05/0.5699, allocations: 64.84 kB / 0.519 GB, free: 24.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005604/0.5705, allocations: 74.94 kB / 0.5191 GB, free: 24.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.5708, allocations: 254.3 kB / 0.5193 GB, free: 24.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.5708, allocations: 18.66 kB / 0.5193 GB, free: 24.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.5709, allocations: 33.72 kB / 0.5194 GB, free: 24.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.5719, allocations: 474.8 kB / 0.5198 GB, free: 23.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.572, allocations: 7.297 kB / 0.5198 GB, free: 23.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.572, allocations: 9.969 kB / 0.5198 GB, free: 23.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.572, allocations: 10.62 kB / 0.5198 GB, free: 23.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.5732, allocations: 0.6791 MB / 0.5205 GB, free: 23.97 MB / 382.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.006959/0.5802, allocations: 3.118 MB / 0.5236 GB, free: 22.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007434/0.5809, allocations: 211.5 kB / 0.5238 GB, free: 22.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.5811, allocations: 80.78 kB / 0.5238 GB, free: 22.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06919/0.6503, allocations: 33.48 MB / 0.5565 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008403/0.6512, allocations: 341.3 kB / 0.5569 GB, free: 7.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 4.499e-06/0.6512, allocations: 0 / 0.5569 GB, free: 7.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002961/0.6542, allocations: 0.8587 MB / 0.5577 GB, free: 6.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000249/0.6544, allocations: 488.1 kB / 0.5582 GB, free: 6.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.6546, allocations: 152.9 kB / 0.5583 GB, free: 5.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.6547, allocations: 33.33 kB / 0.5583 GB, free: 5.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.6548, allocations: 164.1 kB / 0.5585 GB, free: 5.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.6549, allocations: 131 kB / 0.5586 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.655, allocations: 14.88 kB / 0.5586 GB, free: 5.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6551, allocations: 331.8 kB / 0.5589 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.6553, allocations: 64.7 kB / 0.559 GB, free: 5.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.6556, allocations: 309.2 kB / 0.5593 GB, free: 4.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.6558, allocations: 106 kB / 0.5594 GB, free: 4.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.6558, allocations: 4 kB / 0.5594 GB, free: 4.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000686/0.6565, allocations: 402.7 kB / 0.5598 GB, free: 4.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.6565, allocations: 10.5 kB / 0.5598 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.6565, allocations: 8 kB / 0.5598 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.6566, allocations: 12 kB / 0.5598 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.6582, allocations: 265.7 kB / 0.5601 GB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006769/0.6589, allocations: 1.184 MB / 0.5612 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.6592, allocations: 27 kB / 0.5613 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.6593, allocations: 30.5 kB / 0.5613 GB, free: 3.004 MB / 398.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.6595, allocations: 161.7 kB / 0.5614 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/0.6596, allocations: 33.59 kB / 0.5615 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.6611, allocations: 0.9774 MB / 0.5624 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.6611, allocations: 10.81 kB / 0.5624 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.6611, allocations: 0 / 0.5624 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.6612, allocations: 7.984 kB / 0.5624 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.6631, allocations: 1.42 MB / 0.5638 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.6632, allocations: 0 / 0.5638 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.6642, allocations: 142.1 kB / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.6642, allocations: 11.78 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.6642, allocations: 11.94 kB / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003437/0.6646, allocations: 0.585 MB / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.6646, allocations: 4 kB / 0.5646 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007769/0.6654, allocations: 0.514 MB / 0.5651 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/0.6656, allocations: 220 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.828e-05/0.6657, allocations: 11.2 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.666, allocations: 15.42 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.6661, allocations: 23.17 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.6661, allocations: 15.23 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003206/0.6664, allocations: 278.4 kB / 0.5656 GB, free: 15.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6665, allocations: 0 / 0.5656 GB, free: 15.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002346/0.6688, allocations: 460.1 kB / 0.566 GB, free: 14.75 MB / 414.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002627/0.6714, allocations: 1.64 MB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.6729, allocations: 399.2 kB / 0.568 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6729, allocations: 0 / 0.568 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006989/0.6736, allocations: 218.1 kB / 0.5682 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006885/0.6743, allocations: 103 kB / 0.5683 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.572/2.247, allocations: 0.5363 GB / 1.105 GB, free: 196.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/2.247, allocations: 0.8248 MB / 1.105 GB, free: 195.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004945/2.247, allocations: 164.3 kB / 1.106 GB, free: 195.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/2.248, allocations: 159.1 kB / 1.106 GB, free: 195.7 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/2.248, allocations: 0 / 1.106 GB, free: 195.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04008/2.288, allocations: 19.17 MB / 1.124 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/2.288, allocations: 241.3 kB / 1.125 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/4.875, allocations: 0 / 1.125 GB, free: 186.1 MB / 0.5294 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat