Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001549/0.001549, allocations: 162.8 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.046/1.046, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1596/0.1596, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.867e-05, allocations: 5.484 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3647/0.3647, allocations: 146.9 MB / 0.5145 GB, free: 16.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.3676, allocations: 2.592 MB / 0.5171 GB, free: 15.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003124/0.3679, allocations: 26.62 kB / 0.5171 GB, free: 15.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005118/0.3684, allocations: 209.6 kB / 0.5173 GB, free: 15.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.3704, allocations: 1.168 MB / 0.5184 GB, free: 15.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.3716, allocations: 0.8325 MB / 0.5192 GB, free: 15.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.373, allocations: 1.904 MB / 0.5211 GB, free: 15.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003996/0.3734, allocations: 421.8 kB / 0.5215 GB, free: 15.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.3747, allocations: 1.236 MB / 0.5227 GB, free: 15.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005324/0.3752, allocations: 0.589 MB / 0.5233 GB, free: 15.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.374e-05/0.3753, allocations: 60.75 kB / 0.5233 GB, free: 15.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005754/0.3759, allocations: 451.8 kB / 0.5238 GB, free: 15.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.3761, allocations: 288.6 kB / 0.5241 GB, free: 15.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.3763, allocations: 283.7 kB / 0.5243 GB, free: 15.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008885/0.3772, allocations: 0.9941 MB / 0.5253 GB, free: 15.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3772, allocations: 0 / 0.5253 GB, free: 15.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3772, allocations: 0 / 0.5253 GB, free: 15.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.3772, allocations: 0 / 0.5253 GB, free: 15.42 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.001227/0.3784, allocations: 1.124 MB / 0.5264 GB, free: 14.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3785, allocations: 10.72 kB / 0.5264 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004932/0.379, allocations: 211.2 kB / 0.5266 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.3794, allocations: 484.1 kB / 0.5271 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-05/0.3795, allocations: 159.2 kB / 0.5272 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.3796, allocations: 57.72 kB / 0.5273 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005756/0.3802, allocations: 0.9444 MB / 0.5282 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3802, allocations: 2.25 kB / 0.5282 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.686e-05/0.3802, allocations: 26.5 kB / 0.5282 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/0.3803, allocations: 38.25 kB / 0.5283 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.3806, allocations: 259.1 kB / 0.5285 GB, free: 13.62 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.001918/0.3825, allocations: 3.771 MB / 0.5322 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.3827, allocations: 190.8 kB / 0.5324 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.4e-05/0.3828, allocations: 75.42 kB / 0.5324 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.777e-05/0.3829, allocations: 23.81 kB / 0.5325 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.3829, allocations: 46.08 kB / 0.5325 GB, free: 10.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.3829, allocations: 0 / 0.5325 GB, free: 10.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002261/0.3852, allocations: 0.9868 MB / 0.5335 GB, free: 10.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.3852, allocations: 141.5 kB / 0.5336 GB, free: 10.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.3855, allocations: 0.5493 MB / 0.5341 GB, free: 9.883 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.3856, allocations: 35.36 kB / 0.5342 GB, free: 9.852 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.3857, allocations: 437.6 kB / 0.5346 GB, free: 9.578 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.3858, allocations: 154.1 kB / 0.5347 GB, free: 9.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.386, allocations: 168.3 kB / 0.5349 GB, free: 9.453 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3861, allocations: 0.5523 MB / 0.5354 GB, free: 8.957 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.3862, allocations: 74.94 kB / 0.5355 GB, free: 8.953 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.3865, allocations: 0.6258 MB / 0.5361 GB, free: 8.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.3869, allocations: 0.675 MB / 0.5368 GB, free: 7.656 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3869, allocations: 2.781 kB / 0.5368 GB, free: 7.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006664/0.3875, allocations: 0.6237 MB / 0.5374 GB, free: 7.559 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3876, allocations: 11.81 kB / 0.5374 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3876, allocations: 10.75 kB / 0.5374 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000628/0.3882, allocations: 250.7 kB / 0.5377 GB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.3884, allocations: 126.1 kB / 0.5378 GB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000484/0.3889, allocations: 0.9834 MB / 0.5387 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.3891, allocations: 30.58 kB / 0.5388 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.3892, allocations: 54.55 kB / 0.5388 GB, free: 6.73 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.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[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.0001511/0.3893, allocations: 214.5 kB / 0.539 GB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/0.3894, allocations: 77.52 kB / 0.5391 GB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007656/0.3902, allocations: 0.6578 MB / 0.5397 GB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3902, allocations: 5.406 kB / 0.5397 GB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3902, allocations: 2.719 kB / 0.5397 GB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3902, allocations: 0 / 0.5397 GB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008532/0.3911, allocations: 0.8315 MB / 0.5406 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.3911, allocations: 0 / 0.5406 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/0.3915, allocations: 170.9 kB / 0.5407 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.708e-05/0.3916, allocations: 32.47 kB / 0.5408 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.3916, allocations: 18.95 kB / 0.5408 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009225/0.3926, allocations: 3.509 MB / 0.5442 GB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3926, allocations: 4.797 kB / 0.5442 GB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.393, allocations: 0.5672 MB / 0.5448 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3931, allocations: 93.83 kB / 0.5448 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.3932, allocations: 13.41 kB / 0.5449 GB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.3933, allocations: 22 kB / 0.5449 GB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.3934, allocations: 40.28 kB / 0.5449 GB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.3934, allocations: 32.94 kB / 0.545 GB, free: 2.152 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001619/0.3936, allocations: 325.9 kB / 0.5453 GB, free: 2.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3936, allocations: 0 / 0.5453 GB, free: 2.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005148/0.3941, allocations: 255.6 kB / 0.5455 GB, free: 2.004 MB / 410.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.0004006/0.3945, allocations: 257.4 kB / 0.5458 GB, free: 1.898 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004635/0.395, allocations: 355.8 kB / 0.5461 GB, free: 1.836 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.395, allocations: 6.938 kB / 0.5461 GB, free: 1.832 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003946/0.3954, allocations: 358 kB / 0.5464 GB, free: 1.617 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000737/0.3961, allocations: 317.2 kB / 0.5467 GB, free: 1.512 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.3975, allocations: 1.152 MB / 0.5479 GB, free: 0.793 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.844e-05/0.3976, allocations: 167.2 kB / 0.548 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000445/0.398, allocations: 364.4 kB / 0.5484 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005215/0.3986, allocations: 379.4 kB / 0.5487 GB, free: 356 kB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3986, allocations: 0 / 0.5487 GB, free: 356 kB / 410.7 MB Notification: Performance of Templates: time 0.01823/0.4168, allocations: 16.81 MB / 0.5652 GB, free: 4.934 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.198346354067326]