Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001549/0.001549, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 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.001457/0.001457, allocations: 211.5 kB / 25.13 MB, free: 3.605 MB / 14.72 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.424/1.424, allocations: 230.4 MB / 258.7 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2292/0.2292, allocations: 46.93 MB / 362 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 79.86 kB / 0.4978 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3171, allocations: 66.09 MB / 0.5623 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2162/0.5333, allocations: 176.5 MB / 0.7347 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3131/0.8464, allocations: 5.319 MB / 0.7399 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005544/0.8469, allocations: 28.09 kB / 0.74 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008773/0.8478, allocations: 328.8 kB / 0.7403 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003305/0.8511, allocations: 1.379 MB / 0.7416 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.8536, allocations: 1.097 MB / 0.7427 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001957/0.8555, allocations: 1.876 MB / 0.7445 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004566/0.856, allocations: 393.8 kB / 0.7449 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.8577, allocations: 1.113 MB / 0.746 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.8588, allocations: 0.8034 MB / 0.7468 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.859, allocations: 60.72 kB / 0.7468 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.8601, allocations: 0.5657 MB / 0.7474 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.8603, allocations: 271.5 kB / 0.7476 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003933/0.8607, allocations: 393.9 kB / 0.748 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.8621, allocations: 1.306 MB / 0.7493 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.8621, allocations: 2.234 kB / 0.7493 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8621, allocations: 0 / 0.7493 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.8621, allocations: 0 / 0.7493 GB, free: 1.602 MB / 0.5606 GB 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.002025/0.8641, allocations: 1.053 MB / 0.7503 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.8642, allocations: 7.781 kB / 0.7503 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007866/0.8649, allocations: 138.1 kB / 0.7505 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000758/0.8657, allocations: 479.8 kB / 0.7509 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.8658, allocations: 154.3 kB / 0.7511 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-05/0.8659, allocations: 49.84 kB / 0.7511 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.8671, allocations: 1.144 MB / 0.7522 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.8672, allocations: 3.094 kB / 0.7522 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/0.8672, allocations: 25.92 kB / 0.7523 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-05/0.8673, allocations: 38.39 kB / 0.7523 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000878/0.8682, allocations: 0.6203 MB / 0.7529 GB, free: 16.08 MB / 0.5762 GB 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.004134/0.8723, allocations: 3.887 MB / 0.7567 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.8728, allocations: 340.4 kB / 0.757 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.873, allocations: 161.8 kB / 0.7572 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.244e-05/0.8731, allocations: 14.62 kB / 0.7572 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.8731, allocations: 41.91 kB / 0.7572 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.954e-06/0.8731, allocations: 1.094 kB / 0.7572 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.00501/0.8781, allocations: 1.614 MB / 0.7588 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/0.8782, allocations: 135 kB / 0.7589 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000634/0.8789, allocations: 0.6217 MB / 0.7595 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/0.8789, allocations: 36.05 kB / 0.7596 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.8791, allocations: 376.6 kB / 0.7599 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.194e-05/0.8792, allocations: 152.2 kB / 0.7601 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.8794, allocations: 158 kB / 0.7602 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.8796, allocations: 375.1 kB / 0.7606 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.8799, allocations: 202.5 kB / 0.7608 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/0.8805, allocations: 0.5867 MB / 0.7614 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008788/0.8814, allocations: 0.7547 MB / 0.7621 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8814, allocations: 3.531 kB / 0.7621 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001276/0.8826, allocations: 0.8767 MB / 0.7629 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.8827, allocations: 9.562 kB / 0.763 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/0.8827, allocations: 11.06 kB / 0.763 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.884, allocations: 312.2 kB / 0.7633 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.8844, allocations: 122.6 kB / 0.7634 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.8854, allocations: 0.9321 MB / 0.7643 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.8859, allocations: 31.31 kB / 0.7643 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.89e-05/0.886, allocations: 63.75 kB / 0.7644 GB, free: 10.59 MB / 0.5762 GB 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.000346/0.8863, allocations: 245.4 kB / 0.7646 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.8865, allocations: 75.09 kB / 0.7647 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.8879, allocations: 0.8694 MB / 0.7655 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.8879, allocations: 4.188 kB / 0.7655 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8879, allocations: 0 / 0.7655 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.8879, allocations: 3.469 kB / 0.7655 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.8897, allocations: 1.216 MB / 0.7667 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.8897, allocations: 3.625 kB / 0.7667 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.8907, allocations: 206.9 kB / 0.7669 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.587e-05/0.8908, allocations: 22.39 kB / 0.767 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.8909, allocations: 23.94 kB / 0.767 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.893, allocations: 2.673 MB / 0.7696 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.893, allocations: 3.469 kB / 0.7696 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.8942, allocations: 0.8153 MB / 0.7704 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.8945, allocations: 121.3 kB / 0.7705 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.8946, allocations: 11.97 kB / 0.7705 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.8949, allocations: 15.34 kB / 0.7705 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/0.895, allocations: 48.67 kB / 0.7706 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/0.8951, allocations: 41.44 kB / 0.7706 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004632/0.8956, allocations: 438.2 kB / 0.771 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.8956, allocations: 0.8125 kB / 0.771 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008528/0.8964, allocations: 255.8 kB / 0.7713 GB, free: 7.098 MB / 0.5762 GB 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 (39): * Single equations (assignments): 37 * 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.0005808/0.897, allocations: 275.3 kB / 0.7715 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00099/0.898, allocations: 0.5379 MB / 0.7721 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.898, allocations: 4.75 kB / 0.7721 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009133/0.8989, allocations: 411.9 kB / 0.7725 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.9003, allocations: 376.2 kB / 0.7728 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.9027, allocations: 1.348 MB / 0.7741 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.9032, allocations: 0.9324 MB / 0.775 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009432/0.9042, allocations: 464.2 kB / 0.7755 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.9045, allocations: 111.6 kB / 0.7756 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.9045, allocations: 1.125 kB / 0.7756 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.02598/0.9304, allocations: 18.11 MB / 0.7933 GB, free: 1.133 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.058574971044436]