Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009424/0.0009423, allocations: 99.94 kB / 17.01 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 193.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.7 MB / 246.4 MB, free: 9.805 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.19 MB / 344.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002725, allocations: 8.219 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 63.58 MB / 482.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01131/0.157, allocations: 10.22 MB / 492.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.1688, allocations: 10.79 MB / 0.4916 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.1691, allocations: 7.938 kB / 0.4916 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.1694, allocations: 43.7 kB / 0.4917 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008394/0.1778, allocations: 2.456 MB / 0.4941 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.1783, allocations: 134.9 kB / 0.4942 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0103/0.1886, allocations: 7.416 MB / 0.5014 GB, free: 5.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.694e-05/0.1887, allocations: 12.41 kB / 0.5015 GB, free: 5.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.1889, allocations: 139.5 kB / 0.5016 GB, free: 5.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3133/0.5023, allocations: 14.16 MB / 0.5154 GB, free: 24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.188e-05/0.5024, allocations: 6.75 kB / 0.5154 GB, free: 24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006375/0.5088, allocations: 1.966 MB / 0.5173 GB, free: 24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.509, allocations: 45.14 kB / 0.5174 GB, free: 24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.5091, allocations: 71.05 kB / 0.5175 GB, free: 23.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.5116, allocations: 1.028 MB / 0.5185 GB, free: 23.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5117, allocations: 0 / 0.5185 GB, free: 23.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5117, allocations: 2.75 kB / 0.5185 GB, free: 23.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.5117, allocations: 0 / 0.5185 GB, free: 23.92 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.002182/0.5139, allocations: 0.8624 MB / 0.5193 GB, free: 23.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.5139, allocations: 9.75 kB / 0.5193 GB, free: 23.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/0.5145, allocations: 76.84 kB / 0.5194 GB, free: 23.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.5147, allocations: 253.1 kB / 0.5196 GB, free: 23.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.5148, allocations: 18.31 kB / 0.5196 GB, free: 23.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.5148, allocations: 26.75 kB / 0.5197 GB, free: 23.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009549/0.5158, allocations: 476.6 kB / 0.5201 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5158, allocations: 4 kB / 0.5201 GB, free: 23.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.5158, allocations: 17.19 kB / 0.5201 GB, free: 23.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.5159, allocations: 9.672 kB / 0.5202 GB, free: 23.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.517, allocations: 0.6789 MB / 0.5208 GB, free: 23.02 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.006353/0.5234, allocations: 4.288 MB / 0.525 GB, free: 20.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.5239, allocations: 166.8 kB / 0.5252 GB, free: 20.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.998e-05/0.524, allocations: 62.45 kB / 0.5252 GB, free: 20.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02218/0.5462, allocations: 16.38 MB / 0.5412 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006188/0.5469, allocations: 319.9 kB / 0.5415 GB, free: 5.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.274e-06/0.5469, allocations: 4 kB / 0.5415 GB, free: 5.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001236/0.5481, allocations: 436.2 kB / 0.5419 GB, free: 5.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.5483, allocations: 477.3 kB / 0.5424 GB, free: 5.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.5484, allocations: 191.4 kB / 0.5426 GB, free: 4.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.5484, allocations: 31.2 kB / 0.5426 GB, free: 4.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/0.5485, allocations: 191.8 kB / 0.5428 GB, free: 4.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/0.5486, allocations: 106.3 kB / 0.5429 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.5486, allocations: 10.38 kB / 0.5429 GB, free: 4.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.495e-05/0.5487, allocations: 326.1 kB / 0.5432 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.728e-05/0.5488, allocations: 61.58 kB / 0.5433 GB, free: 4.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.549, allocations: 313.5 kB / 0.5436 GB, free: 3.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.5491, allocations: 112.5 kB / 0.5437 GB, free: 3.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5491, allocations: 4 kB / 0.5437 GB, free: 3.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004935/0.5496, allocations: 397.4 kB / 0.5441 GB, free: 3.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.5497, allocations: 8 kB / 0.5441 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.5497, allocations: 8 kB / 0.5441 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.5497, allocations: 16.06 kB / 0.5441 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.55, allocations: 109.4 kB / 0.5442 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.55, allocations: 19.45 kB / 0.5442 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.5503, allocations: 46.55 kB / 0.5443 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.5503, allocations: 27.25 kB / 0.5443 GB, free: 3.309 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.5504, allocations: 163.6 kB / 0.5444 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.5505, allocations: 23.81 kB / 0.5445 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008657/0.5514, allocations: 0.8027 MB / 0.5453 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.5514, allocations: 4 kB / 0.5453 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.5514, allocations: 4 kB / 0.5453 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5514, allocations: 0 / 0.5453 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008807/0.5523, allocations: 1.221 MB / 0.5465 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.5523, allocations: 4 kB / 0.5465 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/0.5524, allocations: 35.67 kB / 0.5465 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.5524, allocations: 7.984 kB / 0.5465 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.5524, allocations: 7.375 kB / 0.5465 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.5525, allocations: 11 kB / 0.5465 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5525, allocations: 4 kB / 0.5465 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.5528, allocations: 369.8 kB / 0.5469 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.5529, allocations: 209.6 kB / 0.5471 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/0.553, allocations: 8 kB / 0.5471 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.5532, allocations: 15.98 kB / 0.5471 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.5532, allocations: 22.94 kB / 0.5471 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.5533, allocations: 11.25 kB / 0.5471 GB, free: 0.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002357/0.5535, allocations: 290.5 kB / 0.5474 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5535, allocations: 0 / 0.5474 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001606/0.5551, allocations: 436.2 kB / 0.5478 GB, free: 128 kB / 382.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 (19): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001362/0.5565, allocations: 0.623 MB / 0.5484 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.5569, allocations: 225.1 kB / 0.5486 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5569, allocations: 0 / 0.5486 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.557, allocations: 87.5 kB / 0.5487 GB, free: 15.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.5576, allocations: 89.34 kB / 0.5488 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.577/2.135, allocations: 0.577 GB / 1.126 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/2.135, allocations: 0.8057 MB / 1.127 GB, free: 186.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005107/2.136, allocations: 162.5 kB / 1.127 GB, free: 186.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.025e-05/2.136, allocations: 44.52 kB / 1.127 GB, free: 186.6 MB / 0.5294 GB Notification: Performance of SimCode: time 8.71e-07/2.136, allocations: 0 / 1.127 GB, free: 186.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.01918/2.155, allocations: 13.44 MB / 1.14 GB, free: 178.1 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches