Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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.WaterIF97_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.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001412/0.001412, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.39/1.39, allocations: 222.9 MB / 242.4 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.223/0.223, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 67.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3941, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01968/0.4138, allocations: 13.83 MB / 0.5324 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03697/0.4508, allocations: 26.6 MB / 0.5584 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003648/0.4513, allocations: 4 kB / 0.5584 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005011/0.4518, allocations: 87.39 kB / 0.5585 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.033/0.4849, allocations: 8.539 MB / 0.5668 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.486, allocations: 341.9 kB / 0.5672 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004668/0.4907, allocations: 2.006 MB / 0.5691 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.4908, allocations: 20.41 kB / 0.5691 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009103/0.4918, allocations: 266.8 kB / 0.5694 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007537/0.4993, allocations: 3.266 MB / 0.5726 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.4995, allocations: 8 kB / 0.5726 GB, free: 4.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02902/0.5285, allocations: 10.8 MB / 0.5832 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.5287, allocations: 59.67 kB / 0.5832 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.529, allocations: 139.3 kB / 0.5833 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02111/0.5501, allocations: 6.3 MB / 0.5895 GB, free: 3.613 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5501, allocations: 4 kB / 0.5895 GB, free: 3.609 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5502, allocations: 0 / 0.5895 GB, free: 3.609 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.5502, allocations: 0 / 0.5895 GB, free: 3.609 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.006213/0.5564, allocations: 1.564 MB / 0.591 GB, free: 1.996 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.5564, allocations: 12.03 kB / 0.591 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.5583, allocations: 220.4 kB / 0.5912 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.5588, allocations: 275.9 kB / 0.5915 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.5589, allocations: 25.03 kB / 0.5915 GB, free: 1.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/0.5589, allocations: 36.12 kB / 0.5916 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.5615, allocations: 0.821 MB / 0.5924 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.5615, allocations: 7.938 kB / 0.5924 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.329e-05/0.5616, allocations: 12 kB / 0.5924 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.5616, allocations: 8 kB / 0.5924 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002835/0.5645, allocations: 0.9348 MB / 0.5933 GB, free: 15.57 MB / 462.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.003722/0.5682, allocations: 2.573 MB / 0.5958 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.5697, allocations: 382.1 kB / 0.5962 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.5699, allocations: 88.8 kB / 0.5963 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9388/1.509, allocations: 227.4 MB / 0.8183 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001527/1.51, allocations: 466.2 kB / 0.8188 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 4.078e-06/1.51, allocations: 0 / 0.8188 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003118/1.513, allocations: 0.7943 MB / 0.8196 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.823e-05/1.514, allocations: 367.8 kB / 0.8199 GB, free: 108 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/1.514, allocations: 183 kB / 0.8201 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/1.514, allocations: 33.7 kB / 0.8201 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.349e-05/1.514, allocations: 188.5 kB / 0.8203 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.516e-05/1.514, allocations: 118.1 kB / 0.8204 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/1.514, allocations: 118.1 kB / 0.8205 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.792e-05/1.514, allocations: 329.6 kB / 0.8208 GB, free: 107 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/1.514, allocations: 85.06 kB / 0.8209 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/1.515, allocations: 349.7 kB / 0.8213 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005885/1.515, allocations: 474.2 kB / 0.8217 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/1.515, allocations: 4 kB / 0.8217 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008925/1.516, allocations: 472 kB / 0.8222 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.516, allocations: 12 kB / 0.8222 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/1.516, allocations: 11.78 kB / 0.8222 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/1.516, allocations: 12 kB / 0.8222 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/1.517, allocations: 143.8 kB / 0.8223 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/1.517, allocations: 23.86 kB / 0.8224 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/1.517, allocations: 51.5 kB / 0.8224 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/1.517, allocations: 39.98 kB / 0.8224 GB, free: 105.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001614/1.517, allocations: 169.5 kB / 0.8226 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.754e-05/1.517, allocations: 19.81 kB / 0.8226 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/1.52, allocations: 2.587 MB / 0.8252 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.034e-05/1.52, allocations: 15.98 kB / 0.8252 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/1.52, allocations: 10.88 kB / 0.8252 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/1.52, allocations: 7.984 kB / 0.8252 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008971/1.521, allocations: 0.9262 MB / 0.8261 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/1.521, allocations: 7.984 kB / 0.8261 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/1.521, allocations: 79.81 kB / 0.8262 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/1.521, allocations: 4 kB / 0.8262 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/1.521, allocations: 12.17 kB / 0.8262 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/1.521, allocations: 12 kB / 0.8262 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.521, allocations: 10.22 kB / 0.8262 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009109/1.522, allocations: 0.6928 MB / 0.8269 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/1.522, allocations: 132.4 kB / 0.827 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/1.523, allocations: 102.6 kB / 0.8271 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/1.523, allocations: 15.98 kB / 0.8271 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/1.523, allocations: 31.84 kB / 0.8272 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/1.523, allocations: 19.98 kB / 0.8272 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004944/1.523, allocations: 0.5001 MB / 0.8277 GB, free: 99.61 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/1.523, allocations: 0 / 0.8277 GB, free: 99.61 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004633/1.528, allocations: 1.51 MB / 0.8291 GB, free: 98.23 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.009567/1.538, allocations: 1.712 MB / 0.8308 GB, free: 96.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009344/1.539, allocations: 420.6 kB / 0.8312 GB, free: 96.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.539, allocations: 4 kB / 0.8312 GB, free: 96.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003429/1.539, allocations: 284.8 kB / 0.8315 GB, free: 95.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/1.54, allocations: 132 kB / 0.8316 GB, free: 95.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.7/3.24, allocations: 0.6004 GB / 1.432 GB, free: 201.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/3.24, allocations: 0.9895 MB / 1.433 GB, free: 200.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006179/3.241, allocations: 0.5203 MB / 1.434 GB, free: 200 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/3.241, allocations: 59.41 kB / 1.434 GB, free: 199.9 MB / 0.6075 GB Notification: Performance of SimCode: time 9.02e-07/3.241, allocations: 0 / 1.434 GB, free: 199.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.05293/3.294, allocations: 55.87 MB / 1.488 GB, free: 144.1 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches