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.001105/0.001105, allocations: 112.7 kB / 17.33 MB, free: 6.016 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.001277/0.001277, allocations: 193.3 kB / 18.25 MB, free: 5.113 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.399/1.399, allocations: 222.9 MB / 241.9 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2195/0.2195, allocations: 44.18 MB / 336.2 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 71.59 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1304, allocations: 60.83 MB / 468.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01425/0.1447, allocations: 11.22 MB / 479.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.1591, allocations: 11.73 MB / 491.7 MB, free: 7.656 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000325/0.1595, allocations: 0 / 491.7 MB, free: 7.656 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.1601, allocations: 63.67 kB / 491.7 MB, free: 7.594 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01134/0.1714, allocations: 2.762 MB / 494.5 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.172, allocations: 146.7 kB / 494.6 MB, free: 4.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007888/0.1799, allocations: 4.188 MB / 498.8 MB, free: 496 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.18, allocations: 20.39 kB / 498.9 MB, free: 476 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/0.1805, allocations: 143.5 kB / 499 MB, free: 332 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01213/0.1926, allocations: 7.723 MB / 0.4948 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.004e-05/0.1927, allocations: 8 kB / 0.4948 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005934/0.1987, allocations: 2.138 MB / 0.4969 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1988, allocations: 47.75 kB / 0.497 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.199, allocations: 127.5 kB / 0.4971 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004349/0.2034, allocations: 1.548 MB / 0.4986 GB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2034, allocations: 3.938 kB / 0.4986 GB, free: 4.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.2034, allocations: 4 kB / 0.4986 GB, free: 4.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.2034, allocations: 0 / 0.4986 GB, free: 4.711 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.002265/0.2057, allocations: 0.9128 MB / 0.4995 GB, free: 3.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.2058, allocations: 16.03 kB / 0.4995 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006021/0.2064, allocations: 76.59 kB / 0.4996 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.2067, allocations: 251.9 kB / 0.4998 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.2067, allocations: 16.94 kB / 0.4999 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.2067, allocations: 32.36 kB / 0.4999 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.2078, allocations: 481.6 kB / 0.5003 GB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2078, allocations: 3.984 kB / 0.5004 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.2079, allocations: 16 kB / 0.5004 GB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.2079, allocations: 8 kB / 0.5004 GB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.209, allocations: 0.6812 MB / 0.501 GB, free: 2.113 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.2174/0.4263, allocations: 4.295 MB / 0.5052 GB, free: 49.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007642/0.4271, allocations: 175.9 kB / 0.5054 GB, free: 49.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.4272, allocations: 59.05 kB / 0.5055 GB, free: 49.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02732/0.4546, allocations: 16.4 MB / 0.5215 GB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007268/0.4553, allocations: 317.5 kB / 0.5218 GB, free: 37.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.144e-06/0.4553, allocations: 0 / 0.5218 GB, free: 37.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00146/0.4568, allocations: 448.5 kB / 0.5222 GB, free: 37.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.4569, allocations: 477.6 kB / 0.5227 GB, free: 36.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.457, allocations: 184.2 kB / 0.5228 GB, free: 36.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.4571, allocations: 31.83 kB / 0.5229 GB, free: 36.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.4571, allocations: 192.1 kB / 0.523 GB, free: 36.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.4572, allocations: 101.5 kB / 0.5231 GB, free: 36.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.782e-05/0.4573, allocations: 90.16 kB / 0.5232 GB, free: 36.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.4574, allocations: 333.4 kB / 0.5235 GB, free: 35.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.4575, allocations: 67.61 kB / 0.5236 GB, free: 35.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.4577, allocations: 305.1 kB / 0.5239 GB, free: 35.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.458, allocations: 426.8 kB / 0.5243 GB, free: 35.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.458, allocations: 2.531 kB / 0.5243 GB, free: 35.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006217/0.4587, allocations: 402.1 kB / 0.5247 GB, free: 34.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.4587, allocations: 9 kB / 0.5247 GB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.4587, allocations: 8.094 kB / 0.5247 GB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.4588, allocations: 11.5 kB / 0.5247 GB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.4591, allocations: 107.7 kB / 0.5248 GB, free: 34.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.4591, allocations: 20.11 kB / 0.5248 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.4594, allocations: 47.91 kB / 0.5249 GB, free: 34.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.4594, allocations: 32.56 kB / 0.5249 GB, free: 34.74 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.4595, allocations: 160.4 kB / 0.5251 GB, free: 34.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.596e-05/0.4596, allocations: 27.69 kB / 0.5251 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009037/0.4605, allocations: 0.7962 MB / 0.5259 GB, free: 34.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.4605, allocations: 3.469 kB / 0.5259 GB, free: 34.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4606, allocations: 2.406 kB / 0.5259 GB, free: 34.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4606, allocations: 10.48 kB / 0.5259 GB, free: 34.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009453/0.4615, allocations: 1.226 MB / 0.5271 GB, free: 32.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.4615, allocations: 2.281 kB / 0.5271 GB, free: 32.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.4617, allocations: 32.36 kB / 0.5271 GB, free: 32.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.4617, allocations: 3.094 kB / 0.5271 GB, free: 32.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.4617, allocations: 8.906 kB / 0.5271 GB, free: 32.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.4617, allocations: 3.5 kB / 0.5271 GB, free: 32.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4617, allocations: 6.156 kB / 0.5271 GB, free: 32.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.4621, allocations: 379.6 kB / 0.5275 GB, free: 32.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.4621, allocations: 101.7 kB / 0.5276 GB, free: 32.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.136e-05/0.4622, allocations: 44.25 kB / 0.5276 GB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.4625, allocations: 6.5 kB / 0.5277 GB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.4625, allocations: 31.78 kB / 0.5277 GB, free: 32.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.4625, allocations: 7.781 kB / 0.5277 GB, free: 32.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003054/0.4628, allocations: 291.5 kB / 0.528 GB, free: 32.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4628, allocations: 0 / 0.528 GB, free: 32.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001326/0.4642, allocations: 428.6 kB / 0.5284 GB, free: 32.2 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001112/0.4653, allocations: 0.6309 MB / 0.529 GB, free: 31.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003504/0.4657, allocations: 239.6 kB / 0.5292 GB, free: 31.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4657, allocations: 2.062 kB / 0.5292 GB, free: 31.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.463e-05/0.4658, allocations: 87.5 kB / 0.5293 GB, free: 31.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007438/0.4665, allocations: 117 kB / 0.5294 GB, free: 31.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.421/1.887, allocations: 0.5791 GB / 1.109 GB, free: 177.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/1.887, allocations: 0.8099 MB / 1.109 GB, free: 176.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005331/1.888, allocations: 168 kB / 1.109 GB, free: 176.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/1.888, allocations: 31.22 kB / 1.11 GB, free: 176.7 MB / 0.5137 GB Notification: Performance of SimCode: time 7.02e-07/1.888, allocations: 0 / 1.11 GB, free: 176.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.01712/1.905, allocations: 14.25 MB / 1.123 GB, free: 164.7 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