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.001451/0.001451, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00234/0.00234, 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 0.9905/0.9905, allocations: 177.1 MB / 205 MB, free: 5.621 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.2779/0.2779, allocations: 32.8 MB / 294.3 MB, free: 1.289 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 2.134e-06/2.134e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.693e-05, allocations: 2.312 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3581/0.3582, allocations: 149.6 MB / 0.5133 GB, free: 17.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004707/0.3629, allocations: 2.605 MB / 0.5159 GB, free: 15.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006877/0.3636, allocations: 31.31 kB / 0.5159 GB, free: 15.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006789/0.3642, allocations: 208.2 kB / 0.5161 GB, free: 15.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002896/0.3671, allocations: 1.174 MB / 0.5173 GB, free: 14.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.369, allocations: 0.8269 MB / 0.5181 GB, free: 14.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001926/0.3709, allocations: 1.909 MB / 0.5199 GB, free: 13.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007353/0.3716, allocations: 415.6 kB / 0.5203 GB, free: 12.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.3737, allocations: 1.241 MB / 0.5215 GB, free: 12.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009267/0.3746, allocations: 0.5958 MB / 0.5221 GB, free: 12.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.3748, allocations: 60.31 kB / 0.5222 GB, free: 12.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009332/0.3757, allocations: 449.8 kB / 0.5226 GB, free: 12.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.3759, allocations: 286.1 kB / 0.5229 GB, free: 12.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.3762, allocations: 282.7 kB / 0.5232 GB, free: 11.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.3776, allocations: 0.993 MB / 0.5241 GB, free: 11.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3776, allocations: 4 kB / 0.5241 GB, free: 11.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3776, allocations: 0 / 0.5241 GB, free: 11.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.3776, allocations: 0 / 0.5241 GB, free: 11.53 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.001744/0.3794, allocations: 1.123 MB / 0.5252 GB, free: 10.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3794, allocations: 8.844 kB / 0.5252 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007525/0.3802, allocations: 225 kB / 0.5255 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006279/0.3808, allocations: 496.5 kB / 0.5259 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.612e-05/0.3809, allocations: 154.2 kB / 0.5261 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.704e-05/0.381, allocations: 56.83 kB / 0.5261 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008263/0.3818, allocations: 0.9725 MB / 0.5271 GB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.3818, allocations: 10.88 kB / 0.5271 GB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.257e-05/0.3819, allocations: 25.11 kB / 0.5271 GB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/0.3819, allocations: 41.02 kB / 0.5271 GB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.3825, allocations: 307 kB / 0.5274 GB, free: 9.289 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.002771/0.3852, allocations: 3.864 MB / 0.5312 GB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.3856, allocations: 218.7 kB / 0.5314 GB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.3858, allocations: 90.3 kB / 0.5315 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-05/0.3859, allocations: 14.59 kB / 0.5315 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.3859, allocations: 44.64 kB / 0.5316 GB, free: 5.824 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.004e-06/0.3859, allocations: 0 / 0.5316 GB, free: 5.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.003337/0.3892, allocations: 1.168 MB / 0.5327 GB, free: 5.242 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.3893, allocations: 133.9 kB / 0.5328 GB, free: 5.086 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.3897, allocations: 0.5528 MB / 0.5334 GB, free: 4.781 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.3897, allocations: 36.36 kB / 0.5334 GB, free: 4.742 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.3899, allocations: 442.4 kB / 0.5338 GB, free: 4.371 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/0.39, allocations: 154.3 kB / 0.534 GB, free: 4.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.3902, allocations: 166.6 kB / 0.5341 GB, free: 4.164 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.754e-05/0.3903, allocations: 0.5471 MB / 0.5347 GB, free: 3.641 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.3904, allocations: 93.36 kB / 0.5348 GB, free: 3.629 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.3908, allocations: 0.6491 MB / 0.5354 GB, free: 2.879 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005847/0.3914, allocations: 0.6986 MB / 0.5361 GB, free: 2.168 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3914, allocations: 9.688 kB / 0.5361 GB, free: 2.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000954/0.3923, allocations: 0.6669 MB / 0.5367 GB, free: 1.906 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.3924, allocations: 8.094 kB / 0.5367 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3924, allocations: 12.06 kB / 0.5368 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008505/0.3932, allocations: 255.4 kB / 0.537 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.3935, allocations: 127.7 kB / 0.5371 GB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000657/0.3942, allocations: 1.008 MB / 0.5381 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.3946, allocations: 29.03 kB / 0.5381 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.582e-05/0.3946, allocations: 57.42 kB / 0.5382 GB, free: 0.9766 MB / 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.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 (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.0002161/0.3949, allocations: 208.3 kB / 0.5384 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.395, allocations: 77.25 kB / 0.5385 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.396, allocations: 0.6878 MB / 0.5391 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.396, allocations: 5.5 kB / 0.5391 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.396, allocations: 0 / 0.5391 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.396, allocations: 4 kB / 0.5391 GB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.3972, allocations: 0.9372 MB / 0.5401 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3972, allocations: 3 kB / 0.5401 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.3978, allocations: 196.2 kB / 0.5402 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/0.3979, allocations: 27.34 kB / 0.5403 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.3979, allocations: 19.73 kB / 0.5403 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.3997, allocations: 3.551 MB / 0.5438 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3997, allocations: 2.812 kB / 0.5438 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/0.4004, allocations: 0.6005 MB / 0.5443 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.4005, allocations: 97.66 kB / 0.5444 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.4006, allocations: 18.64 kB / 0.5445 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.4008, allocations: 19.19 kB / 0.5445 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.4008, allocations: 35.02 kB / 0.5445 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.4009, allocations: 37.28 kB / 0.5445 GB, free: 11.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000266/0.4011, allocations: 349.5 kB / 0.5449 GB, free: 11.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4011, allocations: 0 / 0.5449 GB, free: 11.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007005/0.4018, allocations: 252.9 kB / 0.5451 GB, free: 11.59 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.0004825/0.4023, allocations: 257.9 kB / 0.5454 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006806/0.403, allocations: 397.9 kB / 0.5457 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.403, allocations: 0 / 0.5457 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005063/0.4035, allocations: 384.5 kB / 0.5461 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.0007951/0.4043, allocations: 318.4 kB / 0.5464 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.4061, allocations: 1.156 MB / 0.5475 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.4062, allocations: 166.3 kB / 0.5477 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006109/0.4068, allocations: 427.3 kB / 0.5481 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.407, allocations: 102.6 kB / 0.5482 GB, free: 10.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/0.407, allocations: 0 / 0.5482 GB, free: 10.05 MB / 426.7 MB Notification: Performance of Templates: time 0.01992/0.4269, allocations: 16.37 MB / 0.5642 GB, free: 11.27 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.247204748913646]