Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.001294/0.001294, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001094/0.001094, allocations: 161.4 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.016/1.016, allocations: 177.1 MB / 205 MB, free: 5.23 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.2833/0.2833, allocations: 32.8 MB / 294.3 MB, free: 1.246 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_pT,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_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,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_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 376.1 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.455e-05, allocations: 5.547 kB / 376.1 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01288/0.01291, allocations: 13.97 MB / 390 MB, free: 6.602 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02182/0.03473, allocations: 26.19 MB / 416.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.03488, allocations: 0 / 416.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.03526, allocations: 83.44 kB / 416.3 MB, free: 12.23 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01868/0.05393, allocations: 8.674 MB / 425 MB, free: 3.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007398/0.05467, allocations: 358.7 kB / 425.3 MB, free: 3.168 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002824/0.0575, allocations: 2.056 MB / 427.4 MB, free: 1.086 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.05755, allocations: 16.59 kB / 427.4 MB, free: 1.074 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004995/0.05805, allocations: 318.8 kB / 427.7 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004121/0.06217, allocations: 3.27 MB / 431 MB, free: 13.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.06221, allocations: 8 kB / 431 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01733/0.07955, allocations: 11.12 MB / 442.1 MB, free: 2.297 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.226e-05/0.07963, allocations: 47.75 kB / 442.2 MB, free: 2.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.07975, allocations: 99.77 kB / 442.3 MB, free: 2.152 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1999/0.2796, allocations: 8.544 MB / 450.8 MB, free: 63.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2796, allocations: 0 / 450.8 MB, free: 63.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2796, allocations: 1.859 kB / 450.8 MB, free: 63.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.2796, allocations: 3.875 kB / 450.8 MB, free: 63.07 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.003646/0.2833, allocations: 1.691 MB / 452.5 MB, free: 62.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.2833, allocations: 11.41 kB / 452.5 MB, free: 62.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008816/0.2842, allocations: 307 kB / 452.8 MB, free: 62.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.2844, allocations: 213.9 kB / 453 MB, free: 61.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.2845, allocations: 26.97 kB / 453 MB, free: 61.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.2845, allocations: 34.11 kB / 453.1 MB, free: 61.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.2856, allocations: 0.8448 MB / 453.9 MB, free: 61.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2856, allocations: 4.719 kB / 453.9 MB, free: 61.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.2857, allocations: 19.97 kB / 453.9 MB, free: 61.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.2857, allocations: 6.156 kB / 454 MB, free: 61.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009987/0.2867, allocations: 0.7309 MB / 454.7 MB, free: 61.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.2884, allocations: 2.708 MB / 457.4 MB, free: 59.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/0.289, allocations: 350.5 kB / 457.7 MB, free: 59.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.729e-05/0.2891, allocations: 62 kB / 457.8 MB, free: 59.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1854/0.4745, allocations: 100.4 MB / 0.5451 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000843/0.4754, allocations: 496.7 kB / 0.5456 GB, free: 13.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.4754, allocations: 0 / 0.5456 GB, free: 13.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.002324/0.4777, allocations: 1.188 MB / 0.5468 GB, free: 12.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.4778, allocations: 377.7 kB / 0.5471 GB, free: 12.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.478, allocations: 271.9 kB / 0.5474 GB, free: 12.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.4781, allocations: 33.58 kB / 0.5474 GB, free: 12.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.4782, allocations: 236.8 kB / 0.5477 GB, free: 11.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/0.4783, allocations: 126.7 kB / 0.5478 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.4784, allocations: 133 kB / 0.5479 GB, free: 11.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4785, allocations: 0.5023 MB / 0.5484 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.4787, allocations: 86.72 kB / 0.5485 GB, free: 11.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.479, allocations: 469.5 kB / 0.5489 GB, free: 10.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005361/0.4795, allocations: 0.5983 MB / 0.5495 GB, free: 9.891 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.4795, allocations: 8 kB / 0.5495 GB, free: 9.883 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006542/0.4802, allocations: 495.8 kB / 0.55 GB, free: 9.527 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.4802, allocations: 16.19 kB / 0.55 GB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.4802, allocations: 11 kB / 0.55 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/0.4802, allocations: 14.91 kB / 0.55 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000798/0.481, allocations: 211.9 kB / 0.5502 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006205/0.4817, allocations: 1.8 MB / 0.552 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.4818, allocations: 24.58 kB / 0.552 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.4819, allocations: 41.61 kB / 0.552 GB, free: 7.418 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.482, allocations: 210.4 kB / 0.5522 GB, free: 7.227 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.4821, allocations: 37.55 kB / 0.5523 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.4833, allocations: 1.55 MB / 0.5538 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.4833, allocations: 21.53 kB / 0.5538 GB, free: 5.852 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4833, allocations: 4 kB / 0.5538 GB, free: 5.848 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4833, allocations: 12.28 kB / 0.5538 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.484, allocations: 0.7417 MB / 0.5546 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.484, allocations: 7.938 kB / 0.5546 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.4843, allocations: 99.14 kB / 0.5547 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/0.4845, allocations: 128.7 kB / 0.5548 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.4845, allocations: 6.312 kB / 0.5548 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003234/0.4848, allocations: 0.858 MB / 0.5556 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4848, allocations: 7.562 kB / 0.5556 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.4855, allocations: 0.7892 MB / 0.5564 GB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.4855, allocations: 55.47 kB / 0.5565 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.462e-05/0.4856, allocations: 91.14 kB / 0.5565 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.4857, allocations: 22.78 kB / 0.5566 GB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.4858, allocations: 40.44 kB / 0.5566 GB, free: 3.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.4858, allocations: 19.98 kB / 0.5566 GB, free: 3.094 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003637/0.4862, allocations: 490.9 kB / 0.5571 GB, free: 2.613 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4862, allocations: 0 / 0.5571 GB, free: 2.613 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004783/0.491, allocations: 1.637 MB / 0.5587 GB, free: 0.9727 MB / 426.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: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004705/0.4957, allocations: 2.121 MB / 0.5608 GB, free: 15.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008432/0.4965, allocations: 448.1 kB / 0.5612 GB, free: 14.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.4965, allocations: 4 kB / 0.5612 GB, free: 14.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.4967, allocations: 221.3 kB / 0.5614 GB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.4973, allocations: 222.3 kB / 0.5616 GB, free: 14.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6085/1.106, allocations: 352.1 MB / 0.9055 GB, free: 61.42 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/1.106, allocations: 176.2 kB / 0.9057 GB, free: 61.23 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005196/1.106, allocations: 0.5135 MB / 0.9062 GB, free: 60.74 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/1.107, allocations: 56.47 kB / 0.9062 GB, free: 60.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.974e-06/1.107, allocations: 0 / 0.9062 GB, free: 60.7 MB / 474.7 MB Notification: Performance of Templates: time 0.2207/1.327, allocations: 60.17 MB / 0.965 GB, free: 126.5 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.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: 6.760644904803485]