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.001564/0.001564, allocations: 104.8 kB / 16.27 MB, free: 5.98 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.002074/0.002074, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.714/1.714, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.219/0.219, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.001515/0.001515, allocations: 70.45 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.1004, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04138/0.1418, allocations: 39.04 MB / 479.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02369/0.1655, allocations: 20.14 MB / 499.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007712/0.1663, allocations: 19.88 kB / 499.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.1677, allocations: 445.3 kB / 0.4884 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01268/0.1804, allocations: 5.094 MB / 0.4934 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007693/0.1881, allocations: 2.575 MB / 0.4959 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002898/0.191, allocations: 1.961 MB / 0.4979 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007094/0.1917, allocations: 477.5 kB / 0.4983 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01037/0.2021, allocations: 4.141 MB / 0.5024 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01258/0.2147, allocations: 5.413 MB / 0.5076 GB, free: 7.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004208/0.2152, allocations: 68 kB / 0.5077 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0149/0.2301, allocations: 7.075 MB / 0.5146 GB, free: 92 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005398/0.2307, allocations: 275.3 kB / 0.5149 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.2318, allocations: 446 kB / 0.5153 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.2435, allocations: 4.962 MB / 0.5201 GB, free: 10.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2436, allocations: 3.938 kB / 0.5201 GB, free: 10.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2436, allocations: 4 kB / 0.5202 GB, free: 10.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.902e-05/0.2436, allocations: 0 / 0.5202 GB, free: 10.4 MB / 414.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.005416/0.2491, allocations: 1.625 MB / 0.5217 GB, free: 8.727 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.2491, allocations: 12.03 kB / 0.5218 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.2511, allocations: 215.8 kB / 0.522 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.2525, allocations: 0.5442 MB / 0.5225 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.2527, allocations: 113.3 kB / 0.5226 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.2528, allocations: 60.12 kB / 0.5227 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.2551, allocations: 1.074 MB / 0.5237 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.2552, allocations: 7.938 kB / 0.5237 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.601e-05/0.2553, allocations: 24 kB / 0.5237 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.871e-05/0.2553, allocations: 44.97 kB / 0.5238 GB, free: 6.477 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.2572, allocations: 0.8232 MB / 0.5246 GB, free: 5.652 MB / 414.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.1955/0.4527, allocations: 5.574 MB / 0.53 GB, free: 92.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.4542, allocations: 0.5332 MB / 0.5305 GB, free: 92.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.4545, allocations: 213.6 kB / 0.5307 GB, free: 92.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08896/0.5435, allocations: 47.44 MB / 0.5771 GB, free: 53.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.5436, allocations: 43.19 kB / 0.5771 GB, free: 52.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.955e-06/0.5436, allocations: 0 / 0.5771 GB, free: 52.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.006017/0.5496, allocations: 2.122 MB / 0.5792 GB, free: 51.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.5497, allocations: 185.1 kB / 0.5794 GB, free: 51.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007125/0.5504, allocations: 0.6439 MB / 0.58 GB, free: 50.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.5505, allocations: 34.27 kB / 0.58 GB, free: 50.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.5507, allocations: 399.5 kB / 0.5804 GB, free: 50.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.5508, allocations: 167.1 kB / 0.5806 GB, free: 50.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.551, allocations: 154.5 kB / 0.5807 GB, free: 49.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.5511, allocations: 386.5 kB / 0.5811 GB, free: 49.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.5515, allocations: 225.9 kB / 0.5813 GB, free: 49.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/0.5519, allocations: 0.5935 MB / 0.5819 GB, free: 48.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008416/0.5528, allocations: 0.867 MB / 0.5827 GB, free: 47.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.5528, allocations: 4 kB / 0.5827 GB, free: 47.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001218/0.554, allocations: 0.8956 MB / 0.5836 GB, free: 46.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.5541, allocations: 12.62 kB / 0.5836 GB, free: 46.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.5541, allocations: 10.88 kB / 0.5836 GB, free: 46.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003092/0.5572, allocations: 273.3 kB / 0.5839 GB, free: 46.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.5582, allocations: 283.5 kB / 0.5842 GB, free: 46.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.5595, allocations: 2.12 MB / 0.5862 GB, free: 43.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/0.5601, allocations: 28 kB / 0.5863 GB, free: 43.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.5601, allocations: 40 kB / 0.5863 GB, free: 43.8 MB / 414.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.0003273/0.5605, allocations: 285.3 kB / 0.5866 GB, free: 43.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.5606, allocations: 71.16 kB / 0.5866 GB, free: 43.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.5624, allocations: 2.01 MB / 0.5886 GB, free: 41.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.5624, allocations: 28.02 kB / 0.5886 GB, free: 41.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5625, allocations: 4 kB / 0.5886 GB, free: 41.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.5625, allocations: 7.938 kB / 0.5886 GB, free: 41.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.5652, allocations: 2.993 MB / 0.5916 GB, free: 38.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5652, allocations: 6.516 kB / 0.5916 GB, free: 38.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008281/0.566, allocations: 191.8 kB / 0.5917 GB, free: 38.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.5676, allocations: 299.9 kB / 0.592 GB, free: 37.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.004e-05/0.5677, allocations: 15.94 kB / 0.5921 GB, free: 37.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.5689, allocations: 2.181 MB / 0.5942 GB, free: 35.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5689, allocations: 4.031 kB / 0.5942 GB, free: 35.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.5706, allocations: 1.943 MB / 0.5961 GB, free: 33.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/0.5709, allocations: 219.8 kB / 0.5963 GB, free: 33.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.5711, allocations: 27.69 kB / 0.5963 GB, free: 33.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004903/0.5716, allocations: 31.7 kB / 0.5963 GB, free: 33.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.5717, allocations: 28.41 kB / 0.5964 GB, free: 33.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.5717, allocations: 19.98 kB / 0.5964 GB, free: 33.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007178/0.5724, allocations: 0.5732 MB / 0.597 GB, free: 32.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5724, allocations: 0 / 0.597 GB, free: 32.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003313/0.5757, allocations: 1.084 MB / 0.598 GB, free: 31.61 MB / 414.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.0048/0.5806, allocations: 1.196 MB / 0.5992 GB, free: 30.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002091/0.5827, allocations: 1 MB / 0.6002 GB, free: 29.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.5827, allocations: 8.125 kB / 0.6002 GB, free: 29.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.5837, allocations: 0.6396 MB / 0.6008 GB, free: 28.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.5857, allocations: 404.3 kB / 0.6012 GB, free: 28.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.5885, allocations: 2.155 MB / 0.6033 GB, free: 26.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.589, allocations: 1.097 MB / 0.6044 GB, free: 25.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007909/0.5898, allocations: 340.6 kB / 0.6047 GB, free: 24.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.59, allocations: 63.44 kB / 0.6047 GB, free: 24.92 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.59, allocations: 0 / 0.6047 GB, free: 24.92 MB / 414.1 MB Notification: Performance of Templates: time 0.06381/0.6538, allocations: 45.37 MB / 0.649 GB, free: 11.62 MB / 446.1 MB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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