Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009249/0.0009247, allocations: 97.95 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 188.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 223.3 MB / 241.9 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.206/0.206, allocations: 44.25 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003198, allocations: 9.344 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01148/0.1499, allocations: 10.18 MB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.1623, allocations: 10.79 MB / 492.6 MB, free: 8.676 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003645/0.1628, allocations: 0 / 492.6 MB, free: 8.676 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004863/0.1633, allocations: 55.69 kB / 492.6 MB, free: 8.621 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01238/0.1757, allocations: 2.448 MB / 495.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.1761, allocations: 138.7 kB / 495.2 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01059/0.1867, allocations: 7.412 MB / 0.4908 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.582e-05/0.1869, allocations: 20.39 kB / 0.4909 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.1871, allocations: 131.6 kB / 0.491 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0192/0.2063, allocations: 14.17 MB / 0.5048 GB, free: 296 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.077e-05/0.2064, allocations: 11.94 kB / 0.5048 GB, free: 284 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2959/0.5023, allocations: 1.955 MB / 0.5067 GB, free: 33.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.5026, allocations: 44.56 kB / 0.5068 GB, free: 33.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.5028, allocations: 68.73 kB / 0.5068 GB, free: 33.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003762/0.5065, allocations: 1.027 MB / 0.5078 GB, free: 33.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.5066, allocations: 1.625 kB / 0.5078 GB, free: 33.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5066, allocations: 0.6875 kB / 0.5079 GB, free: 33.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.5066, allocations: 0 / 0.5079 GB, free: 33.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.002899/0.5095, allocations: 0.8698 MB / 0.5087 GB, free: 33.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.5096, allocations: 12.41 kB / 0.5087 GB, free: 33.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005889/0.5102, allocations: 77.44 kB / 0.5088 GB, free: 33.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.5105, allocations: 241.6 kB / 0.509 GB, free: 33.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/0.5106, allocations: 24.66 kB / 0.509 GB, free: 33.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/0.5106, allocations: 34.16 kB / 0.5091 GB, free: 33.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.5119, allocations: 480.6 kB / 0.5095 GB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.512, allocations: 1.156 kB / 0.5095 GB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.512, allocations: 14.19 kB / 0.5095 GB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.512, allocations: 7.281 kB / 0.5096 GB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.5133, allocations: 0.6774 MB / 0.5102 GB, free: 33.04 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.008316/0.5216, allocations: 4.284 MB / 0.5144 GB, free: 30.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006154/0.5222, allocations: 166.6 kB / 0.5146 GB, free: 30.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.5223, allocations: 59.14 kB / 0.5146 GB, free: 30.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02658/0.5489, allocations: 16.38 MB / 0.5306 GB, free: 18.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006969/0.5497, allocations: 324 kB / 0.5309 GB, free: 17.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.285e-06/0.5497, allocations: 0 / 0.5309 GB, free: 17.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001341/0.551, allocations: 432.2 kB / 0.5313 GB, free: 17.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.5511, allocations: 484.6 kB / 0.5318 GB, free: 17.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.5513, allocations: 182 kB / 0.532 GB, free: 17.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.5513, allocations: 32.05 kB / 0.532 GB, free: 17.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.5514, allocations: 186.9 kB / 0.5322 GB, free: 16.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/0.5515, allocations: 100.4 kB / 0.5323 GB, free: 16.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/0.5515, allocations: 7.094 kB / 0.5323 GB, free: 16.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.549e-05/0.5516, allocations: 334.5 kB / 0.5326 GB, free: 16.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.5517, allocations: 67.23 kB / 0.5327 GB, free: 16.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.5519, allocations: 310.6 kB / 0.533 GB, free: 16.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.5521, allocations: 108.4 kB / 0.5331 GB, free: 16.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5521, allocations: 3.375 kB / 0.5331 GB, free: 16.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005955/0.5527, allocations: 398.8 kB / 0.5334 GB, free: 16.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.5527, allocations: 12.7 kB / 0.5335 GB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.5528, allocations: 8.625 kB / 0.5335 GB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.5528, allocations: 16.34 kB / 0.5335 GB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.5531, allocations: 103.9 kB / 0.5336 GB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.5531, allocations: 19.83 kB / 0.5336 GB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.5535, allocations: 41.78 kB / 0.5336 GB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/0.5535, allocations: 31.44 kB / 0.5337 GB, free: 16.07 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.0001657/0.5537, allocations: 170.5 kB / 0.5338 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.5538, allocations: 22.56 kB / 0.5339 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.5552, allocations: 0.8061 MB / 0.5346 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.5552, allocations: 6.719 kB / 0.5346 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.5553, allocations: 3.375 kB / 0.5346 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.5553, allocations: 3.156 kB / 0.5347 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009076/0.5562, allocations: 1.224 MB / 0.5358 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5562, allocations: 6.453 kB / 0.5359 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.5563, allocations: 31.8 kB / 0.5359 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.5563, allocations: 3.5 kB / 0.5359 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.5563, allocations: 7.172 kB / 0.5359 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.5563, allocations: 10.88 kB / 0.5359 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5564, allocations: 0 / 0.5359 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.5566, allocations: 385.7 kB / 0.5363 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.5567, allocations: 210.2 kB / 0.5365 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.5568, allocations: 6.625 kB / 0.5365 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.557, allocations: 17.3 kB / 0.5365 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.5571, allocations: 21 kB / 0.5365 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.5571, allocations: 16 kB / 0.5365 GB, free: 14.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002455/0.5573, allocations: 287.9 kB / 0.5368 GB, free: 14.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5574, allocations: 0 / 0.5368 GB, free: 14.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001664/0.559, allocations: 430.2 kB / 0.5372 GB, free: 14.03 MB / 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.001393/0.5604, allocations: 0.616 MB / 0.5378 GB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.5608, allocations: 231.1 kB / 0.538 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5608, allocations: 4.422 kB / 0.538 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.5609, allocations: 83.16 kB / 0.5381 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006559/0.5616, allocations: 87.95 kB / 0.5382 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.579/2.141, allocations: 0.577 GB / 1.115 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/2.141, allocations: 0.8187 MB / 1.116 GB, free: 167.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005026/2.142, allocations: 165.9 kB / 1.116 GB, free: 167.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/2.142, allocations: 31.44 kB / 1.116 GB, free: 167.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.403e-06/2.142, allocations: 0 / 1.116 GB, free: 167.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.01756/2.159, allocations: 13.44 MB / 1.129 GB, free: 153.9 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches