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.001116/0.001116, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001147/0.001147, allocations: 170.3 kB / 24.82 MB, free: 9.266 MB / 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.086/1.086, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.3032/0.3032, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.834e-06/1.834e-06, allocations: 0 / 376.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.377e-05, allocations: 2.312 kB / 376.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02059/0.02062, allocations: 13.83 MB / 390.4 MB, free: 6.477 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02432/0.04495, allocations: 25.76 MB / 416.1 MB, free: 12.62 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002863/0.04523, allocations: 0 / 416.1 MB, free: 12.62 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004549/0.04569, allocations: 83.44 kB / 416.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02545/0.07114, allocations: 8.682 MB / 424.9 MB, free: 3.816 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009452/0.07209, allocations: 358.7 kB / 425.2 MB, free: 3.465 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003078/0.07516, allocations: 2.056 MB / 427.3 MB, free: 1.383 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.981e-05/0.07523, allocations: 20.58 kB / 427.3 MB, free: 1.367 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005167/0.07575, allocations: 314.9 kB / 427.6 MB, free: 1.059 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004105/0.07986, allocations: 3.266 MB / 430.9 MB, free: 13.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.486e-05/0.07992, allocations: 12 kB / 430.9 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02104/0.101, allocations: 11.11 MB / 442 MB, free: 2.598 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.1011, allocations: 51.75 kB / 442.1 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003434/0.1015, allocations: 111.8 kB / 442.2 MB, free: 2.438 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2523/0.3538, allocations: 8.536 MB / 450.7 MB, free: 63.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.3538, allocations: 0 / 450.7 MB, free: 63.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3538, allocations: 0 / 450.7 MB, free: 63.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.3538, allocations: 0 / 450.7 MB, free: 63.58 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.006496/0.3603, allocations: 1.691 MB / 452.4 MB, free: 62.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.3604, allocations: 13.23 kB / 452.4 MB, free: 62.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.3615, allocations: 306.2 kB / 452.7 MB, free: 62.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.3619, allocations: 219.5 kB / 452.9 MB, free: 62.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.3619, allocations: 21.38 kB / 452.9 MB, free: 62.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.3619, allocations: 37.97 kB / 453 MB, free: 62.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.3633, allocations: 0.815 MB / 453.8 MB, free: 62.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.3633, allocations: 0 / 453.8 MB, free: 62.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.3634, allocations: 21.31 kB / 453.8 MB, free: 62.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3634, allocations: 6.406 kB / 453.8 MB, free: 62.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.3645, allocations: 0.6621 MB / 454.5 MB, free: 62.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.3668, allocations: 2.651 MB / 457.1 MB, free: 60.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/0.3675, allocations: 349 kB / 457.5 MB, free: 60.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.3676, allocations: 48.56 kB / 457.5 MB, free: 60.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1803/0.5478, allocations: 87.33 MB / 0.5321 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009482/0.5488, allocations: 488 kB / 0.5325 GB, free: 11.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.5488, allocations: 0 / 0.5325 GB, free: 11.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.002197/0.551, allocations: 0.8952 MB / 0.5334 GB, free: 10.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.5511, allocations: 377.3 kB / 0.5338 GB, free: 10.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.5512, allocations: 262.9 kB / 0.534 GB, free: 10.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.5513, allocations: 34.23 kB / 0.5341 GB, free: 9.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.5514, allocations: 239.8 kB / 0.5343 GB, free: 9.766 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.64e-05/0.5514, allocations: 124.5 kB / 0.5344 GB, free: 9.664 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.5516, allocations: 133.2 kB / 0.5345 GB, free: 9.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.5517, allocations: 0.5121 MB / 0.535 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.5518, allocations: 72.8 kB / 0.5351 GB, free: 8.992 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.552, allocations: 460.2 kB / 0.5355 GB, free: 8.391 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.5525, allocations: 0.5813 MB / 0.5361 GB, free: 7.723 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5525, allocations: 4 kB / 0.5361 GB, free: 7.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005727/0.5531, allocations: 474.9 kB / 0.5366 GB, free: 7.371 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.5531, allocations: 8 kB / 0.5366 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.5531, allocations: 12 kB / 0.5366 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.5531, allocations: 12 kB / 0.5366 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000761/0.5539, allocations: 216.4 kB / 0.5368 GB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004521/0.5543, allocations: 1.802 MB / 0.5386 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.5545, allocations: 21.56 kB / 0.5386 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.5546, allocations: 39.66 kB / 0.5386 GB, free: 5.27 MB / 410.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,state2.phase,state3.phase,state4.phase,state5.phase,medium.phase,state_h_is.phase,state.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.0001392/0.5547, allocations: 207.9 kB / 0.5388 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.5548, allocations: 38.8 kB / 0.5389 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.556, allocations: 1.471 MB / 0.5403 GB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.556, allocations: 19.66 kB / 0.5403 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.556, allocations: 4.375 kB / 0.5403 GB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.556, allocations: 8 kB / 0.5403 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/0.5566, allocations: 0.6381 MB / 0.541 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.5567, allocations: 4 kB / 0.541 GB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.557, allocations: 102.3 kB / 0.5411 GB, free: 3.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001508/0.5571, allocations: 119.3 kB / 0.5412 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.5572, allocations: 15.88 kB / 0.5412 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003366/0.5575, allocations: 0.8546 MB / 0.542 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5575, allocations: 4 kB / 0.542 GB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007312/0.5582, allocations: 0.7271 MB / 0.5427 GB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.5583, allocations: 62.16 kB / 0.5428 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.99e-05/0.5584, allocations: 98.44 kB / 0.5429 GB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.5585, allocations: 9.812 kB / 0.5429 GB, free: 1.285 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.5586, allocations: 39.23 kB / 0.5429 GB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.5586, allocations: 14.3 kB / 0.5429 GB, free: 1.242 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000295/0.5589, allocations: 467.8 kB / 0.5434 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5589, allocations: 0 / 0.5434 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007139/0.566, allocations: 1.641 MB / 0.545 GB, free: 15.28 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.01151/0.5775, allocations: 2.171 MB / 0.5471 GB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.5789, allocations: 418.3 kB / 0.5475 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.5789, allocations: 0 / 0.5475 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.5792, allocations: 195.9 kB / 0.5477 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/0.58, allocations: 228.8 kB / 0.5479 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.807/1.387, allocations: 352.1 MB / 0.8918 GB, free: 77.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/1.387, allocations: 172.2 kB / 0.8919 GB, free: 77.46 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006415/1.388, allocations: 0.511 MB / 0.8924 GB, free: 76.98 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/1.388, allocations: 186.1 kB / 0.8926 GB, free: 76.8 MB / 474.7 MB Notification: Performance of SimCode: time 2.104e-06/1.388, allocations: 8 kB / 0.8926 GB, free: 76.79 MB / 474.7 MB Notification: Performance of Templates: time 0.07927/1.467, allocations: 69.6 MB / 0.9606 GB, free: 7.48 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: 7.44911526190117]