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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009466/0.0009466, allocations: 83.58 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.074/1.074, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2611/0.2611, allocations: 32.81 MB / 294.3 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 376.1 MB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.178e-05, allocations: 2.312 kB / 376.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0148/0.01482, allocations: 13.97 MB / 390 MB, free: 6.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0258/0.04062, allocations: 26.19 MB / 416.2 MB, free: 12.31 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.04077, allocations: 0 / 416.2 MB, free: 12.31 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.04115, allocations: 87.38 kB / 416.3 MB, free: 12.22 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02022/0.06137, allocations: 8.674 MB / 425 MB, free: 3.508 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008925/0.06226, allocations: 366.7 kB / 425.3 MB, free: 3.148 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003646/0.0659, allocations: 2.052 MB / 427.4 MB, free: 1.07 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.06596, allocations: 20.58 kB / 427.4 MB, free: 1.055 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.06638, allocations: 318.9 kB / 427.7 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003983/0.07037, allocations: 3.274 MB / 431 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.0704, allocations: 12 kB / 431 MB, free: 13.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01806/0.08846, allocations: 10.37 MB / 441.4 MB, free: 3.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.08858, allocations: 51.75 kB / 441.4 MB, free: 2.969 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.0888, allocations: 103.8 kB / 441.5 MB, free: 2.867 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1886/0.2774, allocations: 7.984 MB / 449.5 MB, free: 63.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2774, allocations: 0 / 449.5 MB, free: 63.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2774, allocations: 0 / 449.5 MB, free: 63.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.2774, allocations: 0 / 449.5 MB, free: 63.82 MB / 410.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.003327/0.2808, allocations: 1.621 MB / 451.1 MB, free: 62.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2808, allocations: 8.5 kB / 451.1 MB, free: 62.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009792/0.2818, allocations: 344.3 kB / 451.5 MB, free: 62.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.282, allocations: 221.9 kB / 451.7 MB, free: 62.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.282, allocations: 20.12 kB / 451.7 MB, free: 62.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.2821, allocations: 36.61 kB / 451.8 MB, free: 62.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.2833, allocations: 0.9559 MB / 452.7 MB, free: 62.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2833, allocations: 0 / 452.7 MB, free: 62.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.2834, allocations: 21.98 kB / 452.7 MB, free: 62.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.2834, allocations: 6.375 kB / 452.7 MB, free: 62.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.2846, allocations: 0.8449 MB / 453.6 MB, free: 62.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.2861, allocations: 2.478 MB / 456.1 MB, free: 60.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.2869, allocations: 413.6 kB / 456.5 MB, free: 60.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.366e-05/0.2869, allocations: 72.75 kB / 456.5 MB, free: 60.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2952/0.5821, allocations: 161.8 MB / 0.6039 GB, free: 3.301 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009378/0.5831, allocations: 0.5271 MB / 0.6044 GB, free: 2.715 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.5831, allocations: 0 / 0.6044 GB, free: 2.715 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.001689/0.5848, allocations: 0.8549 MB / 0.6052 GB, free: 1.883 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.5849, allocations: 387 kB / 0.6056 GB, free: 1.422 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.5851, allocations: 256 kB / 0.6058 GB, free: 1.156 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.5851, allocations: 32.7 kB / 0.6058 GB, free: 1.121 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.5852, allocations: 245.7 kB / 0.6061 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.5853, allocations: 115 kB / 0.6062 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.5854, allocations: 131.8 kB / 0.6063 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.5855, allocations: 0.5001 MB / 0.6068 GB, free: 124 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.5857, allocations: 92.89 kB / 0.6069 GB, free: 32 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1969/0.7826, allocations: 478.5 kB / 0.6074 GB, free: 131.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.7831, allocations: 0.6086 MB / 0.6079 GB, free: 131.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.7831, allocations: 3.75 kB / 0.608 GB, free: 131.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007221/0.7838, allocations: 0.5168 MB / 0.6085 GB, free: 131.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.7838, allocations: 11.03 kB / 0.6085 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.7838, allocations: 8.562 kB / 0.6085 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/0.7839, allocations: 12.78 kB / 0.6085 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.7842, allocations: 146.9 kB / 0.6086 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.7842, allocations: 15.62 kB / 0.6086 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.7844, allocations: 53.66 kB / 0.6087 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.7845, allocations: 47.91 kB / 0.6087 GB, free: 131.4 MB / 474.7 MB 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.0001926/0.7847, allocations: 197.3 kB / 0.6089 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.232e-05/0.7847, allocations: 45.91 kB / 0.609 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.7859, allocations: 1.509 MB / 0.6104 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.7859, allocations: 19.34 kB / 0.6105 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7859, allocations: 3.688 kB / 0.6105 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.7859, allocations: 6.75 kB / 0.6105 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005616/0.7864, allocations: 0.749 MB / 0.6112 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.7864, allocations: 3.219 kB / 0.6112 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.7866, allocations: 72.12 kB / 0.6113 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.7866, allocations: 3.062 kB / 0.6113 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.7866, allocations: 17.33 kB / 0.6113 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.7866, allocations: 9.625 kB / 0.6113 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7866, allocations: 5.5 kB / 0.6113 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/0.7872, allocations: 0.6243 MB / 0.6119 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.7873, allocations: 51.59 kB / 0.612 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.7874, allocations: 108.6 kB / 0.6121 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.7877, allocations: 19.59 kB / 0.6121 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.7877, allocations: 36.25 kB / 0.6121 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.7877, allocations: 15.44 kB / 0.6121 GB, free: 130.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005475/0.7883, allocations: 0.5158 MB / 0.6126 GB, free: 130.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7883, allocations: 3.156 kB / 0.6126 GB, free: 130.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004898/0.7932, allocations: 1.532 MB / 0.6141 GB, free: 130.2 MB / 474.7 MB 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.006357/0.7995, allocations: 1.958 MB / 0.6161 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006319/0.8002, allocations: 350.1 kB / 0.6164 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.8002, allocations: 0 / 0.6164 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.8004, allocations: 183.8 kB / 0.6166 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008246/0.8012, allocations: 230.2 kB / 0.6168 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.031/1.832, allocations: 0.6089 GB / 1.226 GB, free: 94.22 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/1.832, allocations: 174 kB / 1.226 GB, free: 94.04 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006391/1.833, allocations: 0.5292 MB / 1.226 GB, free: 93.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/1.833, allocations: 60.47 kB / 1.226 GB, free: 93.49 MB / 474.7 MB Notification: Performance of SimCode: time 2.184e-06/1.833, allocations: 4 kB / 1.226 GB, free: 93.49 MB / 474.7 MB Notification: Performance of Templates: time 0.04465/1.878, allocations: 57.3 MB / 1.282 GB, free: 36.49 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.283899076748639]