Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 115.2 kB / 17.04 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3238/0.3238, allocations: 43.52 MB / 314.7 MB, free: 500 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 66.12 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1213, allocations: 57.8 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4607/0.5819, allocations: 180.5 MB / 0.608 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007512/0.5895, allocations: 5.749 MB / 0.6136 GB, free: 4.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007468/0.5903, allocations: 18.28 kB / 0.6136 GB, free: 4.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009065/0.5913, allocations: 323.2 kB / 0.6139 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004156/0.5954, allocations: 1.572 MB / 0.6154 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.5985, allocations: 1.241 MB / 0.6166 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002433/0.601, allocations: 1.839 MB / 0.6184 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006205/0.6016, allocations: 468.5 kB / 0.6189 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.6044, allocations: 1.224 MB / 0.6201 GB, free: 448 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.6056, allocations: 0.7555 MB / 0.6208 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.6057, allocations: 60.41 kB / 0.6209 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.6074, allocations: 0.8231 MB / 0.6217 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.6077, allocations: 262.2 kB / 0.6219 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.6081, allocations: 394.4 kB / 0.6223 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.6099, allocations: 1.424 MB / 0.6237 GB, free: 14.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.6099, allocations: 4 kB / 0.6237 GB, free: 14.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6099, allocations: 4 kB / 0.6237 GB, free: 14.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.6099, allocations: 0 / 0.6237 GB, free: 14.24 MB / 446.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.00217/0.6121, allocations: 1.13 MB / 0.6248 GB, free: 13.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.6122, allocations: 11.97 kB / 0.6248 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007925/0.613, allocations: 135.1 kB / 0.6249 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009205/0.6139, allocations: 0.5314 MB / 0.6255 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.614, allocations: 106.4 kB / 0.6256 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.142e-05/0.6141, allocations: 52 kB / 0.6256 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.6152, allocations: 0.8213 MB / 0.6264 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.6153, allocations: 3.938 kB / 0.6264 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.708e-05/0.6154, allocations: 20 kB / 0.6264 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-05/0.6154, allocations: 40.98 kB / 0.6265 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000983/0.6164, allocations: 0.6204 MB / 0.6271 GB, free: 10.6 MB / 446.1 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.004415/0.6208, allocations: 3.977 MB / 0.631 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.6214, allocations: 353.9 kB / 0.6313 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.6217, allocations: 177.2 kB / 0.6315 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004213/0.6221, allocations: 353.5 kB / 0.6318 GB, free: 5.441 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.6221, allocations: 42.84 kB / 0.6319 GB, free: 5.391 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.844e-06/0.6221, allocations: 0 / 0.6319 GB, free: 5.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005784/0.6279, allocations: 1.673 MB / 0.6335 GB, free: 3.645 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/0.628, allocations: 136.5 kB / 0.6336 GB, free: 3.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/0.6288, allocations: 0.6094 MB / 0.6342 GB, free: 2.863 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/0.6289, allocations: 37.7 kB / 0.6342 GB, free: 2.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.6292, allocations: 362.9 kB / 0.6346 GB, free: 2.461 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.6293, allocations: 146 kB / 0.6347 GB, free: 2.316 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.6295, allocations: 158.5 kB / 0.6349 GB, free: 2.156 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.6297, allocations: 370.8 kB / 0.6352 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.6301, allocations: 201.9 kB / 0.6354 GB, free: 1.586 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/0.6307, allocations: 0.5164 MB / 0.6359 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008893/0.6316, allocations: 0.7448 MB / 0.6367 GB, free: 40 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6316, allocations: 4 kB / 0.6367 GB, free: 36 kB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001366/0.6329, allocations: 0.8802 MB / 0.6375 GB, free: 15.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.633, allocations: 8 kB / 0.6375 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.633, allocations: 12.12 kB / 0.6375 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.6343, allocations: 321.2 kB / 0.6379 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.6347, allocations: 123.8 kB / 0.638 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.6358, allocations: 0.9308 MB / 0.6389 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/0.6363, allocations: 36.05 kB / 0.6389 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.734e-05/0.6364, allocations: 60 kB / 0.639 GB, free: 13.64 MB / 462.1 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.0003132/0.6367, allocations: 249.4 kB / 0.6392 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.6368, allocations: 67.25 kB / 0.6393 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.6381, allocations: 0.6866 MB / 0.6399 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.6381, allocations: 4 kB / 0.6399 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6381, allocations: 0 / 0.6399 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.6381, allocations: 3.984 kB / 0.6399 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.6403, allocations: 1.615 MB / 0.6415 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.6403, allocations: 4 kB / 0.6415 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009988/0.6413, allocations: 207.7 kB / 0.6417 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.452e-05/0.6414, allocations: 24.97 kB / 0.6418 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/0.6414, allocations: 19.98 kB / 0.6418 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.6434, allocations: 2.881 MB / 0.6446 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6434, allocations: 3.938 kB / 0.6446 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.6446, allocations: 0.8005 MB / 0.6454 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/0.6449, allocations: 196.2 kB / 0.6456 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.103e-05/0.645, allocations: 8 kB / 0.6456 GB, free: 6.379 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.6454, allocations: 19.98 kB / 0.6456 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.6455, allocations: 43.83 kB / 0.6456 GB, free: 6.316 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.6456, allocations: 39.98 kB / 0.6457 GB, free: 6.277 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005125/0.6461, allocations: 439.1 kB / 0.6461 GB, free: 5.852 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6461, allocations: 0 / 0.6461 GB, free: 5.852 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009328/0.6471, allocations: 300 kB / 0.6464 GB, free: 5.559 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.000824/0.6479, allocations: 359.2 kB / 0.6467 GB, free: 5.203 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.649, allocations: 0.548 MB / 0.6472 GB, free: 4.656 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.649, allocations: 4 kB / 0.6473 GB, free: 4.652 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009056/0.6499, allocations: 418.2 kB / 0.6476 GB, free: 4.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.6513, allocations: 384.8 kB / 0.648 GB, free: 3.867 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.6533, allocations: 1.298 MB / 0.6493 GB, free: 2.527 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.6537, allocations: 0.9261 MB / 0.6502 GB, free: 1.574 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007056/0.6544, allocations: 266 kB / 0.6504 GB, free: 1.312 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.6547, allocations: 99.39 kB / 0.6505 GB, free: 1.215 MB / 462.1 MB Notification: Performance of SimCode: time 3.5e-07/0.6547, allocations: 0 / 0.6505 GB, free: 1.215 MB / 462.1 MB Notification: Performance of Templates: time 0.0275/0.6822, allocations: 18.33 MB / 0.6684 GB, free: 14.93 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches