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.0008695/0.0008693, allocations: 176.1 kB / 16.72 MB, free: 5.082 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.261/1.261, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007578/0.0007578, allocations: 91.41 kB / 271.2 MB, free: 8.246 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.2996/0.2996, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003596, allocations: 12 kB / 432 MB, free: 5.805 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1024, allocations: 58.84 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.1904/0.2928, allocations: 12.82 MB / 0.4918 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02317/0.316, allocations: 24.61 MB / 0.5159 GB, free: 24.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003108/0.3163, allocations: 2.656 kB / 0.5159 GB, free: 24.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.3167, allocations: 76 kB / 0.5159 GB, free: 24.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01999/0.3367, allocations: 6.588 MB / 0.5224 GB, free: 21.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008898/0.3376, allocations: 307 kB / 0.5227 GB, free: 20.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004677/0.3423, allocations: 3.203 MB / 0.5258 GB, free: 20.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.168e-05/0.3424, allocations: 21.5 kB / 0.5258 GB, free: 20.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/0.3428, allocations: 251.7 kB / 0.5261 GB, free: 20.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007247/0.3501, allocations: 5.673 MB / 0.5316 GB, free: 19.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.014e-05/0.3502, allocations: 7.812 kB / 0.5316 GB, free: 19.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01993/0.3701, allocations: 10.41 MB / 0.5418 GB, free: 17.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.3703, allocations: 51.64 kB / 0.5418 GB, free: 17.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.3706, allocations: 158.5 kB / 0.542 GB, free: 17.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009968/0.3805, allocations: 4.232 MB / 0.5461 GB, free: 15.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3806, allocations: 1.375 kB / 0.5461 GB, free: 15.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3806, allocations: 0 / 0.5461 GB, free: 15.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3806, allocations: 0 / 0.5461 GB, free: 15.6 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.006001/0.3866, allocations: 1.492 MB / 0.5476 GB, free: 14.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3867, allocations: 8.781 kB / 0.5476 GB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.3883, allocations: 233.3 kB / 0.5478 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.3886, allocations: 267.7 kB / 0.5481 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.3886, allocations: 20.59 kB / 0.5481 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.3887, allocations: 32.69 kB / 0.5481 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.3909, allocations: 0.8305 MB / 0.5489 GB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.3909, allocations: 3.938 kB / 0.5489 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.486e-05/0.391, allocations: 17.09 kB / 0.5489 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.391, allocations: 8.125 kB / 0.5489 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.3933, allocations: 0.9429 MB / 0.5499 GB, free: 13.18 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.002901/0.3962, allocations: 2.59 MB / 0.5524 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.3975, allocations: 378.9 kB / 0.5528 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.3976, allocations: 82.52 kB / 0.5528 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.722/1.12, allocations: 227.1 MB / 0.7746 GB, free: 93.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001328/1.121, allocations: 477.8 kB / 0.775 GB, free: 93.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 3.407e-06/1.121, allocations: 4 kB / 0.775 GB, free: 93.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.0027/1.124, allocations: 0.7717 MB / 0.7758 GB, free: 92.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/1.124, allocations: 379.9 kB / 0.7762 GB, free: 92.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/1.124, allocations: 184.9 kB / 0.7763 GB, free: 91.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/1.124, allocations: 29.7 kB / 0.7764 GB, free: 91.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/1.124, allocations: 185.6 kB / 0.7765 GB, free: 91.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.032e-05/1.124, allocations: 119.1 kB / 0.7767 GB, free: 91.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/1.124, allocations: 12 kB / 0.7767 GB, free: 91.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.716e-05/1.124, allocations: 333.4 kB / 0.777 GB, free: 91.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/1.124, allocations: 81.06 kB / 0.7771 GB, free: 91.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/1.125, allocations: 344.5 kB / 0.7774 GB, free: 90.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/1.125, allocations: 474.8 kB / 0.7778 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.125, allocations: 4 kB / 0.7779 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007604/1.126, allocations: 472.2 kB / 0.7783 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.126, allocations: 8 kB / 0.7783 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.126, allocations: 8 kB / 0.7783 GB, free: 89.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.126, allocations: 12 kB / 0.7783 GB, free: 89.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/1.126, allocations: 139.8 kB / 0.7785 GB, free: 89.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/1.127, allocations: 23.86 kB / 0.7785 GB, free: 89.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/1.127, allocations: 47.53 kB / 0.7785 GB, free: 89.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/1.127, allocations: 48.19 kB / 0.7786 GB, free: 89.27 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.0001393/1.127, allocations: 163.1 kB / 0.7787 GB, free: 89.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/1.127, allocations: 29.22 kB / 0.7788 GB, free: 89.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/1.129, allocations: 2.666 MB / 0.7814 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/1.129, allocations: 19.97 kB / 0.7814 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/1.129, allocations: 7.938 kB / 0.7814 GB, free: 86.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/1.129, allocations: 4 kB / 0.7814 GB, free: 86.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007815/1.13, allocations: 0.9282 MB / 0.7823 GB, free: 85.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.13, allocations: 4.375 kB / 0.7823 GB, free: 85.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/1.13, allocations: 75.88 kB / 0.7824 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.13, allocations: 4 kB / 0.7824 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/1.131, allocations: 15.98 kB / 0.7824 GB, free: 85.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/1.131, allocations: 4 kB / 0.7824 GB, free: 85.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.131, allocations: 13 kB / 0.7824 GB, free: 85.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/1.131, allocations: 0.6931 MB / 0.7831 GB, free: 84.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/1.131, allocations: 378.8 kB / 0.7834 GB, free: 84.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.044e-05/1.132, allocations: 12 kB / 0.7835 GB, free: 84.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/1.132, allocations: 19.89 kB / 0.7835 GB, free: 84.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/1.132, allocations: 35.91 kB / 0.7835 GB, free: 84.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/1.132, allocations: 19.98 kB / 0.7835 GB, free: 84.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004548/1.132, allocations: 0.4884 MB / 0.784 GB, free: 83.56 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/1.132, allocations: 3.938 kB / 0.784 GB, free: 83.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005175/1.138, allocations: 1.514 MB / 0.7855 GB, free: 82.16 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.009161/1.147, allocations: 1.715 MB / 0.7872 GB, free: 80.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000735/1.148, allocations: 413.8 kB / 0.7876 GB, free: 80.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.148, allocations: 0 / 0.7876 GB, free: 80.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003526/1.148, allocations: 274.1 kB / 0.7878 GB, free: 79.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/1.149, allocations: 133.4 kB / 0.788 GB, free: 79.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.211/2.36, allocations: 0.5997 GB / 1.388 GB, free: 30.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/2.36, allocations: 0.9819 MB / 1.389 GB, free: 29.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/2.36, allocations: 63.41 kB / 1.389 GB, free: 29.72 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/2.36, allocations: 0 / 1.389 GB, free: 29.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.2167/2.577, allocations: 32.73 MB / 1.421 GB, free: 149.8 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