Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001502/0.001502, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001738/0.001738, 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 1.056/1.056, allocations: 177.1 MB / 205 MB, free: 5.637 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.2666/0.2666, allocations: 32.81 MB / 294.3 MB, free: 1.273 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.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.254e-05, allocations: 2.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3466/0.3466, allocations: 149.6 MB / 0.5134 GB, free: 16.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004102/0.3507, allocations: 2.599 MB / 0.5159 GB, free: 15.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006282/0.3514, allocations: 31.25 kB / 0.5159 GB, free: 15.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006495/0.352, allocations: 209.3 kB / 0.5161 GB, free: 15.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.3545, allocations: 1.177 MB / 0.5173 GB, free: 14.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.3562, allocations: 0.8204 MB / 0.5181 GB, free: 14.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001994/0.3582, allocations: 1.904 MB / 0.5199 GB, free: 13.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007423/0.359, allocations: 429.6 kB / 0.5203 GB, free: 12.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.3606, allocations: 1.049 MB / 0.5214 GB, free: 12.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.3618, allocations: 0.733 MB / 0.5221 GB, free: 12.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.362, allocations: 59.84 kB / 0.5221 GB, free: 12.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009142/0.3629, allocations: 450.1 kB / 0.5226 GB, free: 12.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.3631, allocations: 281.6 kB / 0.5228 GB, free: 11.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.3634, allocations: 288 kB / 0.5231 GB, free: 11.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.3649, allocations: 1.007 MB / 0.5241 GB, free: 11.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3649, allocations: 0 / 0.5241 GB, free: 11.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3649, allocations: 4 kB / 0.5241 GB, free: 11.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.556e-05/0.3649, allocations: 0 / 0.5241 GB, free: 11.46 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.0018/0.3667, allocations: 1.134 MB / 0.5252 GB, free: 10.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3667, allocations: 11.59 kB / 0.5252 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000612/0.3673, allocations: 213.1 kB / 0.5254 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/0.3679, allocations: 490.4 kB / 0.5259 GB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.854e-05/0.368, allocations: 161.4 kB / 0.526 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.762e-05/0.3681, allocations: 57.14 kB / 0.5261 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007486/0.3689, allocations: 1.002 MB / 0.5271 GB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.3689, allocations: 6.562 kB / 0.5271 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-05/0.3689, allocations: 21.39 kB / 0.5271 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-05/0.369, allocations: 46.59 kB / 0.5271 GB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/0.3695, allocations: 309 kB / 0.5274 GB, free: 9.184 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.002351/0.3718, allocations: 3.869 MB / 0.5312 GB, free: 5.887 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.3721, allocations: 215 kB / 0.5314 GB, free: 5.801 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.3722, allocations: 87.52 kB / 0.5315 GB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.313e-05/0.3723, allocations: 14.45 kB / 0.5315 GB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.3724, allocations: 46.83 kB / 0.5316 GB, free: 5.723 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.895e-06/0.3724, allocations: 0 / 0.5316 GB, free: 5.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.00282/0.3752, allocations: 1.176 MB / 0.5327 GB, free: 5.133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.3752, allocations: 134 kB / 0.5328 GB, free: 4.977 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.3756, allocations: 0.5385 MB / 0.5334 GB, free: 4.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.3756, allocations: 32.64 kB / 0.5334 GB, free: 4.645 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.3758, allocations: 437.7 kB / 0.5338 GB, free: 4.277 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.075e-05/0.3759, allocations: 154.9 kB / 0.534 GB, free: 4.156 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.376, allocations: 159.5 kB / 0.5341 GB, free: 4.074 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.829e-05/0.3761, allocations: 0.5487 MB / 0.5347 GB, free: 3.547 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.3762, allocations: 92.14 kB / 0.5347 GB, free: 3.539 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.3765, allocations: 0.6193 MB / 0.5353 GB, free: 2.824 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.377, allocations: 0.6652 MB / 0.536 GB, free: 2.156 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.377, allocations: 3.062 kB / 0.536 GB, free: 2.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007768/0.3778, allocations: 0.6514 MB / 0.5366 GB, free: 1.902 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3778, allocations: 11.41 kB / 0.5366 GB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3778, allocations: 12.34 kB / 0.5367 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007323/0.3786, allocations: 246.8 kB / 0.5369 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.3788, allocations: 124.2 kB / 0.537 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005275/0.3793, allocations: 1.001 MB / 0.538 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.3796, allocations: 31.11 kB / 0.538 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/0.3796, allocations: 55.41 kB / 0.5381 GB, free: 0.9805 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.0001656/0.3798, allocations: 209.8 kB / 0.5383 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.3799, allocations: 76.83 kB / 0.5383 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000788/0.3807, allocations: 0.688 MB / 0.539 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3807, allocations: 5.438 kB / 0.539 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3807, allocations: 0 / 0.539 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3807, allocations: 0 / 0.539 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.3818, allocations: 0.9373 MB / 0.5399 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3818, allocations: 2.656 kB / 0.5399 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000516/0.3823, allocations: 199.2 kB / 0.5401 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.3824, allocations: 32.81 kB / 0.5402 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.3824, allocations: 18.3 kB / 0.5402 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.3843, allocations: 3.559 MB / 0.5437 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3843, allocations: 0 / 0.5437 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006996/0.385, allocations: 0.5965 MB / 0.5442 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.3852, allocations: 97.09 kB / 0.5443 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.91e-05/0.3852, allocations: 7.562 kB / 0.5443 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.3854, allocations: 22.5 kB / 0.5444 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/0.3855, allocations: 43.31 kB / 0.5444 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.3855, allocations: 37.44 kB / 0.5444 GB, free: 11.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002806/0.3858, allocations: 341.5 kB / 0.5448 GB, free: 11.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3858, allocations: 0 / 0.5448 GB, free: 11.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007452/0.3866, allocations: 242.2 kB / 0.545 GB, free: 11.6 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.0005094/0.3871, allocations: 264.2 kB / 0.5452 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007117/0.3878, allocations: 387.3 kB / 0.5456 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3878, allocations: 2.875 kB / 0.5456 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.3883, allocations: 391.3 kB / 0.546 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008466/0.3892, allocations: 313.2 kB / 0.5463 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.3911, allocations: 1.158 MB / 0.5474 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.3913, allocations: 169.6 kB / 0.5476 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006808/0.3919, allocations: 430.9 kB / 0.548 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.3922, allocations: 95.06 kB / 0.5481 GB, free: 10.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.213e-06/0.3922, allocations: 0 / 0.5481 GB, free: 10.11 MB / 426.7 MB Notification: Performance of Templates: time 0.01949/0.4117, allocations: 14.91 MB / 0.5626 GB, free: 12.88 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1999244331382215]