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.001642/0.001643, allocations: 110.7 kB / 18.46 MB, free: 4.617 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.001712/0.001712, allocations: 187.1 kB / 19.39 MB, free: 3.695 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.364/1.364, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.207/0.207, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.91 kB / 471.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3768, allocations: 60.81 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02354/0.4004, allocations: 13.83 MB / 0.5331 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04127/0.4417, allocations: 26.59 MB / 0.5591 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.442, allocations: 0 / 0.5591 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004546/0.4425, allocations: 95.39 kB / 0.5592 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02703/0.4696, allocations: 8.527 MB / 0.5675 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009349/0.4705, allocations: 346.4 kB / 0.5678 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004869/0.4754, allocations: 2.006 MB / 0.5698 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.775e-05/0.4755, allocations: 16.41 kB / 0.5698 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006145/0.4761, allocations: 278.8 kB / 0.5701 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007717/0.4839, allocations: 3.258 MB / 0.5733 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.116e-05/0.484, allocations: 12 kB / 0.5733 GB, free: 4.895 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02727/0.5112, allocations: 10.82 MB / 0.5838 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.5115, allocations: 55.7 kB / 0.5839 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003602/0.5118, allocations: 135.4 kB / 0.584 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02166/0.5335, allocations: 6.312 MB / 0.5902 GB, free: 3.555 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.5336, allocations: 4 kB / 0.5902 GB, free: 3.551 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5336, allocations: 0 / 0.5902 GB, free: 3.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.5336, allocations: 0 / 0.5902 GB, free: 3.551 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.007074/0.5407, allocations: 1.563 MB / 0.5917 GB, free: 1.941 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.957e-05/0.5408, allocations: 8.031 kB / 0.5917 GB, free: 1.934 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/0.5428, allocations: 220.4 kB / 0.5919 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005134/0.5433, allocations: 287.9 kB / 0.5922 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.5434, allocations: 21.03 kB / 0.5922 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.5435, allocations: 36.12 kB / 0.5923 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.5461, allocations: 0.8211 MB / 0.5931 GB, free: 492 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.5461, allocations: 3.938 kB / 0.5931 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.5462, allocations: 12 kB / 0.5931 GB, free: 476 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.5462, allocations: 12 kB / 0.5931 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002646/0.5488, allocations: 0.9348 MB / 0.594 GB, free: 15.51 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.00357/0.5524, allocations: 2.573 MB / 0.5965 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.5539, allocations: 374.2 kB / 0.5969 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.5541, allocations: 80.8 kB / 0.5969 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8855/1.44, allocations: 227.4 MB / 0.819 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001471/1.441, allocations: 477.2 kB / 0.8195 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 3.075e-06/1.441, allocations: 4 kB / 0.8195 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003022/1.444, allocations: 0.7757 MB / 0.8202 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/1.444, allocations: 372 kB / 0.8206 GB, free: 108 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/1.444, allocations: 188.7 kB / 0.8208 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/1.444, allocations: 29.7 kB / 0.8208 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/1.445, allocations: 181.5 kB / 0.821 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/1.445, allocations: 116.1 kB / 0.8211 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/1.445, allocations: 126.1 kB / 0.8212 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.185e-05/1.445, allocations: 337.6 kB / 0.8215 GB, free: 107 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/1.445, allocations: 77.06 kB / 0.8216 GB, free: 107 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/1.445, allocations: 345.7 kB / 0.8219 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/1.446, allocations: 478.2 kB / 0.8224 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.446, allocations: 3.844 kB / 0.8224 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008309/1.447, allocations: 471.2 kB / 0.8228 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.447, allocations: 15.88 kB / 0.8229 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.447, allocations: 8 kB / 0.8229 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/1.447, allocations: 12 kB / 0.8229 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/1.447, allocations: 139.8 kB / 0.823 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/1.447, allocations: 19.94 kB / 0.823 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/1.448, allocations: 55.75 kB / 0.8231 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/1.448, allocations: 51.97 kB / 0.8231 GB, free: 105.2 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.0001405/1.448, allocations: 153.7 kB / 0.8233 GB, free: 105 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.4e-05/1.448, allocations: 27.8 kB / 0.8233 GB, free: 105 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/1.45, allocations: 2.578 MB / 0.8258 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/1.45, allocations: 7.984 kB / 0.8258 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.45, allocations: 4.375 kB / 0.8258 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-05/1.45, allocations: 132.4 kB / 0.826 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/1.45, allocations: 106.5 kB / 0.8261 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/1.451, allocations: 40 kB / 0.8261 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/1.451, allocations: 35.84 kB / 0.8261 GB, free: 102 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009105/1.452, allocations: 1.549 MB / 0.8276 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009481/1.453, allocations: 1.655 MB / 0.8293 GB, free: 98.81 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002468/1.453, allocations: 260.5 kB / 0.8295 GB, free: 98.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004969/1.453, allocations: 0.504 MB / 0.83 GB, free: 98.04 MB / 0.5762 GB Notification: Performance of Backend: time 6.21e-07/1.453, allocations: 3.938 kB / 0.83 GB, free: 98.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01057/1.464, allocations: 2.464 MB / 0.8324 GB, free: 95.93 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001636/1.466, allocations: 1.675 MB / 0.8341 GB, free: 94.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.06468/1.53, allocations: 64.82 MB / 0.8974 GB, free: 29.36 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/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