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.001273/0.001273, allocations: 96.14 kB / 15.87 MB, free: 16 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.001463/0.001463, allocations: 202.7 kB / 16.79 MB, free: 6.84 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.573/1.573, allocations: 205.1 MB / 222.6 MB, free: 4.75 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.3595/0.3595, allocations: 43.49 MB / 313.5 MB, free: 8.301 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.001495/0.001495, allocations: 59.91 kB / 382 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1294, allocations: 57.78 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.2857/0.4152, allocations: 40.25 MB / 480.1 MB, free: 26.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0202/0.4354, allocations: 21.25 MB / 0.4896 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.4377, allocations: 26.81 kB / 0.4896 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.4397, allocations: 395.5 kB / 0.49 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0182/0.4579, allocations: 4.163 MB / 0.4941 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00806/0.466, allocations: 2.238 MB / 0.4962 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004527/0.4705, allocations: 2.829 MB / 0.499 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009286/0.4715, allocations: 411.1 kB / 0.4994 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/0.4818, allocations: 4.026 MB / 0.5033 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01284/0.4947, allocations: 5.452 MB / 0.5086 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003436/0.4951, allocations: 35.16 kB / 0.5087 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01718/0.5123, allocations: 7.127 MB / 0.5156 GB, free: 260 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007002/0.513, allocations: 243.6 kB / 0.5159 GB, free: 100 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.5141, allocations: 418.3 kB / 0.5163 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0187/0.5328, allocations: 4.94 MB / 0.5211 GB, free: 12.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.5328, allocations: 4 kB / 0.5211 GB, free: 12.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5328, allocations: 0 / 0.5211 GB, free: 12.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.5329, allocations: 0 / 0.5211 GB, free: 12.69 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.006021/0.5389, allocations: 1.624 MB / 0.5227 GB, free: 11.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.5389, allocations: 10.91 kB / 0.5227 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.5404, allocations: 227.7 kB / 0.5229 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008821/0.5413, allocations: 0.5284 MB / 0.5234 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.5415, allocations: 113.2 kB / 0.5235 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.35e-05/0.5416, allocations: 56.59 kB / 0.5236 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.5436, allocations: 1.081 MB / 0.5246 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.5436, allocations: 6.656 kB / 0.5247 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.072e-05/0.5437, allocations: 33.08 kB / 0.5247 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.597e-05/0.5438, allocations: 43.83 kB / 0.5247 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.5455, allocations: 0.8193 MB / 0.5255 GB, free: 9.539 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.006618/0.5521, allocations: 5.554 MB / 0.5309 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.5534, allocations: 0.5321 MB / 0.5315 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.5537, allocations: 218.2 kB / 0.5317 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0942/0.648, allocations: 47.45 MB / 0.578 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/0.6481, allocations: 44.25 kB / 0.5781 GB, free: 13.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 2.084e-06/0.6481, allocations: 3.938 kB / 0.5781 GB, free: 13.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.006478/0.6546, allocations: 2.13 MB / 0.5801 GB, free: 11.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.691e-05/0.6547, allocations: 187.9 kB / 0.5803 GB, free: 11.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007826/0.6555, allocations: 0.6406 MB / 0.5809 GB, free: 10.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.6555, allocations: 33.7 kB / 0.581 GB, free: 10.63 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.6558, allocations: 403.1 kB / 0.5814 GB, free: 10.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.656, allocations: 173.7 kB / 0.5815 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.6562, allocations: 154.5 kB / 0.5817 GB, free: 9.902 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6564, allocations: 378.8 kB / 0.582 GB, free: 9.523 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.6568, allocations: 229.9 kB / 0.5823 GB, free: 9.301 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/0.6575, allocations: 0.5945 MB / 0.5828 GB, free: 8.535 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.6586, allocations: 0.8599 MB / 0.5837 GB, free: 7.512 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.6586, allocations: 4 kB / 0.5837 GB, free: 7.508 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00138/0.66, allocations: 0.9 MB / 0.5846 GB, free: 6.598 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.6601, allocations: 13.41 kB / 0.5846 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.6601, allocations: 12 kB / 0.5846 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003159/0.6633, allocations: 264.5 kB / 0.5848 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.6644, allocations: 287.6 kB / 0.5851 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.6664, allocations: 2.02 MB / 0.5871 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007306/0.6672, allocations: 56.02 kB / 0.5871 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/0.6672, allocations: 47.92 kB / 0.5872 GB, free: 3.754 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.0004052/0.6677, allocations: 285.3 kB / 0.5875 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.6678, allocations: 71.16 kB / 0.5875 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/0.6702, allocations: 2.017 MB / 0.5895 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/0.6703, allocations: 19.97 kB / 0.5895 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.6703, allocations: 0 / 0.5895 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.6703, allocations: 4.047 kB / 0.5895 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003513/0.6738, allocations: 2.998 MB / 0.5924 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6738, allocations: 0 / 0.5924 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008868/0.6747, allocations: 187.7 kB / 0.5926 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/0.6764, allocations: 307.8 kB / 0.5929 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.6764, allocations: 15.92 kB / 0.5929 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.6781, allocations: 2.077 MB / 0.595 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.6781, allocations: 3.984 kB / 0.595 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.6803, allocations: 1.951 MB / 0.5969 GB, free: 9.555 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.6806, allocations: 231.6 kB / 0.5971 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.6808, allocations: 28.38 kB / 0.5971 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/0.6813, allocations: 27.92 kB / 0.5971 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.153e-05/0.6814, allocations: 36.39 kB / 0.5972 GB, free: 9.219 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.6814, allocations: 19.98 kB / 0.5972 GB, free: 9.199 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007513/0.6822, allocations: 0.5732 MB / 0.5978 GB, free: 8.633 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6822, allocations: 0 / 0.5978 GB, free: 8.633 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004343/0.6865, allocations: 1.085 MB / 0.5988 GB, free: 7.547 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.005745/0.6923, allocations: 1.2 MB / 0.6 GB, free: 6.352 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00215/0.6944, allocations: 0.92 MB / 0.6009 GB, free: 5.434 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.6945, allocations: 4.75 kB / 0.6009 GB, free: 5.43 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.6957, allocations: 0.6437 MB / 0.6015 GB, free: 4.785 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.6979, allocations: 377.3 kB / 0.6019 GB, free: 4.418 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.7011, allocations: 2.534 MB / 0.6044 GB, free: 1.844 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006623/0.7018, allocations: 1.093 MB / 0.6054 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007598/0.7026, allocations: 358.1 kB / 0.6058 GB, free: 380 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.7027, allocations: 59.44 kB / 0.6058 GB, free: 324 kB / 478.1 MB Notification: Performance of SimCode: time 4.51e-07/0.7027, allocations: 0 / 0.6058 GB, free: 324 kB / 478.1 MB Notification: Performance of Templates: time 0.2432/0.9459, allocations: 44.63 MB / 0.6494 GB, free: 165.6 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