Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pT,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.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,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.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008484/0.0008484, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000929/0.0009293, allocations: 179.5 kB / 16.92 MB, free: 6.648 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.749/1.749, allocations: 205.4 MB / 223.1 MB, free: 5.398 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.367/0.367, allocations: 43.57 MB / 315 MB, free: 9.18 MB / 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.0005753/0.0005754, allocations: 16.55 kB / 384.6 MB, free: 7.848 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1417, allocations: 58.86 MB / 443.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.2992/0.4409, allocations: 39.42 MB / 482.9 MB, free: 26.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02296/0.4639, allocations: 20.92 MB / 0.492 GB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.4654, allocations: 28.09 kB / 0.492 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.4667, allocations: 385.6 kB / 0.4924 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01388/0.4806, allocations: 4.165 MB / 0.4964 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007223/0.4879, allocations: 2.233 MB / 0.4986 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00461/0.4925, allocations: 2.826 MB / 0.5014 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009314/0.4934, allocations: 415 kB / 0.5018 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009683/0.5031, allocations: 4.021 MB / 0.5057 GB, free: 5.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01119/0.5144, allocations: 5.444 MB / 0.511 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003565/0.5148, allocations: 35.47 kB / 0.5111 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01967/0.5344, allocations: 7.124 MB / 0.518 GB, free: 288 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009927/0.5355, allocations: 248.5 kB / 0.5183 GB, free: 124 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.5371, allocations: 442.1 kB / 0.5187 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01831/0.5555, allocations: 4.9 MB / 0.5235 GB, free: 12.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5555, allocations: 4 kB / 0.5235 GB, free: 12.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.5555, allocations: 0 / 0.5235 GB, free: 12.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.5555, allocations: 3.938 kB / 0.5235 GB, free: 12.71 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005759/0.5613, allocations: 1.463 MB / 0.5249 GB, free: 11.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.5614, allocations: 7.188 kB / 0.5249 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/0.5628, allocations: 225.3 kB / 0.5251 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008863/0.5637, allocations: 0.5413 MB / 0.5256 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.5638, allocations: 111 kB / 0.5258 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.5639, allocations: 56.78 kB / 0.5258 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.566, allocations: 1.079 MB / 0.5269 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.566, allocations: 7.156 kB / 0.5269 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.759e-05/0.5661, allocations: 29.59 kB / 0.5269 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.5662, allocations: 49.16 kB / 0.5269 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.5679, allocations: 0.8197 MB / 0.5277 GB, free: 9.664 MB / 398.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.006102/0.574, allocations: 5.554 MB / 0.5332 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.5752, allocations: 0.5411 MB / 0.5337 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.5755, allocations: 222.4 kB / 0.5339 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1008/0.6763, allocations: 47.88 MB / 0.5807 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.172e-05/0.6764, allocations: 47.19 kB / 0.5807 GB, free: 13.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 4.438e-06/0.6764, allocations: 0 / 0.5807 GB, free: 13.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.006425/0.6829, allocations: 2.119 MB / 0.5828 GB, free: 11.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.683, allocations: 195.8 kB / 0.583 GB, free: 11 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008363/0.6838, allocations: 0.6406 MB / 0.5836 GB, free: 10.35 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.6839, allocations: 33.7 kB / 0.5836 GB, free: 10.31 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.6842, allocations: 403.2 kB / 0.584 GB, free: 9.906 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.6844, allocations: 165.7 kB / 0.5842 GB, free: 9.742 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.6845, allocations: 69.69 kB / 0.5842 GB, free: 9.668 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.6847, allocations: 382.8 kB / 0.5846 GB, free: 9.285 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.6851, allocations: 225.9 kB / 0.5848 GB, free: 9.066 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006435/0.6857, allocations: 0.5907 MB / 0.5854 GB, free: 8.305 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.6868, allocations: 0.8638 MB / 0.5862 GB, free: 7.277 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.6868, allocations: 4 kB / 0.5862 GB, free: 7.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00137/0.6882, allocations: 0.9038 MB / 0.5871 GB, free: 6.359 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.6882, allocations: 12 kB / 0.5871 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.6883, allocations: 8 kB / 0.5871 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003101/0.6914, allocations: 272.5 kB / 0.5874 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.6925, allocations: 283.8 kB / 0.5877 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.6943, allocations: 2.018 MB / 0.5896 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006477/0.695, allocations: 60.06 kB / 0.5897 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.419e-05/0.695, allocations: 43.98 kB / 0.5897 GB, free: 3.523 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004185/0.6955, allocations: 277.5 kB / 0.59 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.6956, allocations: 75.16 kB / 0.5901 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.6981, allocations: 2.012 MB / 0.592 GB, free: 1.145 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.653e-05/0.6981, allocations: 23.97 kB / 0.5921 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6982, allocations: 8.062 kB / 0.5921 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.6982, allocations: 3.984 kB / 0.5921 GB, free: 1.109 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/0.7018, allocations: 2.991 MB / 0.595 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.7018, allocations: 0 / 0.595 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008792/0.7027, allocations: 191.7 kB / 0.5952 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/0.7044, allocations: 311.8 kB / 0.5955 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/0.7045, allocations: 17 kB / 0.5955 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.7062, allocations: 2.074 MB / 0.5975 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7062, allocations: 3.984 kB / 0.5975 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.7083, allocations: 1.952 MB / 0.5994 GB, free: 9.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003795/0.7087, allocations: 279.3 kB / 0.5997 GB, free: 9.027 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.865e-05/0.7088, allocations: 12 kB / 0.5997 GB, free: 9.016 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004652/0.7093, allocations: 43.88 kB / 0.5998 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/0.7094, allocations: 34.09 kB / 0.5998 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.7094, allocations: 15.98 kB / 0.5998 GB, free: 8.926 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006986/0.7101, allocations: 0.5732 MB / 0.6004 GB, free: 8.355 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7101, allocations: 0 / 0.6004 GB, free: 8.355 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004556/0.7147, allocations: 1.085 MB / 0.6014 GB, free: 7.27 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006223/0.7209, allocations: 1.196 MB / 0.6026 GB, free: 6.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.723, allocations: 0.9169 MB / 0.6035 GB, free: 5.156 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.723, allocations: 4.125 kB / 0.6035 GB, free: 5.152 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.7242, allocations: 0.6397 MB / 0.6041 GB, free: 4.516 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/0.7264, allocations: 383.6 kB / 0.6045 GB, free: 4.145 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/0.7297, allocations: 2.63 MB / 0.607 GB, free: 1.477 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006139/0.7304, allocations: 1.093 MB / 0.6081 GB, free: 360 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007409/0.7311, allocations: 342.2 kB / 0.6084 GB, free: 12 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.7313, allocations: 63.48 kB / 0.6085 GB, free: 15.95 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.7313, allocations: 3.938 kB / 0.6085 GB, free: 15.95 MB / 494.1 MB Notification: Performance of Templates: time 0.2831/1.014, allocations: 44.54 MB / 0.652 GB, free: 162.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches