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.001081/0.001081, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.0011/0.0011, allocations: 192 kB / 18.55 MB, free: 4.566 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.336/1.336, allocations: 222.9 MB / 242.2 MB, free: 15.18 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.2191/0.2191, allocations: 44.19 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 68.27 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1281, allocations: 60.82 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01197/0.1401, allocations: 11.23 MB / 480.5 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.1521, allocations: 11.77 MB / 492.3 MB, free: 7.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.1523, allocations: 4 kB / 492.3 MB, free: 7.273 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003763/0.1527, allocations: 71.5 kB / 492.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.1631, allocations: 3.109 MB / 495.4 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.1635, allocations: 161.6 kB / 495.6 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005186/0.1687, allocations: 3.897 MB / 499.5 MB, free: 24 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.591e-05/0.1688, allocations: 12.41 kB / 499.5 MB, free: 12 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.169, allocations: 139.5 kB / 499.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008632/0.1776, allocations: 7.126 MB / 0.4949 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.884e-05/0.1778, allocations: 12 kB / 0.4949 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005976/0.1837, allocations: 2.1 MB / 0.497 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1839, allocations: 43.77 kB / 0.497 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.1841, allocations: 127.4 kB / 0.4971 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004338/0.1884, allocations: 1.54 MB / 0.4986 GB, free: 4.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1885, allocations: 0 / 0.4986 GB, free: 4.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1885, allocations: 0 / 0.4986 GB, free: 4.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.1885, allocations: 3.938 kB / 0.4986 GB, free: 4.914 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.002066/0.1906, allocations: 0.9244 MB / 0.4995 GB, free: 3.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1906, allocations: 12.03 kB / 0.4995 GB, free: 3.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005696/0.1912, allocations: 72.59 kB / 0.4996 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.1915, allocations: 267.9 kB / 0.4999 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1915, allocations: 16.94 kB / 0.4999 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.1916, allocations: 28.38 kB / 0.4999 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008774/0.1924, allocations: 485.6 kB / 0.5004 GB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1925, allocations: 0 / 0.5004 GB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.1925, allocations: 12 kB / 0.5004 GB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.1925, allocations: 8 kB / 0.5004 GB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009973/0.1935, allocations: 0.6812 MB / 0.5011 GB, free: 2.305 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.2402/0.4337, allocations: 4.297 MB / 0.5053 GB, free: 49.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006897/0.4344, allocations: 168.6 kB / 0.5054 GB, free: 49.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.4345, allocations: 63.03 kB / 0.5055 GB, free: 49.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02643/0.461, allocations: 16.4 MB / 0.5215 GB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007546/0.4618, allocations: 316.1 kB / 0.5218 GB, free: 37.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 5.059e-06/0.4618, allocations: 0 / 0.5218 GB, free: 37.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001527/0.4633, allocations: 435.8 kB / 0.5222 GB, free: 37.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.345e-05/0.4634, allocations: 481 kB / 0.5227 GB, free: 37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.4636, allocations: 188 kB / 0.5228 GB, free: 36.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.4636, allocations: 31.83 kB / 0.5229 GB, free: 36.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.4637, allocations: 184.9 kB / 0.5231 GB, free: 36.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.4638, allocations: 99.84 kB / 0.5231 GB, free: 36.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.4639, allocations: 90.97 kB / 0.5232 GB, free: 36.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.234e-05/0.464, allocations: 334.2 kB / 0.5236 GB, free: 36.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.4641, allocations: 66 kB / 0.5236 GB, free: 36.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.4643, allocations: 314.4 kB / 0.5239 GB, free: 35.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.4647, allocations: 426.1 kB / 0.5243 GB, free: 35.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.4647, allocations: 2.344 kB / 0.5243 GB, free: 35.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006072/0.4653, allocations: 398.5 kB / 0.5247 GB, free: 35.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4653, allocations: 9.062 kB / 0.5247 GB, free: 35.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.4654, allocations: 7.844 kB / 0.5247 GB, free: 35.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.4654, allocations: 11.84 kB / 0.5247 GB, free: 35.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.4657, allocations: 104.3 kB / 0.5248 GB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.4657, allocations: 21.02 kB / 0.5249 GB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.4659, allocations: 46.69 kB / 0.5249 GB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.466, allocations: 28.59 kB / 0.5249 GB, free: 35.11 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.000121/0.4661, allocations: 165.2 kB / 0.5251 GB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.759e-05/0.4662, allocations: 28.31 kB / 0.5251 GB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008929/0.4671, allocations: 0.7967 MB / 0.5259 GB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.4671, allocations: 4.812 kB / 0.5259 GB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.4671, allocations: 3.156 kB / 0.5259 GB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.4672, allocations: 1.844 kB / 0.5259 GB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009944/0.4682, allocations: 1.22 MB / 0.5271 GB, free: 33.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.4682, allocations: 2.344 kB / 0.5271 GB, free: 33.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.4683, allocations: 37.92 kB / 0.5271 GB, free: 33.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.4683, allocations: 7.609 kB / 0.5271 GB, free: 33.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.4683, allocations: 7.375 kB / 0.5271 GB, free: 33.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.4683, allocations: 4.594 kB / 0.5271 GB, free: 33.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.4683, allocations: 6 kB / 0.5271 GB, free: 33.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.4687, allocations: 376.9 kB / 0.5275 GB, free: 32.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.4688, allocations: 103 kB / 0.5276 GB, free: 32.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.394e-05/0.4689, allocations: 44.42 kB / 0.5276 GB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.4691, allocations: 9.875 kB / 0.5277 GB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.4692, allocations: 20.27 kB / 0.5277 GB, free: 32.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.4692, allocations: 15.89 kB / 0.5277 GB, free: 32.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002992/0.4695, allocations: 290.9 kB / 0.528 GB, free: 32.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4695, allocations: 2.297 kB / 0.528 GB, free: 32.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001624/0.4711, allocations: 430.6 kB / 0.5284 GB, free: 32.56 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.001549/0.4727, allocations: 0.6229 MB / 0.529 GB, free: 32.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005534/0.4733, allocations: 245.1 kB / 0.5292 GB, free: 32.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4733, allocations: 0 / 0.5292 GB, free: 32.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.4734, allocations: 94.14 kB / 0.5293 GB, free: 32.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008272/0.4742, allocations: 107.2 kB / 0.5294 GB, free: 32.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.4/1.874, allocations: 0.579 GB / 1.108 GB, free: 177.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/1.874, allocations: 0.8087 MB / 1.109 GB, free: 177 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004921/1.875, allocations: 168.4 kB / 1.109 GB, free: 176.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/1.875, allocations: 35.22 kB / 1.109 GB, free: 176.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/1.875, allocations: 0 / 1.109 GB, free: 176.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.01725/1.892, allocations: 14.27 MB / 1.123 GB, free: 165.1 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