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.002075/0.002075, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002396/0.002396, allocations: 161.7 kB / 24.27 MB, free: 172 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.492/1.492, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3466/0.3466, allocations: 34.26 MB / 295.3 MB, free: 0.6797 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.793e-06/1.793e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.902e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4119/0.4119, allocations: 154.6 MB / 0.5194 GB, free: 9.305 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007025/0.4189, allocations: 4.912 MB / 0.5242 GB, free: 5.988 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008171/0.4197, allocations: 33.34 kB / 0.5243 GB, free: 5.969 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.4209, allocations: 318.4 kB / 0.5246 GB, free: 5.793 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004077/0.425, allocations: 1.388 MB / 0.5259 GB, free: 5.039 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002699/0.4277, allocations: 1.082 MB / 0.527 GB, free: 4.496 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0019/0.4296, allocations: 1.883 MB / 0.5288 GB, free: 3.633 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005446/0.4301, allocations: 417.1 kB / 0.5292 GB, free: 3.375 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.4323, allocations: 1.351 MB / 0.5305 GB, free: 2.797 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.4336, allocations: 0.7185 MB / 0.5312 GB, free: 2.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.4337, allocations: 65.19 kB / 0.5313 GB, free: 2.566 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.4351, allocations: 0.5577 MB / 0.5318 GB, free: 2.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.4354, allocations: 287.2 kB / 0.5321 GB, free: 2.273 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003615/0.4358, allocations: 280.4 kB / 0.5324 GB, free: 2.172 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.4375, allocations: 1.391 MB / 0.5337 GB, free: 1.695 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4375, allocations: 0 / 0.5337 GB, free: 1.695 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4375, allocations: 0 / 0.5337 GB, free: 1.695 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.4375, allocations: 0 / 0.5337 GB, free: 1.695 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.002025/0.4396, allocations: 1.04 MB / 0.5348 GB, free: 1.027 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4396, allocations: 8.312 kB / 0.5348 GB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000895/0.4405, allocations: 230.3 kB / 0.535 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007912/0.4413, allocations: 0.5051 MB / 0.5355 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.4414, allocations: 153.2 kB / 0.5356 GB, free: 424 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.4415, allocations: 54.39 kB / 0.5357 GB, free: 404 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.4432, allocations: 1.136 MB / 0.5368 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.4432, allocations: 0 / 0.5368 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.26e-05/0.4433, allocations: 27.67 kB / 0.5368 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.097e-05/0.4434, allocations: 46.53 kB / 0.5369 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.4445, allocations: 0.6151 MB / 0.5375 GB, free: 15.08 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.004671/0.4491, allocations: 3.224 MB / 0.5406 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006129/0.4497, allocations: 334.5 kB / 0.5409 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.45, allocations: 161.7 kB / 0.5411 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.071e-05/0.4501, allocations: 15.05 kB / 0.5411 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.4502, allocations: 39.66 kB / 0.5411 GB, free: 12.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.423e-06/0.4502, allocations: 0 / 0.5411 GB, free: 12.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005604/0.4558, allocations: 1.583 MB / 0.5427 GB, free: 11.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.4559, allocations: 133.9 kB / 0.5428 GB, free: 10.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006775/0.4566, allocations: 0.5318 MB / 0.5433 GB, free: 10.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/0.4566, allocations: 37.11 kB / 0.5434 GB, free: 10.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/0.457, allocations: 379.6 kB / 0.5437 GB, free: 10.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.4571, allocations: 149.7 kB / 0.5439 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.4574, allocations: 147.6 kB / 0.544 GB, free: 10.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.4576, allocations: 379.2 kB / 0.5444 GB, free: 9.703 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/0.458, allocations: 201.4 kB / 0.5446 GB, free: 9.605 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007501/0.4587, allocations: 0.5829 MB / 0.5451 GB, free: 9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.4598, allocations: 0.7453 MB / 0.5459 GB, free: 8.371 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.4598, allocations: 2.781 kB / 0.5459 GB, free: 8.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001646/0.4614, allocations: 0.8935 MB / 0.5467 GB, free: 7.914 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.4615, allocations: 8.5 kB / 0.5467 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.4615, allocations: 11.47 kB / 0.5468 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.4629, allocations: 303.9 kB / 0.547 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.4633, allocations: 123.8 kB / 0.5472 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.4645, allocations: 0.9239 MB / 0.5481 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.465, allocations: 33.27 kB / 0.5481 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.858e-05/0.4651, allocations: 58.69 kB / 0.5482 GB, free: 7.008 MB / 426.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.0004451/0.4656, allocations: 245.4 kB / 0.5484 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.4658, allocations: 76.94 kB / 0.5485 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.4675, allocations: 0.8203 MB / 0.5493 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.4675, allocations: 4 kB / 0.5493 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.4675, allocations: 0 / 0.5493 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4675, allocations: 0 / 0.5493 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.4699, allocations: 1.055 MB / 0.5503 GB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.47, allocations: 4.188 kB / 0.5503 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.4711, allocations: 211.4 kB / 0.5505 GB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.4713, allocations: 20.84 kB / 0.5505 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/0.4713, allocations: 19.94 kB / 0.5505 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/0.4741, allocations: 2.633 MB / 0.5531 GB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.4741, allocations: 3.938 kB / 0.5531 GB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.4757, allocations: 0.7949 MB / 0.5539 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/0.4761, allocations: 107.6 kB / 0.554 GB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.4762, allocations: 11.94 kB / 0.554 GB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004484/0.4767, allocations: 15.98 kB / 0.554 GB, free: 1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.4768, allocations: 35.95 kB / 0.5541 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.471e-05/0.4769, allocations: 35.98 kB / 0.5541 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007202/0.4776, allocations: 358.8 kB / 0.5544 GB, free: 0.582 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4776, allocations: 0 / 0.5544 GB, free: 0.582 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001104/0.4787, allocations: 259.7 kB / 0.5547 GB, free: 336 kB / 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.0008068/0.4795, allocations: 289.3 kB / 0.555 GB, free: 40 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.4808, allocations: 0.516 MB / 0.5555 GB, free: 15.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.4809, allocations: 4 kB / 0.5555 GB, free: 15.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.482, allocations: 402.6 kB / 0.5558 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.4836, allocations: 316.9 kB / 0.5561 GB, free: 14.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.4862, allocations: 1.255 MB / 0.5574 GB, free: 13.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.4866, allocations: 332.3 kB / 0.5577 GB, free: 13.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001091/0.4877, allocations: 430.4 kB / 0.5581 GB, free: 12.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.488, allocations: 96.45 kB / 0.5582 GB, free: 12.65 MB / 442.7 MB Notification: Performance of SimCode: time 1.613e-06/0.488, allocations: 0 / 0.5582 GB, free: 12.65 MB / 442.7 MB Notification: Performance of Templates: time 0.03145/0.5195, allocations: 15.4 MB / 0.5732 GB, free: 13.5 MB / 458.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.97911740699783]