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.001189/0.001189, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001188/0.001188, allocations: 161 kB / 24.99 MB, free: 8.805 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.005/1.005, allocations: 177 MB / 205.2 MB, free: 5.625 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.2725/0.2725, allocations: 34.87 MB / 296.6 MB, free: 0.5703 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.133e-06/1.133e-06, allocations: 0 / 378.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.365e-05, allocations: 3.438 kB / 378.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.359/0.359, allocations: 171.8 MB / 0.5377 GB, free: 15.57 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005972/0.3649, allocations: 5.426 MB / 0.543 GB, free: 11.92 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007175/0.3657, allocations: 26.91 kB / 0.543 GB, free: 11.9 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008981/0.3666, allocations: 307.4 kB / 0.5433 GB, free: 11.74 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003567/0.3701, allocations: 1.396 MB / 0.5446 GB, free: 10.98 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002565/0.3727, allocations: 1.085 MB / 0.5457 GB, free: 10.43 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002124/0.3748, allocations: 1.879 MB / 0.5475 GB, free: 9.57 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007342/0.3756, allocations: 418.1 kB / 0.5479 GB, free: 9.289 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/0.378, allocations: 1.351 MB / 0.5493 GB, free: 8.453 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.3795, allocations: 0.7278 MB / 0.55 GB, free: 8.055 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.3796, allocations: 62.69 kB / 0.55 GB, free: 8.055 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.3809, allocations: 0.5536 MB / 0.5506 GB, free: 7.812 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.3811, allocations: 289 kB / 0.5508 GB, free: 7.613 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.3815, allocations: 294.4 kB / 0.5511 GB, free: 7.473 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.3832, allocations: 1.083 MB / 0.5522 GB, free: 6.836 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3832, allocations: 0 / 0.5522 GB, free: 6.836 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3832, allocations: 10.62 kB / 0.5522 GB, free: 6.828 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.532e-05/0.3833, allocations: 0 / 0.5522 GB, free: 6.828 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.002029/0.3853, allocations: 1.152 MB / 0.5533 GB, free: 5.934 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.096e-05/0.3854, allocations: 9.125 kB / 0.5533 GB, free: 5.934 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008986/0.3863, allocations: 222.4 kB / 0.5535 GB, free: 5.824 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007935/0.3871, allocations: 488.9 kB / 0.554 GB, free: 5.469 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.3872, allocations: 148 kB / 0.5541 GB, free: 5.324 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3873, allocations: 65.27 kB / 0.5542 GB, free: 5.297 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.3884, allocations: 1 MB / 0.5552 GB, free: 4.316 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.3885, allocations: 3.938 kB / 0.5552 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.3885, allocations: 24 kB / 0.5552 GB, free: 4.289 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.544e-05/0.3886, allocations: 44.97 kB / 0.5553 GB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005548/0.3891, allocations: 309.5 kB / 0.5556 GB, free: 3.941 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.003454/0.3926, allocations: 3.887 MB / 0.5593 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.393, allocations: 212.2 kB / 0.5595 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.3931, allocations: 84.2 kB / 0.5596 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.3933, allocations: 20.27 kB / 0.5596 GB, free: 15.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.3933, allocations: 41.67 kB / 0.5597 GB, free: 15.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.166e-06/0.3933, allocations: 0 / 0.5597 GB, free: 15.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.00359/0.3969, allocations: 1.16 MB / 0.5608 GB, free: 14.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.791e-05/0.397, allocations: 140.5 kB / 0.561 GB, free: 14.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006463/0.3976, allocations: 0.5374 MB / 0.5615 GB, free: 13.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.3977, allocations: 37.7 kB / 0.5615 GB, free: 13.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.398, allocations: 431 kB / 0.5619 GB, free: 13.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.3981, allocations: 154.7 kB / 0.5621 GB, free: 12.97 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.3983, allocations: 156.2 kB / 0.5622 GB, free: 12.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.3985, allocations: 0.5546 MB / 0.5628 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.3987, allocations: 97.88 kB / 0.5629 GB, free: 12.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.3993, allocations: 0.6113 MB / 0.5635 GB, free: 11.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007884/0.4, allocations: 0.6606 MB / 0.5641 GB, free: 10.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.4001, allocations: 7.938 kB / 0.5641 GB, free: 10.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001458/0.4015, allocations: 0.6451 MB / 0.5647 GB, free: 9.805 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.4015, allocations: 8.188 kB / 0.5647 GB, free: 9.797 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.4016, allocations: 12 kB / 0.5648 GB, free: 9.785 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009753/0.4025, allocations: 263.3 kB / 0.565 GB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.4029, allocations: 123.8 kB / 0.5651 GB, free: 9.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008632/0.4037, allocations: 1.002 MB / 0.5661 GB, free: 8.379 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.4042, allocations: 28 kB / 0.5661 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-05/0.4042, allocations: 60.02 kB / 0.5662 GB, free: 8.293 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.003426/0.4077, allocations: 208.3 kB / 0.5664 GB, free: 8.078 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.4079, allocations: 83.56 kB / 0.5665 GB, free: 7.996 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.4091, allocations: 0.6741 MB / 0.5671 GB, free: 7.309 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.4091, allocations: 7.984 kB / 0.5671 GB, free: 7.301 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4091, allocations: 0 / 0.5671 GB, free: 7.301 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4091, allocations: 4 kB / 0.5671 GB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.4118, allocations: 0.941 MB / 0.5681 GB, free: 6.285 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.4118, allocations: 0 / 0.5681 GB, free: 6.285 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008014/0.4126, allocations: 195.8 kB / 0.5682 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001372/0.4127, allocations: 27.86 kB / 0.5683 GB, free: 6.062 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/0.4128, allocations: 23.92 kB / 0.5683 GB, free: 6.039 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/0.4148, allocations: 3.555 MB / 0.5718 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4148, allocations: 0 / 0.5718 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.4159, allocations: 0.5998 MB / 0.5724 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.4162, allocations: 99.56 kB / 0.5724 GB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.039e-05/0.4163, allocations: 15.94 kB / 0.5725 GB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.4165, allocations: 15.98 kB / 0.5725 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.886e-05/0.4166, allocations: 39.98 kB / 0.5725 GB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.4167, allocations: 39.92 kB / 0.5726 GB, free: 1.395 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003623/0.417, allocations: 342.8 kB / 0.5729 GB, free: 1.062 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.417, allocations: 0 / 0.5729 GB, free: 1.062 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009548/0.418, allocations: 251.8 kB / 0.5731 GB, free: 0.8164 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.0006158/0.4186, allocations: 294.7 kB / 0.5734 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007891/0.4194, allocations: 381.7 kB / 0.5738 GB, free: 148 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4194, allocations: 4 kB / 0.5738 GB, free: 144 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006504/0.4201, allocations: 387.1 kB / 0.5741 GB, free: 15.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.4212, allocations: 322.3 kB / 0.5744 GB, free: 15.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.4235, allocations: 1.149 MB / 0.5756 GB, free: 14.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.4236, allocations: 166.4 kB / 0.5757 GB, free: 14.06 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000799/0.4244, allocations: 422.6 kB / 0.5761 GB, free: 13.65 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.4246, allocations: 104.4 kB / 0.5762 GB, free: 13.55 MB / 458.7 MB Notification: Performance of SimCode: time 1.814e-06/0.4246, allocations: 0 / 0.5762 GB, free: 13.55 MB / 458.7 MB Notification: Performance of Templates: time 0.02278/0.4474, allocations: 15.47 MB / 0.5913 GB, free: 14.33 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","",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.008860019035637]