Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_pT,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_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 107.3 kB / 18.4 MB, free: 4.59 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.001698/0.001698, allocations: 192 kB / 19.34 MB, free: 3.66 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.366/1.366, allocations: 222.9 MB / 243 MB, free: 15.16 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.2053/0.2053, allocations: 44.18 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.98 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1081, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.0123/0.1204, allocations: 11.24 MB / 482 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.1327, allocations: 11.78 MB / 493.7 MB, free: 6.566 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.1329, allocations: 0 / 493.7 MB, free: 6.566 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.1333, allocations: 71.56 kB / 493.8 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01307/0.1464, allocations: 3.117 MB / 496.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.1469, allocations: 147.1 kB / 497.1 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005541/0.1524, allocations: 3.901 MB / 0.4892 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.174e-05/0.1525, allocations: 16.41 kB / 0.4892 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.1527, allocations: 139.5 kB / 0.4894 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00921/0.1619, allocations: 7.13 MB / 0.4963 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.568e-05/0.162, allocations: 12 kB / 0.4963 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006976/0.169, allocations: 2.384 MB / 0.4987 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1691, allocations: 47.81 kB / 0.4987 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.1693, allocations: 119.4 kB / 0.4988 GB, free: 5.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003954/0.1733, allocations: 1.727 MB / 0.5005 GB, free: 3.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1733, allocations: 0 / 0.5005 GB, free: 3.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1733, allocations: 0 / 0.5005 GB, free: 3.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1733, allocations: 0 / 0.5005 GB, free: 3.734 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.002083/0.1754, allocations: 0.9595 MB / 0.5015 GB, free: 2.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1755, allocations: 8.031 kB / 0.5015 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005981/0.1761, allocations: 84.58 kB / 0.5015 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.1764, allocations: 251.9 kB / 0.5018 GB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.1765, allocations: 16.94 kB / 0.5018 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.1765, allocations: 28.38 kB / 0.5018 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000914/0.1774, allocations: 485.6 kB / 0.5023 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1774, allocations: 7.875 kB / 0.5023 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.1775, allocations: 12 kB / 0.5023 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1775, allocations: 8 kB / 0.5023 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.1786, allocations: 0.6773 MB / 0.503 GB, free: 1.094 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.2398/0.4184, allocations: 3.134 MB / 0.506 GB, free: 49.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/0.4192, allocations: 218.8 kB / 0.5063 GB, free: 49.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.4193, allocations: 75.09 kB / 0.5063 GB, free: 49.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07761/0.497, allocations: 33.63 MB / 0.5392 GB, free: 26.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007038/0.4977, allocations: 347 kB / 0.5395 GB, free: 25.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.265e-06/0.4977, allocations: 4 kB / 0.5395 GB, free: 25.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002364/0.5001, allocations: 0.8533 MB / 0.5403 GB, free: 24.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.5002, allocations: 482.5 kB / 0.5408 GB, free: 24.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.5004, allocations: 165.8 kB / 0.5409 GB, free: 24.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.5004, allocations: 29.7 kB / 0.541 GB, free: 24.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.5005, allocations: 164 kB / 0.5411 GB, free: 23.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/0.5005, allocations: 137.2 kB / 0.5413 GB, free: 23.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-05/0.5006, allocations: 86.25 kB / 0.5413 GB, free: 23.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.5007, allocations: 330.8 kB / 0.5417 GB, free: 23.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.5008, allocations: 69.02 kB / 0.5417 GB, free: 23.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.501, allocations: 310.2 kB / 0.542 GB, free: 22.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.5013, allocations: 432.1 kB / 0.5424 GB, free: 22.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5014, allocations: 4 kB / 0.5424 GB, free: 22.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005881/0.5019, allocations: 398.1 kB / 0.5428 GB, free: 21.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.502, allocations: 8 kB / 0.5428 GB, free: 21.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.502, allocations: 12 kB / 0.5428 GB, free: 21.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.502, allocations: 16.73 kB / 0.5429 GB, free: 21.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.5038, allocations: 350.2 kB / 0.5432 GB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003579/0.5042, allocations: 1.177 MB / 0.5443 GB, free: 20.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.5044, allocations: 27.83 kB / 0.5444 GB, free: 20.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.5044, allocations: 32 kB / 0.5444 GB, free: 20.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.5046, allocations: 165.7 kB / 0.5446 GB, free: 20.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.5046, allocations: 23.81 kB / 0.5446 GB, free: 20.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009494/0.5056, allocations: 0.9297 MB / 0.5455 GB, free: 19.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.5056, allocations: 19.95 kB / 0.5455 GB, free: 19.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5056, allocations: 4 kB / 0.5455 GB, free: 19.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5056, allocations: 0 / 0.5455 GB, free: 19.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.5067, allocations: 1.425 MB / 0.5469 GB, free: 17.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.5067, allocations: 2.719 kB / 0.5469 GB, free: 17.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009867/0.5077, allocations: 155.1 kB / 0.547 GB, free: 17.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.5077, allocations: 4 kB / 0.5471 GB, free: 17.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.5077, allocations: 8 kB / 0.5471 GB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001611/0.5079, allocations: 0.5899 MB / 0.5476 GB, free: 16.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5079, allocations: 4 kB / 0.5476 GB, free: 16.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.5084, allocations: 0.5177 MB / 0.5481 GB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.5085, allocations: 100.8 kB / 0.5482 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.088e-05/0.5085, allocations: 51.44 kB / 0.5483 GB, free: 16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.5088, allocations: 15.97 kB / 0.5483 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.5088, allocations: 31.84 kB / 0.5483 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.5088, allocations: 12 kB / 0.5483 GB, free: 15.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.5091, allocations: 271.1 kB / 0.5486 GB, free: 15.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5091, allocations: 4 kB / 0.5486 GB, free: 15.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001293/0.5104, allocations: 461.5 kB / 0.5491 GB, free: 15.23 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001201/0.5116, allocations: 0.6944 MB / 0.5497 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.5129, allocations: 403.3 kB / 0.5501 GB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.513, allocations: 4 kB / 0.5501 GB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007428/0.5137, allocations: 217.5 kB / 0.5503 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007257/0.5145, allocations: 124.4 kB / 0.5504 GB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.28/1.795, allocations: 0.5369 GB / 1.087 GB, free: 188.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/1.795, allocations: 0.8214 MB / 1.088 GB, free: 187.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004419/1.796, allocations: 175.4 kB / 1.088 GB, free: 187.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.485e-05/1.796, allocations: 38.55 kB / 1.088 GB, free: 187.4 MB / 0.5137 GB Notification: Performance of SimCode: time 8.71e-07/1.796, allocations: 0 / 1.088 GB, free: 187.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.02269/1.818, allocations: 15.71 MB / 1.104 GB, free: 179.8 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches