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.0009491/0.0009491, allocations: 83.58 kB / 21.19 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.0009401/0.0009401, 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 0.9787/0.9787, allocations: 177.1 MB / 205 MB, free: 5.656 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.2748/0.2748, allocations: 32.81 MB / 294.3 MB, free: 1.277 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.833e-06/1.833e-06, allocations: 0 / 376.1 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.863e-05, allocations: 2.312 kB / 376.1 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01752/0.01755, allocations: 13.98 MB / 390 MB, free: 6.594 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0283/0.04585, allocations: 26.19 MB / 416.2 MB, free: 12.31 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.04605, allocations: 4 kB / 416.2 MB, free: 12.31 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.0465, allocations: 87.38 kB / 416.3 MB, free: 12.22 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01955/0.06605, allocations: 8.681 MB / 425 MB, free: 3.504 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.06675, allocations: 354.8 kB / 425.3 MB, free: 3.156 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002515/0.06927, allocations: 2.052 MB / 427.4 MB, free: 1.078 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.06931, allocations: 20.59 kB / 427.4 MB, free: 1.062 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.06971, allocations: 318.8 kB / 427.7 MB, free: 0.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003659/0.07337, allocations: 3.274 MB / 431 MB, free: 13.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.07339, allocations: 8 kB / 431 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01498/0.08837, allocations: 11.11 MB / 442.1 MB, free: 2.289 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.565e-05/0.08846, allocations: 51.75 kB / 442.2 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.08858, allocations: 107.8 kB / 442.3 MB, free: 2.133 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1784/0.2669, allocations: 8.546 MB / 450.8 MB, free: 63.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.267, allocations: 0 / 450.8 MB, free: 63.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.267, allocations: 3.219 kB / 450.8 MB, free: 63.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.267, allocations: 0 / 450.8 MB, free: 63.23 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.005736/0.2727, allocations: 1.679 MB / 452.5 MB, free: 62.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.2728, allocations: 8.719 kB / 452.5 MB, free: 62.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.2738, allocations: 307.9 kB / 452.8 MB, free: 62.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.2741, allocations: 223.1 kB / 453 MB, free: 62.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2741, allocations: 26.59 kB / 453.1 MB, free: 62.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.2742, allocations: 33.22 kB / 453.1 MB, free: 62.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.2755, allocations: 0.8436 MB / 453.9 MB, free: 61.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2755, allocations: 0 / 453.9 MB, free: 61.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.2755, allocations: 23.56 kB / 454 MB, free: 61.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.2756, allocations: 6.438 kB / 454 MB, free: 61.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.2767, allocations: 0.7271 MB / 454.7 MB, free: 61.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.2788, allocations: 2.716 MB / 457.4 MB, free: 59.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.2795, allocations: 344.3 kB / 457.7 MB, free: 59.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/0.2796, allocations: 62.05 kB / 457.8 MB, free: 59.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1818/0.4614, allocations: 100.4 MB / 0.5452 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009344/0.4623, allocations: 486.3 kB / 0.5456 GB, free: 14.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 2.876e-06/0.4623, allocations: 0 / 0.5456 GB, free: 14.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.002579/0.4649, allocations: 1.199 MB / 0.5468 GB, free: 13.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.4651, allocations: 371.1 kB / 0.5472 GB, free: 12.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.4652, allocations: 270.5 kB / 0.5474 GB, free: 12.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.4653, allocations: 37.25 kB / 0.5474 GB, free: 12.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4654, allocations: 237.2 kB / 0.5477 GB, free: 12.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.971e-05/0.4655, allocations: 119.9 kB / 0.5478 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.4656, allocations: 131.1 kB / 0.5479 GB, free: 11.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4657, allocations: 0.5058 MB / 0.5484 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.4659, allocations: 87.06 kB / 0.5485 GB, free: 11.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.4662, allocations: 472 kB / 0.5489 GB, free: 10.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005041/0.4667, allocations: 0.5945 MB / 0.5495 GB, free: 10.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.4667, allocations: 7.625 kB / 0.5495 GB, free: 10.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006501/0.4673, allocations: 0.4948 MB / 0.55 GB, free: 9.652 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.4673, allocations: 8 kB / 0.55 GB, free: 9.645 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.4673, allocations: 8 kB / 0.55 GB, free: 9.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.4674, allocations: 12 kB / 0.55 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008035/0.4682, allocations: 214.5 kB / 0.5502 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008134/0.469, allocations: 1.808 MB / 0.552 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.4692, allocations: 17.45 kB / 0.552 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/0.4692, allocations: 49 kB / 0.5521 GB, free: 7.547 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.0001642/0.4694, allocations: 202.6 kB / 0.5523 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.8e-05/0.4695, allocations: 40.73 kB / 0.5523 GB, free: 7.328 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.4708, allocations: 1.552 MB / 0.5538 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/0.4708, allocations: 22.84 kB / 0.5538 GB, free: 5.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.4708, allocations: 4 kB / 0.5538 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.4708, allocations: 384 / 0.5538 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006639/0.4715, allocations: 0.7516 MB / 0.5546 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.4715, allocations: 3.938 kB / 0.5546 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.4718, allocations: 100.1 kB / 0.5547 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/0.472, allocations: 123.5 kB / 0.5548 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.472, allocations: 12 kB / 0.5548 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003326/0.4723, allocations: 0.8602 MB / 0.5556 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4723, allocations: 7.188 kB / 0.5557 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007552/0.4731, allocations: 0.7848 MB / 0.5564 GB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.4731, allocations: 59.45 kB / 0.5565 GB, free: 3.227 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.715e-05/0.4732, allocations: 92.89 kB / 0.5566 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.4734, allocations: 19.98 kB / 0.5566 GB, free: 3.117 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.4734, allocations: 34.98 kB / 0.5566 GB, free: 3.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.4734, allocations: 12.75 kB / 0.5566 GB, free: 3.074 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003794/0.4738, allocations: 494.9 kB / 0.5571 GB, free: 2.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4738, allocations: 0 / 0.5571 GB, free: 2.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004981/0.4788, allocations: 1.637 MB / 0.5587 GB, free: 0.9492 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.008499/0.4873, allocations: 2.127 MB / 0.5608 GB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.4885, allocations: 449.9 kB / 0.5612 GB, free: 14.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.4885, allocations: 0 / 0.5612 GB, free: 14.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.4888, allocations: 225.7 kB / 0.5614 GB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007109/0.4895, allocations: 218.2 kB / 0.5616 GB, free: 14.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6497/1.139, allocations: 352.1 MB / 0.9055 GB, free: 61.38 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/1.139, allocations: 176.2 kB / 0.9057 GB, free: 61.19 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006289/1.14, allocations: 0.5096 MB / 0.9062 GB, free: 60.71 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/1.14, allocations: 56.47 kB / 0.9062 GB, free: 60.66 MB / 474.7 MB Notification: Performance of SimCode: time 2.515e-06/1.14, allocations: 0 / 0.9062 GB, free: 60.66 MB / 474.7 MB Notification: Performance of Templates: time 0.249/1.389, allocations: 71.49 MB / 0.976 GB, free: 125.6 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: 8.25749216787517]