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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001914/0.001914, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002359/0.002359, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.11 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 78.47 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1156, allocations: 62.45 MB / 480.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4079/0.5235, allocations: 178.2 MB / 0.6435 GB, free: 0.918 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007788/0.5313, allocations: 5.336 MB / 0.6487 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000721/0.5321, allocations: 23.81 kB / 0.6487 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009944/0.5331, allocations: 321.9 kB / 0.649 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003607/0.5368, allocations: 1.335 MB / 0.6503 GB, free: 9.895 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.5395, allocations: 1.062 MB / 0.6514 GB, free: 8.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002463/0.542, allocations: 1.859 MB / 0.6532 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007555/0.5428, allocations: 453.9 kB / 0.6536 GB, free: 6.527 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.5454, allocations: 1.086 MB / 0.6547 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.5471, allocations: 0.755 MB / 0.6554 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.5474, allocations: 63.94 kB / 0.6555 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.5493, allocations: 0.5774 MB / 0.656 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004408/0.5498, allocations: 259.3 kB / 0.6563 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006567/0.5505, allocations: 398.2 kB / 0.6567 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.5526, allocations: 1.293 MB / 0.6579 GB, free: 2.098 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5527, allocations: 4 kB / 0.6579 GB, free: 2.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5527, allocations: 0 / 0.6579 GB, free: 2.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.815e-05/0.5527, allocations: 0 / 0.6579 GB, free: 2.094 MB / 494.1 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.002933/0.5557, allocations: 1.106 MB / 0.659 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.5557, allocations: 8.031 kB / 0.659 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009603/0.5567, allocations: 135 kB / 0.6592 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009738/0.5577, allocations: 0.508 MB / 0.6597 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.5578, allocations: 96.41 kB / 0.6597 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.5579, allocations: 51.98 kB / 0.6598 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.5594, allocations: 0.8165 MB / 0.6606 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.5595, allocations: 7.938 kB / 0.6606 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-05/0.5596, allocations: 31.92 kB / 0.6606 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.554e-05/0.5596, allocations: 40.91 kB / 0.6607 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.5609, allocations: 0.6205 MB / 0.6613 GB, free: 14.5 MB / 0.4981 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.005319/0.5662, allocations: 3.951 MB / 0.6651 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/0.5668, allocations: 358.2 kB / 0.6655 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.5672, allocations: 173.3 kB / 0.6656 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.5673, allocations: 101.3 kB / 0.6657 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.5674, allocations: 38.84 kB / 0.6658 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.893e-06/0.5674, allocations: 0 / 0.6658 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.006082/0.5735, allocations: 1.672 MB / 0.6674 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.918e-05/0.5736, allocations: 132.5 kB / 0.6675 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008443/0.5744, allocations: 0.6133 MB / 0.6681 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.5745, allocations: 37.7 kB / 0.6682 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/0.5748, allocations: 370.8 kB / 0.6685 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.575, allocations: 138 kB / 0.6687 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.5752, allocations: 158.5 kB / 0.6688 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.5754, allocations: 374.8 kB / 0.6692 GB, free: 6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.5758, allocations: 209.8 kB / 0.6694 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006516/0.5765, allocations: 0.517 MB / 0.6699 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.5776, allocations: 0.7475 MB / 0.6706 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5776, allocations: 0 / 0.6706 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001632/0.5793, allocations: 0.8869 MB / 0.6715 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.5793, allocations: 12 kB / 0.6715 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.5793, allocations: 8.906 kB / 0.6715 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.5808, allocations: 324.6 kB / 0.6718 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.5812, allocations: 119.8 kB / 0.6719 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.5824, allocations: 0.9309 MB / 0.6728 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.5829, allocations: 28 kB / 0.6728 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.583, allocations: 67.97 kB / 0.6729 GB, free: 1.836 MB / 0.4981 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.0003851/0.5834, allocations: 257.4 kB / 0.6732 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.5836, allocations: 67.16 kB / 0.6732 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.5855, allocations: 0.859 MB / 0.6741 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.5855, allocations: 4 kB / 0.6741 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5855, allocations: 0 / 0.6741 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5855, allocations: 0 / 0.6741 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.5878, allocations: 1.457 MB / 0.6755 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5878, allocations: 4.125 kB / 0.6755 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.5889, allocations: 211.8 kB / 0.6757 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.589, allocations: 28.83 kB / 0.6757 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.5891, allocations: 16 kB / 0.6757 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002478/0.5916, allocations: 2.882 MB / 0.6785 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.5916, allocations: 4.031 kB / 0.6785 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.5931, allocations: 0.8213 MB / 0.6794 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/0.5934, allocations: 188.1 kB / 0.6795 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.5936, allocations: 12 kB / 0.6795 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/0.594, allocations: 19.98 kB / 0.6796 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.5941, allocations: 47.95 kB / 0.6796 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.498e-05/0.5942, allocations: 43.98 kB / 0.6796 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006087/0.5948, allocations: 439 kB / 0.6801 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5948, allocations: 0 / 0.6801 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009847/0.5958, allocations: 248 kB / 0.6803 GB, free: 9.766 MB / 0.5137 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.0009121/0.5968, allocations: 309 kB / 0.6806 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.5982, allocations: 0.6098 MB / 0.6812 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.5982, allocations: 0 / 0.6812 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.5992, allocations: 406.7 kB / 0.6816 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.6011, allocations: 373.9 kB / 0.6819 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.6037, allocations: 1.385 MB / 0.6833 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/0.6043, allocations: 0.9261 MB / 0.6842 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004668/0.6048, allocations: 131.4 kB / 0.6843 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of SimCode: time 7.61e-07/0.6048, allocations: 0 / 0.6843 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of Templates: time 0.02655/0.6313, allocations: 16.57 MB / 0.7005 GB, free: 5.062 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p