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.001354/0.001354, allocations: 107 kB / 17.2 MB, free: 6.27 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.001576/0.001576, allocations: 194 kB / 18.12 MB, free: 5.363 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.473/1.473, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.2173/0.2173, allocations: 44.18 MB / 336.1 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 61 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1256, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01277/0.1384, allocations: 11.46 MB / 480 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.1507, allocations: 12.04 MB / 492 MB, free: 7.242 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.151, allocations: 0 / 492 MB, free: 7.242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003866/0.1514, allocations: 63.67 kB / 492.1 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009159/0.1606, allocations: 2.641 MB / 494.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.161, allocations: 142.6 kB / 494.9 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007416/0.1684, allocations: 4.145 MB / 499 MB, free: 244 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.31e-05/0.1685, allocations: 20.41 kB / 499 MB, free: 224 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.1688, allocations: 139.5 kB / 499.2 MB, free: 84 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01287/0.1816, allocations: 7.559 MB / 0.4948 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.125e-05/0.1817, allocations: 8 kB / 0.4949 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005838/0.1876, allocations: 2.111 MB / 0.4969 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.1877, allocations: 47.75 kB / 0.497 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.188, allocations: 127.4 kB / 0.4971 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005456/0.1934, allocations: 1.536 MB / 0.4986 GB, free: 4.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1935, allocations: 0 / 0.4986 GB, free: 4.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1935, allocations: 4 kB / 0.4986 GB, free: 4.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1935, allocations: 0 / 0.4986 GB, free: 4.676 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.002807/0.1963, allocations: 0.9244 MB / 0.4995 GB, free: 3.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.1964, allocations: 12.03 kB / 0.4995 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006844/0.197, allocations: 84.53 kB / 0.4996 GB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.1974, allocations: 255.9 kB / 0.4998 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.1975, allocations: 20.94 kB / 0.4998 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.1975, allocations: 24.38 kB / 0.4999 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.1986, allocations: 485.6 kB / 0.5003 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.1987, allocations: 0 / 0.5003 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.1987, allocations: 15.94 kB / 0.5003 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.1987, allocations: 8 kB / 0.5004 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.2, allocations: 0.6851 MB / 0.501 GB, free: 2.059 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.2585/0.4586, allocations: 4.289 MB / 0.5052 GB, free: 49.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007277/0.4593, allocations: 169.7 kB / 0.5054 GB, free: 49.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.4595, allocations: 63.83 kB / 0.5054 GB, free: 49.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0311/0.4906, allocations: 16.4 MB / 0.5215 GB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009207/0.4915, allocations: 319 kB / 0.5218 GB, free: 37.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.815e-06/0.4916, allocations: 0.7188 kB / 0.5218 GB, free: 37.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001603/0.4932, allocations: 441.9 kB / 0.5222 GB, free: 37.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.4933, allocations: 477 kB / 0.5226 GB, free: 36.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.4935, allocations: 187.5 kB / 0.5228 GB, free: 36.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.4936, allocations: 31.77 kB / 0.5228 GB, free: 36.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/0.4937, allocations: 190.1 kB / 0.523 GB, free: 36.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.4937, allocations: 101 kB / 0.5231 GB, free: 36.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.4939, allocations: 91.23 kB / 0.5232 GB, free: 36.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.4939, allocations: 334.1 kB / 0.5235 GB, free: 35.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.4941, allocations: 64.61 kB / 0.5236 GB, free: 35.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.4943, allocations: 311.8 kB / 0.5239 GB, free: 35.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.4948, allocations: 421.4 kB / 0.5243 GB, free: 34.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.4948, allocations: 2.375 kB / 0.5243 GB, free: 34.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006594/0.4954, allocations: 400.6 kB / 0.5247 GB, free: 34.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.4955, allocations: 8.812 kB / 0.5247 GB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.4955, allocations: 11.89 kB / 0.5247 GB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/0.4955, allocations: 11.94 kB / 0.5247 GB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.4959, allocations: 108 kB / 0.5248 GB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/0.4959, allocations: 18.83 kB / 0.5248 GB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.4962, allocations: 43.72 kB / 0.5249 GB, free: 34.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/0.4963, allocations: 28.16 kB / 0.5249 GB, free: 34.66 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.0001297/0.4964, allocations: 165.7 kB / 0.5251 GB, free: 34.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.057e-05/0.4965, allocations: 26 kB / 0.5251 GB, free: 34.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009907/0.4975, allocations: 0.7947 MB / 0.5259 GB, free: 33.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.4975, allocations: 4.344 kB / 0.5259 GB, free: 33.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.4975, allocations: 2.938 kB / 0.5259 GB, free: 33.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.4975, allocations: 5.453 kB / 0.5259 GB, free: 33.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.4985, allocations: 1.229 MB / 0.5271 GB, free: 32.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4986, allocations: 2.125 kB / 0.5271 GB, free: 32.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.4987, allocations: 31.92 kB / 0.5271 GB, free: 32.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.4987, allocations: 3.438 kB / 0.5271 GB, free: 32.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.4987, allocations: 12.69 kB / 0.5271 GB, free: 32.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4987, allocations: 3.344 kB / 0.5271 GB, free: 32.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.4987, allocations: 8.156 kB / 0.5271 GB, free: 32.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.4991, allocations: 377.1 kB / 0.5275 GB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/0.4992, allocations: 101.8 kB / 0.5276 GB, free: 32.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.749e-05/0.4992, allocations: 45.53 kB / 0.5276 GB, free: 32.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.4995, allocations: 6.188 kB / 0.5276 GB, free: 32.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.4995, allocations: 27.88 kB / 0.5277 GB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.4996, allocations: 11.84 kB / 0.5277 GB, free: 32.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003048/0.4999, allocations: 291.1 kB / 0.5279 GB, free: 32.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4999, allocations: 0 / 0.5279 GB, free: 32.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001542/0.5014, allocations: 434 kB / 0.5284 GB, free: 32.11 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.001767/0.5032, allocations: 0.6233 MB / 0.529 GB, free: 31.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000591/0.5038, allocations: 230.8 kB / 0.5292 GB, free: 31.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5038, allocations: 1.375 kB / 0.5292 GB, free: 31.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.504, allocations: 80.42 kB / 0.5293 GB, free: 31.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009399/0.5049, allocations: 115.5 kB / 0.5294 GB, free: 31.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.514/2.019, allocations: 0.5791 GB / 1.108 GB, free: 177.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/2.019, allocations: 0.816 MB / 1.109 GB, free: 176.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004929/2.02, allocations: 161.2 kB / 1.109 GB, free: 176.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.486e-05/2.02, allocations: 43.2 kB / 1.109 GB, free: 176.6 MB / 0.5137 GB Notification: Performance of SimCode: time 8.82e-07/2.02, allocations: 0 / 1.109 GB, free: 176.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.02251/2.042, allocations: 14.06 MB / 1.123 GB, free: 164.8 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