Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.001585/0.001586, allocations: 98.19 kB / 15.98 MB, free: 6.352 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.001517/0.001517, allocations: 198.2 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3892/0.3892, allocations: 43.49 MB / 313.6 MB, free: 8.453 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 68.36 kB / 382.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.158, allocations: 57.78 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01798/0.1761, allocations: 13.94 MB / 454 MB, free: 0.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3154/0.4915, allocations: 26.66 MB / 480.6 MB, free: 27.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/0.4918, allocations: 0 / 480.6 MB, free: 27.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004166/0.4923, allocations: 88.59 kB / 480.7 MB, free: 27.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02755/0.5199, allocations: 7.517 MB / 488.2 MB, free: 24.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.521, allocations: 326.1 kB / 488.5 MB, free: 24.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003936/0.525, allocations: 2.003 MB / 490.5 MB, free: 23.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.615e-05/0.5251, allocations: 19.97 kB / 490.6 MB, free: 23.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000638/0.5257, allocations: 263.8 kB / 490.8 MB, free: 22.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005453/0.5312, allocations: 3.275 MB / 494.1 MB, free: 21.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.337e-05/0.5313, allocations: 9.031 kB / 494.1 MB, free: 21.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03334/0.5646, allocations: 10.67 MB / 0.4929 GB, free: 18.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.5648, allocations: 56.08 kB / 0.493 GB, free: 18.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.5652, allocations: 142.9 kB / 0.4931 GB, free: 18.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02559/0.5908, allocations: 6.341 MB / 0.4993 GB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5909, allocations: 0 / 0.4993 GB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.5909, allocations: 0 / 0.4993 GB, free: 15.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.5909, allocations: 1 kB / 0.4993 GB, free: 15.36 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.007617/0.5985, allocations: 1.554 MB / 0.5008 GB, free: 14.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.5986, allocations: 13.48 kB / 0.5009 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.6004, allocations: 218.4 kB / 0.5011 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.6008, allocations: 277.1 kB / 0.5013 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.553e-05/0.6008, allocations: 25.69 kB / 0.5013 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.115e-05/0.6009, allocations: 28.47 kB / 0.5014 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.6034, allocations: 0.8218 MB / 0.5022 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.6034, allocations: 5.469 kB / 0.5022 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.6034, allocations: 15.91 kB / 0.5022 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.6035, allocations: 7.875 kB / 0.5022 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.6061, allocations: 0.9335 MB / 0.5031 GB, free: 12.91 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.003483/0.6096, allocations: 2.585 MB / 0.5056 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.611, allocations: 377 kB / 0.506 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.6112, allocations: 86.14 kB / 0.5061 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8249/1.436, allocations: 224.9 MB / 0.7257 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00163/1.438, allocations: 475 kB / 0.7262 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 3.216e-06/1.438, allocations: 0 / 0.7262 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.002914/1.441, allocations: 0.7753 MB / 0.7269 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/1.441, allocations: 370.5 kB / 0.7273 GB, free: 102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/1.441, allocations: 192.5 kB / 0.7275 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/1.441, allocations: 33.7 kB / 0.7275 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/1.441, allocations: 185.2 kB / 0.7277 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/1.441, allocations: 119 kB / 0.7278 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/1.441, allocations: 122.1 kB / 0.7279 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.454e-05/1.441, allocations: 341.5 kB / 0.7282 GB, free: 101 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/1.442, allocations: 78.09 kB / 0.7283 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/1.442, allocations: 344.8 kB / 0.7286 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/1.442, allocations: 480.5 kB / 0.7291 GB, free: 99.92 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/1.442, allocations: 4 kB / 0.7291 GB, free: 99.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007778/1.443, allocations: 467.5 kB / 0.7296 GB, free: 99.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.443, allocations: 12.12 kB / 0.7296 GB, free: 99.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.443, allocations: 16 kB / 0.7296 GB, free: 99.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/1.443, allocations: 12 kB / 0.7296 GB, free: 99.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/1.444, allocations: 141 kB / 0.7297 GB, free: 99.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/1.444, allocations: 15.84 kB / 0.7297 GB, free: 99.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/1.444, allocations: 59.38 kB / 0.7298 GB, free: 99.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/1.444, allocations: 43.97 kB / 0.7298 GB, free: 99.23 MB / 0.4981 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.0001391/1.444, allocations: 165.1 kB / 0.73 GB, free: 99.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.137e-05/1.444, allocations: 23.8 kB / 0.73 GB, free: 99.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/1.447, allocations: 2.608 MB / 0.7326 GB, free: 96.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/1.447, allocations: 19.97 kB / 0.7326 GB, free: 96.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/1.447, allocations: 4 kB / 0.7326 GB, free: 96.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/1.447, allocations: 7.938 kB / 0.7326 GB, free: 96.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008158/1.447, allocations: 0.9311 MB / 0.7335 GB, free: 95.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.447, allocations: 4 kB / 0.7335 GB, free: 95.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/1.448, allocations: 76 kB / 0.7336 GB, free: 95.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/1.448, allocations: 6.156 kB / 0.7336 GB, free: 95.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/1.448, allocations: 16.2 kB / 0.7336 GB, free: 95.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/1.448, allocations: 4 kB / 0.7336 GB, free: 95.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.448, allocations: 10.78 kB / 0.7336 GB, free: 95.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008154/1.449, allocations: 0.6992 MB / 0.7343 GB, free: 94.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/1.449, allocations: 128.5 kB / 0.7344 GB, free: 94.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/1.449, allocations: 98.59 kB / 0.7345 GB, free: 94.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003068/1.449, allocations: 27.89 kB / 0.7345 GB, free: 94.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/1.449, allocations: 34.52 kB / 0.7346 GB, free: 94.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/1.449, allocations: 12 kB / 0.7346 GB, free: 94.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005084/1.45, allocations: 0.5079 MB / 0.7351 GB, free: 93.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.45, allocations: 0 / 0.7351 GB, free: 93.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006827/1.457, allocations: 1.5 MB / 0.7365 GB, free: 92.39 MB / 0.4981 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.008652/1.465, allocations: 1.724 MB / 0.7382 GB, free: 90.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009654/1.466, allocations: 435.7 kB / 0.7386 GB, free: 90.44 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.466, allocations: 8.062 kB / 0.7387 GB, free: 90.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002751/1.467, allocations: 269.3 kB / 0.7389 GB, free: 90.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008595/1.467, allocations: 138.9 kB / 0.739 GB, free: 90.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.557/3.024, allocations: 0.6002 GB / 1.339 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/3.025, allocations: 0.9855 MB / 1.34 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000908/3.026, allocations: 0.5218 MB / 1.341 GB, free: 37.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/3.026, allocations: 59.41 kB / 1.341 GB, free: 37.07 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/3.026, allocations: 0 / 1.341 GB, free: 37.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.3126/3.339, allocations: 55.81 MB / 1.395 GB, free: 157.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches