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.002526/0.002526, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002878/0.002878, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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.618/1.618, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3413/0.3413, allocations: 34.26 MB / 295.2 MB, free: 0.6367 MB / 266.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.352e-06/1.352e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.805e-05, allocations: 6.25 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3588/0.3589, allocations: 171.7 MB / 0.5361 GB, free: 140 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008445/0.3673, allocations: 5.422 MB / 0.5414 GB, free: 12.49 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005239/0.3678, allocations: 26.47 kB / 0.5414 GB, free: 12.48 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009099/0.3687, allocations: 323.7 kB / 0.5417 GB, free: 12.3 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003303/0.3721, allocations: 1.392 MB / 0.5431 GB, free: 11.54 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.3748, allocations: 1.084 MB / 0.5441 GB, free: 11 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002131/0.3769, allocations: 1.875 MB / 0.546 GB, free: 10.14 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006377/0.3775, allocations: 417.8 kB / 0.5464 GB, free: 9.883 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00284/0.3804, allocations: 1.361 MB / 0.5477 GB, free: 9.07 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.3818, allocations: 0.7242 MB / 0.5484 GB, free: 8.676 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.3819, allocations: 62.66 kB / 0.5485 GB, free: 8.676 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.3832, allocations: 0.5549 MB / 0.549 GB, free: 8.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003702/0.3836, allocations: 295.3 kB / 0.5493 GB, free: 8.227 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004093/0.384, allocations: 280.7 kB / 0.5496 GB, free: 8.098 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.3861, allocations: 1.398 MB / 0.5509 GB, free: 7.203 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3861, allocations: 0 / 0.5509 GB, free: 7.203 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3861, allocations: 0 / 0.5509 GB, free: 7.203 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.3862, allocations: 0 / 0.5509 GB, free: 7.203 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.002439/0.3886, allocations: 1.191 MB / 0.5521 GB, free: 6.293 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3886, allocations: 8.25 kB / 0.5521 GB, free: 6.293 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009706/0.3896, allocations: 221.1 kB / 0.5523 GB, free: 6.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.3906, allocations: 0.4903 MB / 0.5528 GB, free: 5.816 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.3908, allocations: 157.7 kB / 0.5529 GB, free: 5.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.3909, allocations: 55.81 kB / 0.553 GB, free: 5.645 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.3924, allocations: 1.121 MB / 0.5541 GB, free: 4.574 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.3925, allocations: 0 / 0.5541 GB, free: 4.574 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.509e-05/0.3925, allocations: 27.94 kB / 0.5541 GB, free: 4.547 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.865e-05/0.3926, allocations: 36.92 kB / 0.5541 GB, free: 4.512 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.3937, allocations: 471.5 kB / 0.5546 GB, free: 4.051 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.005905/0.3996, allocations: 4.152 MB / 0.5586 GB, free: 15.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006243/0.4002, allocations: 296.1 kB / 0.5589 GB, free: 15.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.4005, allocations: 136.2 kB / 0.5591 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.4006, allocations: 16.27 kB / 0.5591 GB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.4006, allocations: 41.67 kB / 0.5591 GB, free: 15.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/0.4006, allocations: 0 / 0.5591 GB, free: 15.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.005675/0.4063, allocations: 1.389 MB / 0.5605 GB, free: 13.81 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.4064, allocations: 132.5 kB / 0.5606 GB, free: 13.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00084/0.4073, allocations: 0.6585 MB / 0.5612 GB, free: 12.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.4073, allocations: 37.7 kB / 0.5613 GB, free: 12.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/0.4077, allocations: 455 kB / 0.5617 GB, free: 12.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.4079, allocations: 158.8 kB / 0.5619 GB, free: 12.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/0.4082, allocations: 180.2 kB / 0.562 GB, free: 12.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003878/0.4086, allocations: 0.5781 MB / 0.5626 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.4089, allocations: 145.9 kB / 0.5627 GB, free: 11.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.41, allocations: 0.681 MB / 0.5634 GB, free: 10.51 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.4112, allocations: 0.7861 MB / 0.5642 GB, free: 9.531 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.4112, allocations: 4 kB / 0.5642 GB, free: 9.527 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001584/0.4128, allocations: 0.7811 MB / 0.5649 GB, free: 8.734 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.4128, allocations: 8 kB / 0.5649 GB, free: 8.727 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.4128, allocations: 12 kB / 0.565 GB, free: 8.715 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.4143, allocations: 288.9 kB / 0.5652 GB, free: 8.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.4148, allocations: 123.8 kB / 0.5654 GB, free: 8.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.4162, allocations: 1.13 MB / 0.5665 GB, free: 7.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.4167, allocations: 28 kB / 0.5665 GB, free: 7.121 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.4168, allocations: 59.98 kB / 0.5665 GB, free: 7.062 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.0003739/0.4172, allocations: 248.2 kB / 0.5668 GB, free: 6.809 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.4174, allocations: 83.56 kB / 0.5669 GB, free: 6.727 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.4191, allocations: 0.7875 MB / 0.5676 GB, free: 5.926 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4191, allocations: 4 kB / 0.5676 GB, free: 5.922 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4191, allocations: 0 / 0.5676 GB, free: 5.922 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4191, allocations: 3.938 kB / 0.5676 GB, free: 5.918 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.4214, allocations: 1.156 MB / 0.5688 GB, free: 4.688 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4214, allocations: 0 / 0.5688 GB, free: 4.688 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.4224, allocations: 200 kB / 0.569 GB, free: 4.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/0.4226, allocations: 27.67 kB / 0.569 GB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.4226, allocations: 27.92 kB / 0.569 GB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003727/0.4263, allocations: 3.641 MB / 0.5726 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4263, allocations: 0 / 0.5726 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.4279, allocations: 0.7695 MB / 0.5733 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.4283, allocations: 99.78 kB / 0.5734 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.574e-05/0.4284, allocations: 21.39 kB / 0.5734 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.4287, allocations: 19.94 kB / 0.5734 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.4289, allocations: 35.94 kB / 0.5735 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.429, allocations: 35.98 kB / 0.5735 GB, free: 15.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000758/0.4297, allocations: 402.8 kB / 0.5739 GB, free: 15.14 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4297, allocations: 0 / 0.5739 GB, free: 15.14 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009696/0.4307, allocations: 255.8 kB / 0.5741 GB, free: 14.89 MB / 458.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.0007425/0.4314, allocations: 287.3 kB / 0.5744 GB, free: 14.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.4327, allocations: 494.5 kB / 0.5749 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4327, allocations: 0 / 0.5749 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.4337, allocations: 446.2 kB / 0.5753 GB, free: 13.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.4353, allocations: 325.2 kB / 0.5756 GB, free: 13.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.4376, allocations: 1.218 MB / 0.5768 GB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.438, allocations: 324.3 kB / 0.5771 GB, free: 11.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001233/0.4392, allocations: 421.1 kB / 0.5775 GB, free: 11.33 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.4395, allocations: 96.44 kB / 0.5776 GB, free: 11.23 MB / 458.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4395, allocations: 0 / 0.5776 GB, free: 11.23 MB / 458.7 MB Notification: Performance of Templates: time 0.03014/0.4697, allocations: 15.45 MB / 0.5927 GB, free: 12.01 MB / 474.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.0458752328995615]