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.002089/0.002089, allocations: 83.69 kB / 20.96 MB, free: 3.316 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.002092/0.002092, allocations: 157.3 kB / 24.27 MB, free: 8 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.659/1.659, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] 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.3453/0.3453, allocations: 32.8 MB / 293.9 MB, free: 1.18 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.312e-06/1.312e-06, allocations: 0 / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.474e-05, allocations: 9.406 kB / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3555/0.3556, allocations: 171.7 MB / 0.5342 GB, free: 2.332 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006554/0.3621, allocations: 5.428 MB / 0.5395 GB, free: 14.68 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004984/0.3626, allocations: 27.75 kB / 0.5395 GB, free: 14.66 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009022/0.3635, allocations: 313.1 kB / 0.5398 GB, free: 14.49 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003291/0.3668, allocations: 1.391 MB / 0.5412 GB, free: 13.73 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002573/0.3694, allocations: 1.084 MB / 0.5422 GB, free: 13.19 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001981/0.3714, allocations: 1.882 MB / 0.5441 GB, free: 12.32 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005941/0.372, allocations: 425.3 kB / 0.5445 GB, free: 12.06 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.3742, allocations: 1.347 MB / 0.5458 GB, free: 11.49 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.3755, allocations: 0.7271 MB / 0.5465 GB, free: 11.13 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.3756, allocations: 62.81 kB / 0.5466 GB, free: 11.13 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.3768, allocations: 0.5536 MB / 0.5471 GB, free: 10.89 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003266/0.3771, allocations: 293 kB / 0.5474 GB, free: 10.69 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003615/0.3775, allocations: 282.5 kB / 0.5477 GB, free: 10.56 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.3794, allocations: 1.394 MB / 0.549 GB, free: 9.668 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3794, allocations: 4 kB / 0.549 GB, free: 9.664 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3794, allocations: 0 / 0.549 GB, free: 9.664 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.3794, allocations: 4 kB / 0.549 GB, free: 9.66 MB / 426.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.002674/0.3821, allocations: 1.187 MB / 0.5502 GB, free: 8.754 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.3821, allocations: 12.62 kB / 0.5502 GB, free: 8.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009548/0.3831, allocations: 217.1 kB / 0.5504 GB, free: 8.641 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009638/0.3841, allocations: 499.5 kB / 0.5509 GB, free: 8.277 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.3842, allocations: 160.3 kB / 0.551 GB, free: 8.121 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.3843, allocations: 49.03 kB / 0.5511 GB, free: 8.109 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.3858, allocations: 1.117 MB / 0.5522 GB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.3859, allocations: 3.938 kB / 0.5522 GB, free: 7.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/0.3859, allocations: 32.95 kB / 0.5522 GB, free: 7.047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.517e-05/0.386, allocations: 37.39 kB / 0.5522 GB, free: 7.039 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008812/0.3869, allocations: 466.2 kB / 0.5527 GB, free: 6.84 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.005255/0.3921, allocations: 4.15 MB / 0.5567 GB, free: 3.098 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.3928, allocations: 300.2 kB / 0.557 GB, free: 2.793 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.393, allocations: 136.1 kB / 0.5572 GB, free: 2.656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.3931, allocations: 16.27 kB / 0.5572 GB, free: 2.641 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.3932, allocations: 45.67 kB / 0.5572 GB, free: 2.586 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.954e-06/0.3932, allocations: 0 / 0.5572 GB, free: 2.586 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005954/0.3991, allocations: 1.381 MB / 0.5586 GB, free: 1.152 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.3992, allocations: 132.5 kB / 0.5587 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008495/0.4001, allocations: 0.6585 MB / 0.5593 GB, free: 324 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/0.4001, allocations: 33.7 kB / 0.5594 GB, free: 284 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/0.4006, allocations: 459.2 kB / 0.5598 GB, free: 15.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.4007, allocations: 162.7 kB / 0.56 GB, free: 15.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002851/0.401, allocations: 180.2 kB / 0.5601 GB, free: 15.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000353/0.4014, allocations: 0.5779 MB / 0.5607 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.4017, allocations: 141.9 kB / 0.5608 GB, free: 14.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008361/0.4025, allocations: 0.6893 MB / 0.5615 GB, free: 13.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.4037, allocations: 0.7811 MB / 0.5623 GB, free: 12.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.4037, allocations: 8 kB / 0.5623 GB, free: 12.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001566/0.4053, allocations: 0.7815 MB / 0.563 GB, free: 12.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.4053, allocations: 12.19 kB / 0.563 GB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.4053, allocations: 15.94 kB / 0.5631 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.4068, allocations: 283.5 kB / 0.5633 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/0.4072, allocations: 115.8 kB / 0.5634 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.4087, allocations: 1.135 MB / 0.5646 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.4092, allocations: 28 kB / 0.5646 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.4093, allocations: 59.98 kB / 0.5646 GB, free: 10.4 MB / 442.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.0003585/0.4097, allocations: 256.3 kB / 0.5649 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.4098, allocations: 79.56 kB / 0.565 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.4115, allocations: 0.7813 MB / 0.5657 GB, free: 9.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.4115, allocations: 4 kB / 0.5657 GB, free: 9.266 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4115, allocations: 3.938 kB / 0.5657 GB, free: 9.262 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4115, allocations: 4 kB / 0.5657 GB, free: 9.258 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.4137, allocations: 1.168 MB / 0.5669 GB, free: 8.016 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4137, allocations: 0 / 0.5669 GB, free: 8.016 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.4148, allocations: 199.4 kB / 0.5671 GB, free: 7.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.4149, allocations: 27.61 kB / 0.5671 GB, free: 7.793 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.415, allocations: 20 kB / 0.5671 GB, free: 7.773 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002991/0.4179, allocations: 3.648 MB / 0.5707 GB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4179, allocations: 4.25 kB / 0.5707 GB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.4193, allocations: 0.7654 MB / 0.5714 GB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004537/0.4198, allocations: 99.52 kB / 0.5715 GB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.235e-05/0.4199, allocations: 15.98 kB / 0.5715 GB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.4203, allocations: 12 kB / 0.5715 GB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.4204, allocations: 35.94 kB / 0.5716 GB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.239e-05/0.4204, allocations: 35.98 kB / 0.5716 GB, free: 2.875 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005224/0.421, allocations: 406.8 kB / 0.572 GB, free: 2.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.421, allocations: 3.938 kB / 0.572 GB, free: 2.477 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009759/0.4219, allocations: 255.8 kB / 0.5722 GB, free: 2.227 MB / 442.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.0006975/0.4226, allocations: 287.6 kB / 0.5725 GB, free: 1.938 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.4239, allocations: 494.6 kB / 0.573 GB, free: 1.453 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4239, allocations: 4 kB / 0.573 GB, free: 1.449 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.425, allocations: 441.8 kB / 0.5734 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.4266, allocations: 327.4 kB / 0.5737 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.429, allocations: 1.213 MB / 0.5749 GB, free: 15.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.4294, allocations: 328.3 kB / 0.5752 GB, free: 15.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009951/0.4304, allocations: 422.4 kB / 0.5756 GB, free: 14.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.4306, allocations: 100.4 kB / 0.5757 GB, free: 14.58 MB / 458.7 MB Notification: Performance of SimCode: time 1.382e-06/0.4307, allocations: 0 / 0.5757 GB, free: 14.58 MB / 458.7 MB Notification: Performance of Templates: time 0.0295/0.4602, allocations: 15.46 MB / 0.5908 GB, free: 15.36 MB / 474.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 6.054149508010596]