Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 178.6 kB / 16.41 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007975/0.0007975, allocations: 85.48 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4085/0.4085, allocations: 43.56 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004725, allocations: 12 kB / 431.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1383, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.2809/0.4192, allocations: 12.8 MB / 0.4913 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03031/0.4496, allocations: 24.6 MB / 0.5153 GB, free: 24.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005547/0.4502, allocations: 1.031 kB / 0.5153 GB, free: 24.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004777/0.4507, allocations: 76.67 kB / 0.5154 GB, free: 24.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02927/0.48, allocations: 6.564 MB / 0.5218 GB, free: 21.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.4811, allocations: 308.2 kB / 0.5221 GB, free: 20.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00571/0.4869, allocations: 3.202 MB / 0.5252 GB, free: 20.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.487, allocations: 18.19 kB / 0.5252 GB, free: 20.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008434/0.4879, allocations: 249.8 kB / 0.5254 GB, free: 20.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008557/0.4964, allocations: 5.673 MB / 0.531 GB, free: 19.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.002e-05/0.4966, allocations: 7.781 kB / 0.531 GB, free: 19.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02998/0.5266, allocations: 10.35 MB / 0.5411 GB, free: 17.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.5268, allocations: 54.59 kB / 0.5411 GB, free: 17.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.5271, allocations: 75.58 kB / 0.5412 GB, free: 17.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.5411, allocations: 4.213 MB / 0.5453 GB, free: 15.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.5412, allocations: 0 / 0.5453 GB, free: 15.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5412, allocations: 0 / 0.5453 GB, free: 15.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.5412, allocations: 0 / 0.5453 GB, free: 15.81 MB / 378.7 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.008423/0.5496, allocations: 1.491 MB / 0.5468 GB, free: 14.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.5497, allocations: 9.219 kB / 0.5468 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.5515, allocations: 236.7 kB / 0.547 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.5521, allocations: 270.1 kB / 0.5473 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.242e-05/0.5521, allocations: 25.38 kB / 0.5473 GB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.5522, allocations: 29.62 kB / 0.5473 GB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.5546, allocations: 0.8227 MB / 0.5481 GB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5546, allocations: 4 kB / 0.5481 GB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/0.5547, allocations: 15 kB / 0.5482 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.5547, allocations: 13.62 kB / 0.5482 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.557, allocations: 0.9476 MB / 0.5491 GB, free: 13.38 MB / 378.7 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.003316/0.5604, allocations: 2.581 MB / 0.5516 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.5617, allocations: 374.7 kB / 0.552 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.5619, allocations: 79.81 kB / 0.552 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8727/1.435, allocations: 227.1 MB / 0.7738 GB, free: 94.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/1.436, allocations: 475.9 kB / 0.7743 GB, free: 93.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 2.594e-06/1.436, allocations: 0 / 0.7743 GB, free: 93.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.002913/1.439, allocations: 0.7735 MB / 0.775 GB, free: 92.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/1.439, allocations: 377.8 kB / 0.7754 GB, free: 92.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/1.439, allocations: 188.9 kB / 0.7756 GB, free: 92.33 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/1.44, allocations: 29.7 kB / 0.7756 GB, free: 92.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/1.44, allocations: 186 kB / 0.7758 GB, free: 92.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.452e-05/1.44, allocations: 118.4 kB / 0.7759 GB, free: 92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/1.44, allocations: 12 kB / 0.7759 GB, free: 91.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.44, allocations: 326.8 kB / 0.7762 GB, free: 91.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/1.44, allocations: 81.05 kB / 0.7763 GB, free: 91.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/1.44, allocations: 340.7 kB / 0.7766 GB, free: 91.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/1.441, allocations: 131.8 kB / 0.7767 GB, free: 91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.912e-06/1.441, allocations: 8 kB / 0.7767 GB, free: 90.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000817/1.442, allocations: 463.6 kB / 0.7772 GB, free: 90.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/1.442, allocations: 8.938 kB / 0.7772 GB, free: 90.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/1.442, allocations: 12 kB / 0.7772 GB, free: 90.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.44e-05/1.442, allocations: 16 kB / 0.7772 GB, free: 90.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/1.442, allocations: 143.7 kB / 0.7774 GB, free: 90.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/1.442, allocations: 19.92 kB / 0.7774 GB, free: 90.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/1.443, allocations: 53.22 kB / 0.7774 GB, free: 90.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.346e-05/1.443, allocations: 43.97 kB / 0.7775 GB, free: 90.24 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000192/1.443, allocations: 162.5 kB / 0.7776 GB, free: 90.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.891e-05/1.443, allocations: 23.72 kB / 0.7776 GB, free: 90.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/1.445, allocations: 2.665 MB / 0.7802 GB, free: 87.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/1.445, allocations: 15.98 kB / 0.7803 GB, free: 87.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.445, allocations: 4 kB / 0.7803 GB, free: 87.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/1.445, allocations: 7.984 kB / 0.7803 GB, free: 87.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/1.447, allocations: 0.9293 MB / 0.7812 GB, free: 86.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/1.447, allocations: 7.938 kB / 0.7812 GB, free: 86.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/1.447, allocations: 71.88 kB / 0.7813 GB, free: 86.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/1.447, allocations: 7.938 kB / 0.7813 GB, free: 86.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/1.447, allocations: 15.98 kB / 0.7813 GB, free: 86.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/1.447, allocations: 7.938 kB / 0.7813 GB, free: 86.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.447, allocations: 11.12 kB / 0.7813 GB, free: 86.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008847/1.448, allocations: 0.6892 MB / 0.782 GB, free: 85.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/1.448, allocations: 378.7 kB / 0.7823 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/1.448, allocations: 11.98 kB / 0.7823 GB, free: 85.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/1.449, allocations: 27.91 kB / 0.7824 GB, free: 85.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/1.449, allocations: 31.89 kB / 0.7824 GB, free: 85.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/1.449, allocations: 12 kB / 0.7824 GB, free: 85.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005016/1.449, allocations: 0.4962 MB / 0.7829 GB, free: 84.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/1.449, allocations: 4 kB / 0.7829 GB, free: 84.53 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009284/1.459, allocations: 1.519 MB / 0.7844 GB, free: 83.13 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0178/1.477, allocations: 1.72 MB / 0.7861 GB, free: 81.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001495/1.478, allocations: 404.8 kB / 0.7864 GB, free: 81.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.478, allocations: 4 kB / 0.7865 GB, free: 81.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005848/1.479, allocations: 272.8 kB / 0.7867 GB, free: 80.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/1.481, allocations: 138.3 kB / 0.7868 GB, free: 80.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.722/3.202, allocations: 0.5997 GB / 1.386 GB, free: 31.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/3.203, allocations: 0.9819 MB / 1.387 GB, free: 30.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/3.203, allocations: 55.41 kB / 1.388 GB, free: 30.44 MB / 0.4948 GB Notification: Performance of SimCode: time 9.81e-07/3.203, allocations: 0 / 1.388 GB, free: 30.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.2579/3.461, allocations: 32.7 MB / 1.419 GB, free: 149.6 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches