Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001418/0.001418, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001832/0.001832, allocations: 165 kB / 24.56 MB, free: 4 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.022/1.022, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.278/0.278, allocations: 34.26 MB / 295.7 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.625e-05, allocations: 9.547 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02914/0.02915, allocations: 13.96 MB / 392 MB, free: 4.602 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02286/0.05201, allocations: 26.19 MB / 418.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.05219, allocations: 0 / 418.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.05254, allocations: 95.3 kB / 418.3 MB, free: 10.23 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01869/0.07122, allocations: 8.674 MB / 427 MB, free: 1.512 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008105/0.07203, allocations: 358.8 kB / 427.4 MB, free: 1.16 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0032/0.07523, allocations: 2.06 MB / 429.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.738e-05/0.07529, allocations: 12.59 kB / 429.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005264/0.07582, allocations: 330.9 kB / 429.8 MB, free: 14.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004485/0.0803, allocations: 3.27 MB / 433 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.362e-05/0.08037, allocations: 12 kB / 433 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01763/0.09799, allocations: 10.37 MB / 443.4 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.0981, allocations: 47.77 kB / 443.4 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.0983, allocations: 107.8 kB / 443.6 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1781/0.2764, allocations: 7.98 MB / 451.5 MB, free: 61.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2764, allocations: 0 / 451.5 MB, free: 61.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2764, allocations: 0 / 451.5 MB, free: 61.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2764, allocations: 0 / 451.5 MB, free: 61.37 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.004885/0.2813, allocations: 1.628 MB / 453.2 MB, free: 60.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.2813, allocations: 8.625 kB / 453.2 MB, free: 60.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.2825, allocations: 338.6 kB / 453.5 MB, free: 60.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.2828, allocations: 224.4 kB / 453.7 MB, free: 60.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.2829, allocations: 22.81 kB / 453.7 MB, free: 60.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.2829, allocations: 33.16 kB / 453.8 MB, free: 60.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.2844, allocations: 0.9555 MB / 454.7 MB, free: 60.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.2844, allocations: 3 kB / 454.7 MB, free: 60.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.2845, allocations: 24.88 kB / 454.8 MB, free: 60.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.2845, allocations: 7.969 kB / 454.8 MB, free: 60.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.2858, allocations: 0.8343 MB / 455.6 MB, free: 60.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.2877, allocations: 2.484 MB / 458.1 MB, free: 58.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007721/0.2885, allocations: 415.3 kB / 458.5 MB, free: 58.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.007e-05/0.2886, allocations: 68.66 kB / 458.6 MB, free: 58.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4795/0.768, allocations: 161.8 MB / 0.6058 GB, free: 132.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009301/0.769, allocations: 0.5167 MB / 0.6063 GB, free: 131.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 3.226e-06/0.769, allocations: 1.422 kB / 0.6063 GB, free: 131.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.001857/0.7708, allocations: 0.8569 MB / 0.6072 GB, free: 131.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.7709, allocations: 379.4 kB / 0.6075 GB, free: 131.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.771, allocations: 261.4 kB / 0.6078 GB, free: 131.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.7711, allocations: 34.39 kB / 0.6078 GB, free: 131.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.357e-05/0.7711, allocations: 237 kB / 0.608 GB, free: 131.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.7712, allocations: 118.5 kB / 0.6081 GB, free: 131 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.7713, allocations: 133 kB / 0.6083 GB, free: 131 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.489e-05/0.7714, allocations: 0.5046 MB / 0.6088 GB, free: 130.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.7715, allocations: 95.42 kB / 0.6089 GB, free: 130.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.7718, allocations: 479.1 kB / 0.6093 GB, free: 130 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.7722, allocations: 0.6095 MB / 0.6099 GB, free: 129.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7722, allocations: 7.156 kB / 0.6099 GB, free: 129.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000617/0.7728, allocations: 0.5141 MB / 0.6104 GB, free: 129.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.7728, allocations: 10.66 kB / 0.6104 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.7728, allocations: 8.562 kB / 0.6104 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.7729, allocations: 13.94 kB / 0.6104 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.7731, allocations: 143.9 kB / 0.6106 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.7731, allocations: 19.27 kB / 0.6106 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.7733, allocations: 46.5 kB / 0.6106 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.7734, allocations: 50.33 kB / 0.6107 GB, free: 129.5 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.0001073/0.7735, allocations: 199.8 kB / 0.6109 GB, free: 129.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-05/0.7735, allocations: 38.45 kB / 0.6109 GB, free: 129.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.7746, allocations: 1.513 MB / 0.6124 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.7747, allocations: 24.55 kB / 0.6124 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.7747, allocations: 2.812 kB / 0.6124 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.7747, allocations: 6.094 kB / 0.6124 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/0.7752, allocations: 0.7431 MB / 0.6132 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.7753, allocations: 4.219 kB / 0.6132 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.7754, allocations: 72.75 kB / 0.6132 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.7754, allocations: 4.969 kB / 0.6132 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.7754, allocations: 14.23 kB / 0.6133 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.7754, allocations: 9.844 kB / 0.6133 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7754, allocations: 7.906 kB / 0.6133 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.776, allocations: 0.628 MB / 0.6139 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.776, allocations: 57.72 kB / 0.6139 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.7761, allocations: 103 kB / 0.614 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.7763, allocations: 17.42 kB / 0.6141 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.7763, allocations: 36.8 kB / 0.6141 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.7763, allocations: 15.81 kB / 0.6141 GB, free: 128.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003729/0.7767, allocations: 0.5207 MB / 0.6146 GB, free: 128.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.7767, allocations: 0 / 0.6146 GB, free: 128.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004095/0.7808, allocations: 1.532 MB / 0.6161 GB, free: 128.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.005189/0.786, allocations: 1.964 MB / 0.618 GB, free: 127.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005661/0.7865, allocations: 356.2 kB / 0.6184 GB, free: 127.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7865, allocations: 0 / 0.6184 GB, free: 127.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.7867, allocations: 181.6 kB / 0.6185 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.7873, allocations: 229.6 kB / 0.6188 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.041/1.829, allocations: 0.6089 GB / 1.228 GB, free: 87.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/1.829, allocations: 171.8 kB / 1.228 GB, free: 87.56 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005673/1.829, allocations: 0.522 MB / 1.228 GB, free: 87.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/1.829, allocations: 52.47 kB / 1.228 GB, free: 87.03 MB / 474.7 MB Notification: Performance of SimCode: time 2.124e-06/1.829, allocations: 4 kB / 1.228 GB, free: 87.03 MB / 474.7 MB Notification: Performance of Templates: time 0.04549/1.875, allocations: 57.3 MB / 1.284 GB, free: 30.02 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.645465419162065]