Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001101/0.001101, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001212/0.001212, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9809/0.9809, allocations: 158.6 MB / 186 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.127/0.127, allocations: 32.37 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.273e-05, allocations: 2.312 kB / 347.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3061/0.3061, allocations: 174.2 MB / 0.5096 GB, free: 5.801 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005359/0.3114, allocations: 5.816 MB / 0.5153 GB, free: 15.96 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.3117, allocations: 31.69 kB / 0.5153 GB, free: 15.93 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006464/0.3124, allocations: 313.8 kB / 0.5156 GB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002939/0.3153, allocations: 1.62 MB / 0.5172 GB, free: 14 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.3172, allocations: 1.273 MB / 0.5185 GB, free: 12.72 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.3186, allocations: 1.887 MB / 0.5203 GB, free: 10.82 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004529/0.319, allocations: 430.2 kB / 0.5207 GB, free: 10.41 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.3207, allocations: 1.495 MB / 0.5222 GB, free: 8.906 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009224/0.3217, allocations: 0.7203 MB / 0.5229 GB, free: 8.184 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.945e-05/0.3218, allocations: 60 kB / 0.5229 GB, free: 8.125 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.3228, allocations: 0.7487 MB / 0.5237 GB, free: 7.375 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.323, allocations: 295.2 kB / 0.524 GB, free: 7.086 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000549/0.3235, allocations: 283.3 kB / 0.5242 GB, free: 6.809 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.3248, allocations: 1.242 MB / 0.5254 GB, free: 5.562 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3248, allocations: 0 / 0.5254 GB, free: 5.562 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3248, allocations: 0 / 0.5254 GB, free: 5.562 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3248, allocations: 0 / 0.5254 GB, free: 5.562 MB / 394.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.001534/0.3263, allocations: 1.184 MB / 0.5266 GB, free: 4.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3264, allocations: 8.031 kB / 0.5266 GB, free: 4.332 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006095/0.327, allocations: 223 kB / 0.5268 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.3276, allocations: 0.4924 MB / 0.5273 GB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.3277, allocations: 155.7 kB / 0.5274 GB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.821e-05/0.3278, allocations: 52 kB / 0.5275 GB, free: 3.363 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008473/0.3286, allocations: 1.029 MB / 0.5285 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.3287, allocations: 7.938 kB / 0.5285 GB, free: 2.125 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/0.3287, allocations: 24 kB / 0.5285 GB, free: 2.102 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/0.3288, allocations: 36.98 kB / 0.5286 GB, free: 2.066 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.3292, allocations: 313.5 kB / 0.5289 GB, free: 1.762 MB / 394.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.002864/0.3321, allocations: 3.899 MB / 0.5327 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.3324, allocations: 212.2 kB / 0.5329 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.3325, allocations: 88.2 kB / 0.533 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.3327, allocations: 134.1 kB / 0.5331 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.3328, allocations: 40.8 kB / 0.5331 GB, free: 13.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.3328, allocations: 4 kB / 0.5331 GB, free: 13.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002689/0.3355, allocations: 1.167 MB / 0.5343 GB, free: 12.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.3355, allocations: 136.5 kB / 0.5344 GB, free: 11.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.3359, allocations: 0.5453 MB / 0.5349 GB, free: 11.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.336, allocations: 33.7 kB / 0.535 GB, free: 11.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.3362, allocations: 438.9 kB / 0.5354 GB, free: 10.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.064e-05/0.3362, allocations: 146.8 kB / 0.5355 GB, free: 10.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.3364, allocations: 160.2 kB / 0.5357 GB, free: 10.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3365, allocations: 0.5469 MB / 0.5362 GB, free: 9.938 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.3367, allocations: 89.94 kB / 0.5363 GB, free: 9.852 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.337, allocations: 0.6113 MB / 0.5369 GB, free: 9.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005166/0.3375, allocations: 0.6658 MB / 0.5375 GB, free: 8.164 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3375, allocations: 4 kB / 0.5375 GB, free: 8.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009999/0.3385, allocations: 0.6445 MB / 0.5382 GB, free: 7.504 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3386, allocations: 12 kB / 0.5382 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3386, allocations: 11.98 kB / 0.5382 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006934/0.3393, allocations: 247 kB / 0.5384 GB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.3395, allocations: 123.8 kB / 0.5386 GB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006042/0.3401, allocations: 1.007 MB / 0.5395 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.3403, allocations: 28 kB / 0.5396 GB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.3404, allocations: 59.98 kB / 0.5396 GB, free: 5.992 MB / 410.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.0001615/0.3405, allocations: 200.4 kB / 0.5398 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.614e-05/0.3406, allocations: 75.56 kB / 0.5399 GB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006751/0.3413, allocations: 0.5054 MB / 0.5404 GB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.3413, allocations: 4 kB / 0.5404 GB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3413, allocations: 0 / 0.5404 GB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3413, allocations: 4 kB / 0.5404 GB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.3424, allocations: 1.025 MB / 0.5414 GB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3424, allocations: 4.125 kB / 0.5414 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005034/0.3429, allocations: 195.8 kB / 0.5416 GB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.809e-05/0.3429, allocations: 27.61 kB / 0.5416 GB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.343, allocations: 12 kB / 0.5416 GB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.3445, allocations: 3.554 MB / 0.5451 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3445, allocations: 3.938 kB / 0.5451 GB, free: 56 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005843/0.3451, allocations: 0.5896 MB / 0.5457 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.3453, allocations: 99.56 kB / 0.5458 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.3453, allocations: 20.61 kB / 0.5458 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.3455, allocations: 12 kB / 0.5458 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.3456, allocations: 35.94 kB / 0.5458 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.3456, allocations: 35.98 kB / 0.5459 GB, free: 15.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002356/0.3458, allocations: 338.8 kB / 0.5462 GB, free: 14.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3458, allocations: 0 / 0.5462 GB, free: 14.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005659/0.3464, allocations: 295.7 kB / 0.5465 GB, free: 14.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0006631/0.3471, allocations: 400.9 kB / 0.5468 GB, free: 14.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005717/0.3476, allocations: 377.2 kB / 0.5472 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3476, allocations: 1.438 kB / 0.5472 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004816/0.3481, allocations: 393.4 kB / 0.5476 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007691/0.3489, allocations: 313.3 kB / 0.5479 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.3504, allocations: 1.12 MB / 0.549 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.3505, allocations: 170.4 kB / 0.5491 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004075/0.3509, allocations: 227.7 kB / 0.5494 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.3511, allocations: 88.45 kB / 0.5494 GB, free: 11.47 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3511, allocations: 0 / 0.5494 GB, free: 11.47 MB / 426.7 MB Notification: Performance of Templates: time 0.0172/0.3683, allocations: 16.43 MB / 0.5655 GB, free: 11.14 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 4.018383603077382]