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.001159/0.001159, allocations: 102.6 kB / 15.98 MB, free: 6.762 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.001036/0.001036, allocations: 195.6 kB / 16.91 MB, free: 6.535 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.618/1.618, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.3749/0.3749, allocations: 43.5 MB / 313.6 MB, free: 8.547 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.002317/0.002317, allocations: 71.89 kB / 382.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1509, allocations: 57.79 MB / 440 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.2717/0.4227, allocations: 39.48 MB / 479.5 MB, free: 27.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02174/0.4445, allocations: 20.27 MB / 499.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.446, allocations: 28.06 kB / 499.8 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.4472, allocations: 400.7 kB / 0.4885 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01463/0.4619, allocations: 4.546 MB / 0.4929 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006905/0.4688, allocations: 2.33 MB / 0.4952 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003065/0.4719, allocations: 1.982 MB / 0.4971 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000754/0.4726, allocations: 480.9 kB / 0.4976 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008783/0.4814, allocations: 4.122 MB / 0.5016 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0101/0.4916, allocations: 5.462 MB / 0.5069 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000271/0.4919, allocations: 67.72 kB / 0.507 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01595/0.5078, allocations: 7.135 MB / 0.514 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006132/0.5085, allocations: 284.4 kB / 0.5142 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000992/0.5095, allocations: 450.7 kB / 0.5147 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01605/0.5255, allocations: 4.974 MB / 0.5195 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.5256, allocations: 1.594 kB / 0.5195 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5256, allocations: 4 kB / 0.5195 GB, free: 13.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.5256, allocations: 0 / 0.5195 GB, free: 13.93 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.005967/0.5316, allocations: 1.621 MB / 0.5211 GB, free: 12.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.5317, allocations: 9.875 kB / 0.5211 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.5331, allocations: 222.6 kB / 0.5213 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009028/0.534, allocations: 0.538 MB / 0.5219 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.5342, allocations: 114.4 kB / 0.522 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.5343, allocations: 55.34 kB / 0.522 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.5362, allocations: 1.081 MB / 0.5231 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.5362, allocations: 3.938 kB / 0.5231 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.831e-05/0.5363, allocations: 32.12 kB / 0.5231 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.293e-05/0.5364, allocations: 43.59 kB / 0.5232 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.5379, allocations: 0.8208 MB / 0.524 GB, free: 10.9 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.005826/0.5438, allocations: 5.561 MB / 0.5294 GB, free: 5.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.5449, allocations: 0.536 MB / 0.5299 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.5452, allocations: 210.5 kB / 0.5301 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09964/0.6449, allocations: 47.46 MB / 0.5765 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.6451, allocations: 43.19 kB / 0.5765 GB, free: 15.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 7.053e-06/0.6451, allocations: 0 / 0.5765 GB, free: 15.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.009205/0.6543, allocations: 2.122 MB / 0.5786 GB, free: 13.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.6545, allocations: 191.8 kB / 0.5788 GB, free: 12.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.6557, allocations: 0.6445 MB / 0.5794 GB, free: 12.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.787e-05/0.6557, allocations: 37.77 kB / 0.5794 GB, free: 12.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.6561, allocations: 399.2 kB / 0.5798 GB, free: 11.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.6563, allocations: 165.7 kB / 0.58 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002813/0.6566, allocations: 154.5 kB / 0.5801 GB, free: 11.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.6568, allocations: 378.8 kB / 0.5805 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.6574, allocations: 229.9 kB / 0.5807 GB, free: 10.94 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009143/0.6583, allocations: 0.5954 MB / 0.5813 GB, free: 10.17 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.6598, allocations: 0.8638 MB / 0.5821 GB, free: 9.145 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.6598, allocations: 4 kB / 0.5821 GB, free: 9.141 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002037/0.6618, allocations: 0.8997 MB / 0.583 GB, free: 8.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.6619, allocations: 8 kB / 0.583 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.6619, allocations: 12 kB / 0.583 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004224/0.6662, allocations: 265 kB / 0.5833 GB, free: 7.949 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.6676, allocations: 287.5 kB / 0.5835 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.6697, allocations: 2.125 MB / 0.5856 GB, free: 5.379 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008462/0.6706, allocations: 55.95 kB / 0.5857 GB, free: 5.324 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/0.6707, allocations: 43.98 kB / 0.5857 GB, free: 5.281 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.0004727/0.6711, allocations: 269.5 kB / 0.586 GB, free: 5.008 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.6714, allocations: 71.16 kB / 0.586 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.6739, allocations: 2.015 MB / 0.588 GB, free: 2.914 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.98e-05/0.6739, allocations: 23.91 kB / 0.588 GB, free: 2.891 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6739, allocations: 4.031 kB / 0.588 GB, free: 2.887 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.6739, allocations: 11.97 kB / 0.588 GB, free: 2.875 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/0.678, allocations: 2.998 MB / 0.591 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.678, allocations: 0 / 0.591 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009018/0.6789, allocations: 183.8 kB / 0.5911 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.6807, allocations: 307.8 kB / 0.5914 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/0.6808, allocations: 12 kB / 0.5915 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.6828, allocations: 2.17 MB / 0.5936 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.6828, allocations: 11.95 kB / 0.5936 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.6851, allocations: 1.94 MB / 0.5955 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.6856, allocations: 223.6 kB / 0.5957 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.6859, allocations: 35.67 kB / 0.5957 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006189/0.6865, allocations: 35.98 kB / 0.5958 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.6866, allocations: 36.33 kB / 0.5958 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.6866, allocations: 17.75 kB / 0.5958 GB, free: 10.64 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008214/0.6875, allocations: 0.5693 MB / 0.5964 GB, free: 10.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6875, allocations: 3.938 kB / 0.5964 GB, free: 10.07 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005129/0.6926, allocations: 1.093 MB / 0.5974 GB, free: 8.977 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.006994/0.6996, allocations: 1.198 MB / 0.5986 GB, free: 7.781 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002711/0.7024, allocations: 0.9988 MB / 0.5996 GB, free: 6.785 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.7024, allocations: 0 / 0.5996 GB, free: 6.785 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.7037, allocations: 0.6436 MB / 0.6002 GB, free: 6.141 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/0.7063, allocations: 402.1 kB / 0.6006 GB, free: 5.754 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.7097, allocations: 2.553 MB / 0.6031 GB, free: 3.164 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/0.7104, allocations: 1.097 MB / 0.6042 GB, free: 2.043 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008661/0.7112, allocations: 338.3 kB / 0.6045 GB, free: 1.707 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.7114, allocations: 63.42 kB / 0.6045 GB, free: 1.648 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7114, allocations: 0 / 0.6045 GB, free: 1.648 MB / 478.1 MB Notification: Performance of Templates: time 0.2456/0.957, allocations: 45.28 MB / 0.6488 GB, free: 167.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