Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009401/0.0009402, allocations: 201.6 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007562/0.0007562, allocations: 96.23 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3058/0.3058, allocations: 45.01 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003067, allocations: 8 kB / 470.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2864, allocations: 63.11 MB / 0.5214 GB, free: 38.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4237/0.7101, allocations: 168.7 MB / 0.6861 GB, free: 11.55 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007573/0.7178, allocations: 7.456 MB / 0.6934 GB, free: 8.762 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000843/0.7186, allocations: 22.28 kB / 0.6934 GB, free: 8.762 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007535/0.7194, allocations: 275 kB / 0.6937 GB, free: 8.758 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.7224, allocations: 1.217 MB / 0.6949 GB, free: 8.691 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.7247, allocations: 0.9429 MB / 0.6958 GB, free: 8.656 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002557/0.7273, allocations: 2.724 MB / 0.6985 GB, free: 8.652 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005701/0.7279, allocations: 399.5 kB / 0.6988 GB, free: 8.613 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.7298, allocations: 0.9863 MB / 0.6998 GB, free: 8.594 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.7309, allocations: 0.766 MB / 0.7005 GB, free: 8.59 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.692e-05/0.731, allocations: 31.5 kB / 0.7006 GB, free: 8.59 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.7322, allocations: 0.5058 MB / 0.7011 GB, free: 8.578 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.7325, allocations: 240.6 kB / 0.7013 GB, free: 8.578 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004043/0.7329, allocations: 395.4 kB / 0.7017 GB, free: 8.547 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.7345, allocations: 1.259 MB / 0.7029 GB, free: 8.477 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7345, allocations: 6.531 kB / 0.7029 GB, free: 8.473 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.7345, allocations: 0 / 0.7029 GB, free: 8.473 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.7345, allocations: 0 / 0.7029 GB, free: 8.473 MB / 490.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.001765/0.7363, allocations: 0.9504 MB / 0.7038 GB, free: 7.875 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.7363, allocations: 10.44 kB / 0.7038 GB, free: 7.875 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007357/0.7371, allocations: 133.5 kB / 0.704 GB, free: 7.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007683/0.7378, allocations: 0.495 MB / 0.7045 GB, free: 7.578 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.738, allocations: 107.1 kB / 0.7046 GB, free: 7.512 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.7381, allocations: 51.56 kB / 0.7046 GB, free: 7.508 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.7397, allocations: 0.8181 MB / 0.7054 GB, free: 7.285 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.7397, allocations: 4.469 kB / 0.7054 GB, free: 7.281 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.005e-05/0.7398, allocations: 23.5 kB / 0.7054 GB, free: 7.281 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-05/0.7399, allocations: 46.31 kB / 0.7055 GB, free: 7.277 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.7412, allocations: 0.6145 MB / 0.7061 GB, free: 7.273 MB / 490.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.004501/0.7457, allocations: 3.942 MB / 0.7099 GB, free: 4.688 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006145/0.7464, allocations: 353.2 kB / 0.7103 GB, free: 4.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.7467, allocations: 174.1 kB / 0.7104 GB, free: 4.648 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.7468, allocations: 92.72 kB / 0.7105 GB, free: 4.555 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.7469, allocations: 40.34 kB / 0.7106 GB, free: 4.516 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/0.7469, allocations: 0 / 0.7106 GB, free: 4.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005177/0.752, allocations: 1.672 MB / 0.7122 GB, free: 4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.7521, allocations: 135.9 kB / 0.7123 GB, free: 3.844 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007261/0.7528, allocations: 0.6051 MB / 0.7129 GB, free: 3.707 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.7529, allocations: 36.52 kB / 0.7129 GB, free: 3.676 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.7531, allocations: 363.9 kB / 0.7133 GB, free: 3.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.7532, allocations: 140.9 kB / 0.7134 GB, free: 3.398 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.7533, allocations: 10.88 kB / 0.7134 GB, free: 3.398 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.7534, allocations: 383.6 kB / 0.7138 GB, free: 3.082 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.7537, allocations: 198.8 kB / 0.714 GB, free: 3.078 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005054/0.7543, allocations: 0.5149 MB / 0.7145 GB, free: 2.676 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008821/0.7551, allocations: 0.7498 MB / 0.7152 GB, free: 2.289 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.7552, allocations: 3.5 kB / 0.7152 GB, free: 2.289 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001462/0.7566, allocations: 0.8782 MB / 0.7161 GB, free: 2.199 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.7567, allocations: 13.47 kB / 0.7161 GB, free: 2.195 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.7567, allocations: 10.47 kB / 0.7161 GB, free: 2.195 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.758, allocations: 315.2 kB / 0.7164 GB, free: 2.176 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.7584, allocations: 127.2 kB / 0.7165 GB, free: 2.176 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.7596, allocations: 0.9335 MB / 0.7174 GB, free: 17.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.7601, allocations: 56.12 kB / 0.7175 GB, free: 17.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.7602, allocations: 64.27 kB / 0.7176 GB, free: 17.63 MB / 0.4948 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.0002999/0.7605, allocations: 246.3 kB / 0.7178 GB, free: 17.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.7606, allocations: 67.86 kB / 0.7179 GB, free: 17.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.7623, allocations: 0.8684 MB / 0.7187 GB, free: 17.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-06/0.7623, allocations: 4.188 kB / 0.7187 GB, free: 17.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.7623, allocations: 4.844 kB / 0.7187 GB, free: 17.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.7624, allocations: 4.047 kB / 0.7187 GB, free: 17.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.7642, allocations: 1.458 MB / 0.7201 GB, free: 16.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.7642, allocations: 4 kB / 0.7201 GB, free: 16.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000937/0.7651, allocations: 213.2 kB / 0.7204 GB, free: 16.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-05/0.7652, allocations: 26.44 kB / 0.7204 GB, free: 16.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.7653, allocations: 18.59 kB / 0.7204 GB, free: 16.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.7671, allocations: 2.681 MB / 0.723 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.7671, allocations: 6.672 kB / 0.723 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.7681, allocations: 0.8199 MB / 0.7238 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.7684, allocations: 197.6 kB / 0.724 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.99e-05/0.7685, allocations: 13.45 kB / 0.724 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.7689, allocations: 27.77 kB / 0.724 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.112e-05/0.769, allocations: 36.5 kB / 0.7241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.048e-05/0.7691, allocations: 51.58 kB / 0.7241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004722/0.7695, allocations: 436.1 kB / 0.7245 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7695, allocations: 0 / 0.7245 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000977/0.7705, allocations: 258.9 kB / 0.7248 GB, free: 13.61 MB / 0.4948 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.0007288/0.7713, allocations: 308.4 kB / 0.7251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009293/0.7722, allocations: 0.544 MB / 0.7256 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.7722, allocations: 3.688 kB / 0.7256 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008373/0.7731, allocations: 413.1 kB / 0.726 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.7746, allocations: 356.1 kB / 0.7264 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.7763, allocations: 1.637 MB / 0.728 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.7768, allocations: 0.9303 MB / 0.7289 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001151/0.7779, allocations: 464.8 kB / 0.7293 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.7783, allocations: 111.9 kB / 0.7294 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of SimCode: time 2.5e-07/0.7783, allocations: 0 / 0.7294 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.0239/0.8022, allocations: 16.77 MB / 0.7458 GB, free: 4.875 MB / 0.4948 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches