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.001014/0.001014, allocations: 96.97 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 46.19 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 11.98 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1477, allocations: 63.56 MB / 483.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01179/0.1595, allocations: 11.02 MB / 494.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.1727, allocations: 11.84 MB / 0.4941 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002847/0.1731, allocations: 3.938 kB / 0.4941 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003988/0.1735, allocations: 63.67 kB / 0.4942 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01089/0.1844, allocations: 2.64 MB / 0.4967 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.1848, allocations: 147 kB / 0.4969 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006448/0.1913, allocations: 4.141 MB / 0.5009 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.807e-05/0.1914, allocations: 20.41 kB / 0.5009 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.1916, allocations: 143.4 kB / 0.5011 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2567/0.4483, allocations: 7.549 MB / 0.5084 GB, free: 22.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.4484, allocations: 6.75 kB / 0.5085 GB, free: 22.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005162/0.4536, allocations: 2.119 MB / 0.5105 GB, free: 22.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.4537, allocations: 45.08 kB / 0.5106 GB, free: 22.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.4539, allocations: 149.6 kB / 0.5107 GB, free: 22.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003645/0.4576, allocations: 1.536 MB / 0.5122 GB, free: 22.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4576, allocations: 0 / 0.5122 GB, free: 22.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4576, allocations: 1.969 kB / 0.5122 GB, free: 22.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.4576, allocations: 1.344 kB / 0.5122 GB, free: 22.04 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.002193/0.4598, allocations: 0.8605 MB / 0.5131 GB, free: 21.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.4599, allocations: 10.38 kB / 0.5131 GB, free: 21.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006015/0.4605, allocations: 81.55 kB / 0.5131 GB, free: 21.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.4608, allocations: 241.3 kB / 0.5134 GB, free: 21.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.4608, allocations: 23.56 kB / 0.5134 GB, free: 21.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.4609, allocations: 29.39 kB / 0.5134 GB, free: 21.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.4619, allocations: 483.8 kB / 0.5139 GB, free: 21.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.4619, allocations: 1.031 kB / 0.5139 GB, free: 21.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.462, allocations: 15.91 kB / 0.5139 GB, free: 21.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.462, allocations: 10.88 kB / 0.5139 GB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.4632, allocations: 0.6857 MB / 0.5146 GB, free: 21.14 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.007784/0.471, allocations: 4.281 MB / 0.5188 GB, free: 18.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.4717, allocations: 163.7 kB / 0.5189 GB, free: 18.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.4718, allocations: 60.16 kB / 0.519 GB, free: 18.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02631/0.4981, allocations: 16.38 MB / 0.535 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000621/0.4988, allocations: 321.4 kB / 0.5353 GB, free: 5.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.364e-06/0.4988, allocations: 0 / 0.5353 GB, free: 5.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001351/0.5002, allocations: 442.1 kB / 0.5357 GB, free: 5.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.5003, allocations: 477 kB / 0.5362 GB, free: 5.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.5005, allocations: 181.1 kB / 0.5363 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.5005, allocations: 33.89 kB / 0.5364 GB, free: 5.055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.5006, allocations: 187.4 kB / 0.5365 GB, free: 4.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.5007, allocations: 98.67 kB / 0.5366 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.5007, allocations: 44.77 kB / 0.5367 GB, free: 4.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.405e-05/0.5008, allocations: 334.1 kB / 0.537 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.5009, allocations: 66.7 kB / 0.5371 GB, free: 4.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.5011, allocations: 307.6 kB / 0.5373 GB, free: 4.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003884/0.5015, allocations: 423.7 kB / 0.5378 GB, free: 3.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.5015, allocations: 6.5 kB / 0.5378 GB, free: 3.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006017/0.5021, allocations: 399.8 kB / 0.5381 GB, free: 3.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.5022, allocations: 8.281 kB / 0.5381 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.5022, allocations: 8.406 kB / 0.5382 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.5022, allocations: 12.88 kB / 0.5382 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.5025, allocations: 109 kB / 0.5383 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.5025, allocations: 23.02 kB / 0.5383 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.5028, allocations: 44.16 kB / 0.5383 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.5029, allocations: 36.22 kB / 0.5384 GB, free: 3.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.00012/0.503, allocations: 155 kB / 0.5385 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.5031, allocations: 22.94 kB / 0.5385 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008942/0.504, allocations: 0.7804 MB / 0.5393 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.504, allocations: 5.203 kB / 0.5393 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.504, allocations: 2.875 kB / 0.5393 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.504, allocations: 12.14 kB / 0.5393 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009371/0.5049, allocations: 1.207 MB / 0.5405 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.505, allocations: 3.625 kB / 0.5405 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.5051, allocations: 33.69 kB / 0.5405 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.5051, allocations: 5.812 kB / 0.5405 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.5051, allocations: 11.16 kB / 0.5406 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.5051, allocations: 9.969 kB / 0.5406 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5051, allocations: 2.625 kB / 0.5406 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.5054, allocations: 379.8 kB / 0.5409 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.5055, allocations: 216 kB / 0.5411 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.5056, allocations: 7.062 kB / 0.5411 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.5058, allocations: 24.41 kB / 0.5412 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.5059, allocations: 19.3 kB / 0.5412 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.5059, allocations: 8.469 kB / 0.5412 GB, free: 1.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002416/0.5061, allocations: 292.7 kB / 0.5415 GB, free: 1.758 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5061, allocations: 1.859 kB / 0.5415 GB, free: 1.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001583/0.5077, allocations: 419.5 kB / 0.5419 GB, free: 1.668 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.001376/0.5091, allocations: 0.6309 MB / 0.5425 GB, free: 1.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003502/0.5095, allocations: 238.8 kB / 0.5427 GB, free: 1.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5095, allocations: 96 / 0.5427 GB, free: 1.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.5096, allocations: 90.56 kB / 0.5428 GB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009025/0.5105, allocations: 114.9 kB / 0.5429 GB, free: 1.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.483/1.993, allocations: 0.577 GB / 1.12 GB, free: 190.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/1.994, allocations: 0.8049 MB / 1.121 GB, free: 190.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005627/1.994, allocations: 173.9 kB / 1.121 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.895e-05/1.994, allocations: 33.5 kB / 1.121 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.252e-06/1.994, allocations: 3.625 kB / 1.121 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.0209/2.015, allocations: 14.04 MB / 1.135 GB, free: 182.2 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