Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.001001/0.001001, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001057/0.001057, allocations: 161.3 kB / 24.99 MB, free: 9.273 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 0.974/0.974, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2897/0.2897, allocations: 34.26 MB / 296 MB, free: 0.7578 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.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.255e-05/3.432e-05, allocations: 6.312 kB / 378 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3044/0.3044, allocations: 171.8 MB / 0.537 GB, free: 184 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005196/0.3096, allocations: 5.418 MB / 0.5422 GB, free: 12.54 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004501/0.3101, allocations: 27.03 kB / 0.5423 GB, free: 12.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007274/0.3108, allocations: 314.6 kB / 0.5426 GB, free: 12.35 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00249/0.3133, allocations: 1.39 MB / 0.5439 GB, free: 11.59 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.3152, allocations: 1.083 MB / 0.545 GB, free: 11.05 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001653/0.3168, allocations: 1.876 MB / 0.5468 GB, free: 10.2 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005723/0.3174, allocations: 427.1 kB / 0.5472 GB, free: 9.898 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/0.3193, allocations: 1.352 MB / 0.5485 GB, free: 9.059 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009868/0.3203, allocations: 0.7297 MB / 0.5493 GB, free: 8.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.883e-05/0.3204, allocations: 59.94 kB / 0.5493 GB, free: 8.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009731/0.3214, allocations: 0.5531 MB / 0.5499 GB, free: 8.418 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.3216, allocations: 291.7 kB / 0.5501 GB, free: 8.219 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002522/0.3218, allocations: 284.3 kB / 0.5504 GB, free: 8.086 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.3232, allocations: 1.096 MB / 0.5515 GB, free: 7.438 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3232, allocations: 0 / 0.5515 GB, free: 7.438 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3232, allocations: 0 / 0.5515 GB, free: 7.438 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.3232, allocations: 2.938 kB / 0.5515 GB, free: 7.438 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001577/0.3248, allocations: 1.15 MB / 0.5526 GB, free: 6.547 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3248, allocations: 8.438 kB / 0.5526 GB, free: 6.547 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008789/0.3257, allocations: 216.8 kB / 0.5528 GB, free: 6.438 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008194/0.3265, allocations: 495.5 kB / 0.5533 GB, free: 6.078 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.3267, allocations: 157.7 kB / 0.5534 GB, free: 5.922 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-05/0.3267, allocations: 63.56 kB / 0.5535 GB, free: 5.898 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008322/0.3276, allocations: 0.9989 MB / 0.5545 GB, free: 4.926 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.3276, allocations: 2.969 kB / 0.5545 GB, free: 4.926 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.021e-05/0.3276, allocations: 17.5 kB / 0.5545 GB, free: 4.914 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/0.3277, allocations: 49.31 kB / 0.5545 GB, free: 4.898 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004732/0.3282, allocations: 308.6 kB / 0.5548 GB, free: 4.727 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002703/0.3309, allocations: 3.879 MB / 0.5586 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.3312, allocations: 219 kB / 0.5588 GB, free: 492 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.3313, allocations: 84.2 kB / 0.5589 GB, free: 404 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.221e-05/0.3314, allocations: 24.27 kB / 0.5589 GB, free: 380 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.3314, allocations: 41.67 kB / 0.559 GB, free: 328 kB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.036e-06/0.3314, allocations: 0 / 0.559 GB, free: 328 kB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.003004/0.3344, allocations: 1.155 MB / 0.5601 GB, free: 15.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.3345, allocations: 144.5 kB / 0.5602 GB, free: 14.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004583/0.335, allocations: 0.5412 MB / 0.5608 GB, free: 14.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.335, allocations: 37.7 kB / 0.5608 GB, free: 14.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.3352, allocations: 435 kB / 0.5612 GB, free: 13.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.018e-05/0.3353, allocations: 146.8 kB / 0.5614 GB, free: 13.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.3355, allocations: 156.2 kB / 0.5615 GB, free: 13.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3357, allocations: 0.5508 MB / 0.5621 GB, free: 13.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.3358, allocations: 93.94 kB / 0.5621 GB, free: 12.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.3362, allocations: 0.6113 MB / 0.5627 GB, free: 12.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/0.3368, allocations: 0.6684 MB / 0.5634 GB, free: 11.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3368, allocations: 4 kB / 0.5634 GB, free: 11.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008974/0.3377, allocations: 0.6523 MB / 0.564 GB, free: 10.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.3377, allocations: 8 kB / 0.564 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.3377, allocations: 11.12 kB / 0.5641 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007958/0.3385, allocations: 256 kB / 0.5643 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.3388, allocations: 123.8 kB / 0.5644 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006655/0.3394, allocations: 1.006 MB / 0.5654 GB, free: 9.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.3397, allocations: 28 kB / 0.5654 GB, free: 9.133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-05/0.3398, allocations: 59.92 kB / 0.5655 GB, free: 9.074 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002179/0.34, allocations: 204.3 kB / 0.5657 GB, free: 8.863 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.409e-05/0.3401, allocations: 83.56 kB / 0.5658 GB, free: 8.781 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008761/0.341, allocations: 0.6805 MB / 0.5664 GB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.341, allocations: 4 kB / 0.5664 GB, free: 8.086 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.341, allocations: 0 / 0.5664 GB, free: 8.086 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.341, allocations: 7.938 kB / 0.5664 GB, free: 8.078 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.3421, allocations: 0.941 MB / 0.5673 GB, free: 7.066 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3421, allocations: 4.188 kB / 0.5674 GB, free: 7.062 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005248/0.3426, allocations: 195.8 kB / 0.5675 GB, free: 6.871 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.09e-05/0.3427, allocations: 23.67 kB / 0.5676 GB, free: 6.844 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.3427, allocations: 23.92 kB / 0.5676 GB, free: 6.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.3442, allocations: 3.558 MB / 0.5711 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3442, allocations: 3.938 kB / 0.5711 GB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006251/0.3448, allocations: 0.5922 MB / 0.5716 GB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.345, allocations: 107.5 kB / 0.5717 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.345, allocations: 11.94 kB / 0.5718 GB, free: 2.262 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.3452, allocations: 15.98 kB / 0.5718 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.3453, allocations: 31.95 kB / 0.5718 GB, free: 2.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.3453, allocations: 37.05 kB / 0.5718 GB, free: 2.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002431/0.3456, allocations: 342.8 kB / 0.5722 GB, free: 1.848 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3456, allocations: 0 / 0.5722 GB, free: 1.848 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000634/0.3462, allocations: 251.8 kB / 0.5724 GB, free: 1.602 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004887/0.3467, allocations: 291.4 kB / 0.5727 GB, free: 1.309 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006229/0.3473, allocations: 382.5 kB / 0.573 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3473, allocations: 4 kB / 0.573 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004934/0.3478, allocations: 385.8 kB / 0.5734 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008089/0.3486, allocations: 343.6 kB / 0.5737 GB, free: 232 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.3504, allocations: 1.148 MB / 0.5749 GB, free: 15.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.3505, allocations: 166.4 kB / 0.575 GB, free: 14.83 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006169/0.3511, allocations: 427.7 kB / 0.5754 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.3513, allocations: 96.45 kB / 0.5755 GB, free: 14.32 MB / 458.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3513, allocations: 0 / 0.5755 GB, free: 14.32 MB / 458.7 MB Notification: Performance of Templates: time 0.01774/0.369, allocations: 15.47 MB / 0.5906 GB, free: 15.1 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.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: 3.9596667441073805]