Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001515/0.001515, allocations: 92.31 kB / 20.21 MB, free: 4.203 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.001633/0.001633, allocations: 161.3 kB / 23.52 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2195/0.2195, allocations: 32.37 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 347 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.894e-05, allocations: 2.312 kB / 347 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3628/0.3629, allocations: 156.4 MB / 0.4915 GB, free: 0.957 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.3732, allocations: 5.292 MB / 0.4967 GB, free: 12.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.3744, allocations: 28.97 kB / 0.4967 GB, free: 12.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.3758, allocations: 313.9 kB / 0.497 GB, free: 12.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005105/0.3809, allocations: 1.621 MB / 0.4986 GB, free: 11.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003691/0.3846, allocations: 1.272 MB / 0.4999 GB, free: 10.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002572/0.3872, allocations: 1.884 MB / 0.5017 GB, free: 9.246 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008473/0.388, allocations: 422.3 kB / 0.5021 GB, free: 8.836 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003547/0.3915, allocations: 1.499 MB / 0.5036 GB, free: 7.332 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.3929, allocations: 0.7243 MB / 0.5043 GB, free: 6.605 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.3931, allocations: 60 kB / 0.5043 GB, free: 6.547 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.3949, allocations: 0.7486 MB / 0.5051 GB, free: 5.797 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003629/0.3953, allocations: 283.1 kB / 0.5053 GB, free: 5.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004243/0.3957, allocations: 291.3 kB / 0.5056 GB, free: 5.234 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00236/0.3981, allocations: 1.535 MB / 0.5071 GB, free: 3.695 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3981, allocations: 0 / 0.5071 GB, free: 3.695 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3981, allocations: 0 / 0.5071 GB, free: 3.695 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.3981, allocations: 3.984 kB / 0.5071 GB, free: 3.691 MB / 378.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.002631/0.4007, allocations: 1.065 MB / 0.5082 GB, free: 2.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4008, allocations: 16.02 kB / 0.5082 GB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.4018, allocations: 223 kB / 0.5084 GB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.4029, allocations: 0.4974 MB / 0.5089 GB, free: 1.832 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.4031, allocations: 159.7 kB / 0.509 GB, free: 1.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.4032, allocations: 56 kB / 0.5091 GB, free: 1.598 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.4051, allocations: 1.161 MB / 0.5102 GB, free: 276 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/0.4051, allocations: 7.938 kB / 0.5102 GB, free: 268 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.203e-05/0.4052, allocations: 27.98 kB / 0.5102 GB, free: 240 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.955e-05/0.4053, allocations: 36.98 kB / 0.5103 GB, free: 204 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.4065, allocations: 0.6127 MB / 0.5109 GB, free: 15.59 MB / 394.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.005071/0.4116, allocations: 3.251 MB / 0.514 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/0.4123, allocations: 343.5 kB / 0.5144 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.4126, allocations: 157.3 kB / 0.5145 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000384/0.413, allocations: 130.2 kB / 0.5147 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.413, allocations: 42.78 kB / 0.5147 GB, free: 11.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.413, allocations: 4 kB / 0.5147 GB, free: 11.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.005872/0.4189, allocations: 1.567 MB / 0.5162 GB, free: 9.926 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001834/0.4191, allocations: 132.5 kB / 0.5164 GB, free: 9.766 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007566/0.4199, allocations: 0.5376 MB / 0.5169 GB, free: 9.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/0.4199, allocations: 29.7 kB / 0.5169 GB, free: 9.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.4203, allocations: 384.2 kB / 0.5173 GB, free: 8.801 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.4204, allocations: 150.7 kB / 0.5174 GB, free: 8.652 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.4207, allocations: 150.6 kB / 0.5176 GB, free: 8.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.4209, allocations: 374.7 kB / 0.5179 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.4213, allocations: 201.2 kB / 0.5181 GB, free: 7.934 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007876/0.4221, allocations: 0.5919 MB / 0.5187 GB, free: 7.176 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.4233, allocations: 0.7372 MB / 0.5194 GB, free: 6.301 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.4233, allocations: 8 kB / 0.5194 GB, free: 6.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001719/0.425, allocations: 0.888 MB / 0.5203 GB, free: 5.395 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.425, allocations: 12.19 kB / 0.5203 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.425, allocations: 12 kB / 0.5203 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.4265, allocations: 295.7 kB / 0.5206 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.4269, allocations: 123.8 kB / 0.5207 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.4283, allocations: 0.9231 MB / 0.5216 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.4287, allocations: 20 kB / 0.5216 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.89e-05/0.4288, allocations: 63.98 kB / 0.5217 GB, free: 3.93 MB / 394.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.000388/0.4292, allocations: 245.6 kB / 0.5219 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.4294, allocations: 83.5 kB / 0.522 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.4308, allocations: 0.6261 MB / 0.5226 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.4308, allocations: 4 kB / 0.5226 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4308, allocations: 0 / 0.5226 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4308, allocations: 0 / 0.5226 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/0.4332, allocations: 1.149 MB / 0.5237 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4332, allocations: 0 / 0.5237 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.4343, allocations: 199.8 kB / 0.5239 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001099/0.4344, allocations: 28.78 kB / 0.524 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.4345, allocations: 15.98 kB / 0.524 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002601/0.4371, allocations: 2.624 MB / 0.5265 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/0.4371, allocations: 12.22 kB / 0.5265 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.4385, allocations: 0.7822 MB / 0.5273 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/0.4387, allocations: 99.61 kB / 0.5274 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.725e-05/0.4388, allocations: 19.86 kB / 0.5274 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.4392, allocations: 19.94 kB / 0.5274 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.4393, allocations: 39.94 kB / 0.5275 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/0.4394, allocations: 35.98 kB / 0.5275 GB, free: 13.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005178/0.4399, allocations: 362.8 kB / 0.5279 GB, free: 13.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4399, allocations: 0 / 0.5279 GB, free: 13.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00102/0.441, allocations: 291.6 kB / 0.5281 GB, free: 13.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001019/0.442, allocations: 395.6 kB / 0.5285 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.4432, allocations: 0.5109 MB / 0.529 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4432, allocations: 0 / 0.529 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.4443, allocations: 403.7 kB / 0.5294 GB, free: 11.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.4458, allocations: 317.6 kB / 0.5297 GB, free: 11.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.4484, allocations: 1.204 MB / 0.5309 GB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.4488, allocations: 336.3 kB / 0.5312 GB, free: 9.793 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007996/0.4496, allocations: 236 kB / 0.5314 GB, free: 9.562 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.4498, allocations: 84.48 kB / 0.5315 GB, free: 9.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4498, allocations: 0 / 0.5315 GB, free: 9.48 MB / 410.7 MB Notification: Performance of Templates: time 0.03101/0.4809, allocations: 16.35 MB / 0.5475 GB, free: 9.227 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.877121607074514]