Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001181/0.001181, allocations: 98.7 kB / 16.98 MB, free: 6.402 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.001283/0.001283, allocations: 184.2 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2469/0.2469, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 12 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1316, allocations: 61.91 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4384/0.57, allocations: 142.6 MB / 0.5997 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007895/0.578, allocations: 5.522 MB / 0.6051 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009696/0.579, allocations: 23.75 kB / 0.6051 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.58, allocations: 262.7 kB / 0.6053 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003871/0.5839, allocations: 1.083 MB / 0.6064 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.5868, allocations: 0.8401 MB / 0.6072 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.5887, allocations: 1.04 MB / 0.6082 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006335/0.5893, allocations: 388.9 kB / 0.6086 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.591, allocations: 0.744 MB / 0.6093 GB, free: 9.492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.5921, allocations: 0.5567 MB / 0.6099 GB, free: 8.934 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.5922, allocations: 36 kB / 0.6099 GB, free: 8.898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.5935, allocations: 491.4 kB / 0.6104 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.5938, allocations: 219.4 kB / 0.6106 GB, free: 8.203 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.594, allocations: 169.3 kB / 0.6108 GB, free: 8.031 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.5951, allocations: 0.9106 MB / 0.6116 GB, free: 7.125 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.5951, allocations: 0 / 0.6116 GB, free: 7.125 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5951, allocations: 0 / 0.6116 GB, free: 7.125 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.5951, allocations: 0 / 0.6116 GB, free: 7.125 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.002054/0.5972, allocations: 0.9582 MB / 0.6126 GB, free: 6.113 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.5972, allocations: 8.562 kB / 0.6126 GB, free: 6.105 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008215/0.5981, allocations: 135.1 kB / 0.6127 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008983/0.599, allocations: 0.4888 MB / 0.6132 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.5991, allocations: 96.41 kB / 0.6133 GB, free: 5.336 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.051e-05/0.5992, allocations: 47.98 kB / 0.6133 GB, free: 5.289 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.6005, allocations: 0.8097 MB / 0.6141 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.6005, allocations: 7.938 kB / 0.6141 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.387e-05/0.6006, allocations: 20 kB / 0.6142 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.777e-05/0.6006, allocations: 40.97 kB / 0.6142 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009987/0.6016, allocations: 0.6205 MB / 0.6148 GB, free: 3.719 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.004462/0.6061, allocations: 3.961 MB / 0.6187 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.6067, allocations: 351.6 kB / 0.619 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.6068, allocations: 97.36 kB / 0.6191 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.6069, allocations: 42.8 kB / 0.6191 GB, free: 14.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 3.677e-06/0.6069, allocations: 3.984 kB / 0.6191 GB, free: 14.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005592/0.6125, allocations: 1.66 MB / 0.6208 GB, free: 13.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.6126, allocations: 136.5 kB / 0.6209 GB, free: 13.08 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007305/0.6133, allocations: 0.6094 MB / 0.6215 GB, free: 12.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/0.6134, allocations: 37.64 kB / 0.6215 GB, free: 12.42 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.6137, allocations: 366.8 kB / 0.6219 GB, free: 12.06 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.6138, allocations: 138.1 kB / 0.622 GB, free: 11.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.6138, allocations: 16 kB / 0.622 GB, free: 11.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.614, allocations: 374.8 kB / 0.6224 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.6144, allocations: 197.9 kB / 0.6226 GB, free: 11.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.6149, allocations: 0.5086 MB / 0.6231 GB, free: 10.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/0.6154, allocations: 296.5 kB / 0.6233 GB, free: 10.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.6154, allocations: 4 kB / 0.6233 GB, free: 10.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001437/0.6169, allocations: 0.8797 MB / 0.6242 GB, free: 9.496 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.6169, allocations: 8 kB / 0.6242 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.6169, allocations: 15.98 kB / 0.6242 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.6183, allocations: 307.7 kB / 0.6245 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.6187, allocations: 139.6 kB / 0.6247 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.6198, allocations: 0.927 MB / 0.6256 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005726/0.6204, allocations: 51.89 kB / 0.6256 GB, free: 8.031 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.789e-05/0.6205, allocations: 67.98 kB / 0.6257 GB, free: 7.965 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.000356/0.6208, allocations: 244.5 kB / 0.6259 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.6209, allocations: 71.2 kB / 0.626 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.6226, allocations: 0.8746 MB / 0.6268 GB, free: 6.762 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.6226, allocations: 4 kB / 0.6268 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6226, allocations: 0 / 0.6268 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.6226, allocations: 7.984 kB / 0.6268 GB, free: 6.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.6247, allocations: 1.437 MB / 0.6282 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.6247, allocations: 4.188 kB / 0.6282 GB, free: 5.172 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.6258, allocations: 215.8 kB / 0.6285 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.6259, allocations: 24.84 kB / 0.6285 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.6259, allocations: 23.98 kB / 0.6285 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.628, allocations: 2.696 MB / 0.6311 GB, free: 1.953 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.628, allocations: 0 / 0.6311 GB, free: 1.953 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.6293, allocations: 0.878 MB / 0.632 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/0.6297, allocations: 188.2 kB / 0.6322 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.6298, allocations: 15.98 kB / 0.6322 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.6302, allocations: 23.98 kB / 0.6322 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.6304, allocations: 43.95 kB / 0.6322 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-05/0.6304, allocations: 43.98 kB / 0.6323 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006604/0.6311, allocations: 427 kB / 0.6327 GB, free: 264 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6311, allocations: 0 / 0.6327 GB, free: 264 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.001266/0.6324, allocations: 255.9 kB / 0.6329 GB, free: 8 kB / 462.1 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008442/0.6332, allocations: 296 kB / 0.6332 GB, free: 15.71 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.6345, allocations: 0.5617 MB / 0.6338 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6345, allocations: 384 / 0.6338 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009651/0.6355, allocations: 410.4 kB / 0.6342 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.637, allocations: 340.7 kB / 0.6345 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.6392, allocations: 1.568 MB / 0.636 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.6398, allocations: 0.9417 MB / 0.6369 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001263/0.641, allocations: 462.4 kB / 0.6374 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/0.6414, allocations: 115.3 kB / 0.6375 GB, free: 11.27 MB / 478.1 MB Notification: Performance of SimCode: time 2.154e-06/0.6414, allocations: 0 / 0.6375 GB, free: 11.27 MB / 478.1 MB Notification: Performance of Templates: time 0.02643/0.6678, allocations: 16.19 MB / 0.6533 GB, free: 11.23 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches