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.001415/0.001415, 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.001234/0.001234, allocations: 164.4 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 0.998/0.998, 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.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.2968/0.2968, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.583e-06/1.583e-06, allocations: 0 / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.884e-05, allocations: 2.312 kB / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3117/0.3118, allocations: 146.9 MB / 0.5131 GB, free: 16.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004222/0.316, allocations: 2.589 MB / 0.5156 GB, free: 14.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006424/0.3166, allocations: 27.75 kB / 0.5156 GB, free: 14.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006148/0.3172, allocations: 210.8 kB / 0.5158 GB, free: 14.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002573/0.3198, allocations: 1.176 MB / 0.517 GB, free: 13.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.3216, allocations: 0.8186 MB / 0.5178 GB, free: 13.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.3233, allocations: 1.909 MB / 0.5196 GB, free: 12.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004699/0.3238, allocations: 422.9 kB / 0.52 GB, free: 12.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.3254, allocations: 1.238 MB / 0.5212 GB, free: 11.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006998/0.3261, allocations: 0.5943 MB / 0.5218 GB, free: 11.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.557e-05/0.3262, allocations: 58.75 kB / 0.5219 GB, free: 11.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007974/0.327, allocations: 452.8 kB / 0.5223 GB, free: 11.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.3272, allocations: 287.1 kB / 0.5226 GB, free: 11.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.3275, allocations: 285.8 kB / 0.5229 GB, free: 11.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009776/0.3284, allocations: 0.9839 MB / 0.5238 GB, free: 10.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3284, allocations: 2.719 kB / 0.5238 GB, free: 10.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3284, allocations: 0 / 0.5238 GB, free: 10.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3285, allocations: 3.938 kB / 0.5238 GB, free: 10.76 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001283/0.3297, allocations: 1.13 MB / 0.5249 GB, free: 9.984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3298, allocations: 7.906 kB / 0.5249 GB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005378/0.3303, allocations: 209.4 kB / 0.5251 GB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.3308, allocations: 485.8 kB / 0.5256 GB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/0.3309, allocations: 156.3 kB / 0.5258 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.331, allocations: 62.42 kB / 0.5258 GB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/0.3315, allocations: 0.94 MB / 0.5267 GB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3316, allocations: 2.344 kB / 0.5267 GB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.3316, allocations: 21.94 kB / 0.5268 GB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/0.3316, allocations: 36.55 kB / 0.5268 GB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.3319, allocations: 265.9 kB / 0.527 GB, free: 8.539 MB / 410.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.002154/0.3341, allocations: 3.762 MB / 0.5307 GB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.3343, allocations: 199.9 kB / 0.5309 GB, free: 5.207 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.146e-05/0.3344, allocations: 86.69 kB / 0.531 GB, free: 5.176 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.155e-05/0.3345, allocations: 26 kB / 0.531 GB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.3345, allocations: 40.64 kB / 0.5311 GB, free: 5.125 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.704e-06/0.3345, allocations: 0 / 0.5311 GB, free: 5.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002308/0.3368, allocations: 0.994 MB / 0.532 GB, free: 4.633 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.3368, allocations: 131.3 kB / 0.5321 GB, free: 4.477 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.3372, allocations: 0.5516 MB / 0.5327 GB, free: 4.164 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.3372, allocations: 36.02 kB / 0.5327 GB, free: 4.125 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.3374, allocations: 441.5 kB / 0.5331 GB, free: 3.754 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.668e-05/0.3374, allocations: 152.4 kB / 0.5333 GB, free: 3.637 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.3376, allocations: 170.1 kB / 0.5335 GB, free: 3.547 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.941e-05/0.3376, allocations: 0.5507 MB / 0.534 GB, free: 3.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.833e-05/0.3377, allocations: 74.31 kB / 0.5341 GB, free: 3.012 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.338, allocations: 0.634 MB / 0.5347 GB, free: 2.266 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.3384, allocations: 0.6713 MB / 0.5353 GB, free: 1.574 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3384, allocations: 2.812 kB / 0.5353 GB, free: 1.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006142/0.339, allocations: 0.629 MB / 0.536 GB, free: 1.332 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.339, allocations: 11.97 kB / 0.536 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.619e-06/0.339, allocations: 11.31 kB / 0.536 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/0.3396, allocations: 242.5 kB / 0.5362 GB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.3398, allocations: 122.9 kB / 0.5363 GB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004721/0.3403, allocations: 0.9887 MB / 0.5373 GB, free: 444 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.3406, allocations: 32.52 kB / 0.5373 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.3406, allocations: 59.34 kB / 0.5374 GB, free: 420 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0001479/0.3408, allocations: 205 kB / 0.5376 GB, free: 220 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.3408, allocations: 82.33 kB / 0.5376 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007425/0.3416, allocations: 0.6614 MB / 0.5383 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3416, allocations: 2.781 kB / 0.5383 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.3416, allocations: 0 / 0.5383 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3416, allocations: 5.875 kB / 0.5383 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009919/0.3426, allocations: 0.8344 MB / 0.5391 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3426, allocations: 2.719 kB / 0.5391 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/0.3431, allocations: 175.3 kB / 0.5393 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.047e-05/0.3431, allocations: 29.14 kB / 0.5393 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.3432, allocations: 17.39 kB / 0.5393 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.3447, allocations: 3.512 MB / 0.5428 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3447, allocations: 0 / 0.5428 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.3452, allocations: 0.5639 MB / 0.5433 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.3454, allocations: 96.84 kB / 0.5434 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.3454, allocations: 10.88 kB / 0.5434 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.3456, allocations: 18.69 kB / 0.5434 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.3456, allocations: 42.77 kB / 0.5435 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.3457, allocations: 33.77 kB / 0.5435 GB, free: 11.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000206/0.3459, allocations: 323.3 kB / 0.5438 GB, free: 11.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3459, allocations: 0 / 0.5438 GB, free: 11.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007623/0.3466, allocations: 253 kB / 0.5441 GB, free: 11.16 MB / 426.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.0004757/0.3471, allocations: 267.9 kB / 0.5443 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000512/0.3476, allocations: 356.6 kB / 0.5447 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3476, allocations: 2.719 kB / 0.5447 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004535/0.3481, allocations: 360.9 kB / 0.545 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008449/0.3489, allocations: 313.9 kB / 0.5453 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.3507, allocations: 1.158 MB / 0.5464 GB, free: 9.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.3509, allocations: 166.2 kB / 0.5466 GB, free: 9.848 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006727/0.3515, allocations: 372.5 kB / 0.5469 GB, free: 9.762 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/0.3522, allocations: 376.5 kB / 0.5473 GB, free: 9.602 MB / 426.7 MB Notification: Performance of SimCode: time 2.454e-06/0.3522, allocations: 0 / 0.5473 GB, free: 9.602 MB / 426.7 MB Notification: Performance of Templates: time 0.02176/0.3739, allocations: 16.59 MB / 0.5635 GB, free: 10.47 MB / 442.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: 4.118713167030364]