Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009481/0.000948, allocations: 179.4 kB / 14.15 MB, free: 1.172 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008247/0.0008247, allocations: 93.86 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1718/0.1718, allocations: 44.14 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.481e-05/2.483e-05, allocations: 4.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1092, allocations: 61.92 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.052/6.161, allocations: 2.799 GB / 3.301 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/6.161, allocations: 92.22 kB / 3.301 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.634/7.796, allocations: 0.4959 GB / 3.797 GB, free: 44.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.252e-06/7.796, allocations: 0 / 3.797 GB, free: 44.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.302e-05/7.796, allocations: 14.89 kB / 3.797 GB, free: 44.85 MB / 0.5261 GB 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.006949/7.803, allocations: 1.697 MB / 3.798 GB, free: 43.13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/7.803, allocations: 8.031 kB / 3.798 GB, free: 43.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/7.804, allocations: 231.1 kB / 3.798 GB, free: 42.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009846/7.805, allocations: 0.5817 MB / 3.799 GB, free: 42.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.479e-05/7.805, allocations: 115 kB / 3.799 GB, free: 42.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/7.805, allocations: 60 kB / 3.799 GB, free: 42.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/7.807, allocations: 1.079 MB / 3.8 GB, free: 40.92 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/7.807, allocations: 7.938 kB / 3.8 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.361e-05/7.807, allocations: 31.75 kB / 3.8 GB, free: 40.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.822e-05/7.807, allocations: 44.97 kB / 3.8 GB, free: 40.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/7.808, allocations: 0.8156 MB / 3.801 GB, free: 40.02 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.004259/7.813, allocations: 5.556 MB / 3.807 GB, free: 34.15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009294/7.814, allocations: 0.5562 MB / 3.807 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/7.814, allocations: 201.7 kB / 3.807 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4034/8.217, allocations: 47.36 MB / 3.853 GB, free: 74.19 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/8.217, allocations: 40.95 kB / 3.854 GB, free: 74.15 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=39): time 2.816e-06/8.217, allocations: 0 / 3.854 GB, free: 74.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.006104/8.223, allocations: 2.003 MB / 3.855 GB, free: 73.69 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/8.224, allocations: 191.9 kB / 3.856 GB, free: 73.47 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009137/8.224, allocations: 0.5581 MB / 3.856 GB, free: 73.33 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/8.225, allocations: 32.27 kB / 3.856 GB, free: 73.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/8.225, allocations: 402.8 kB / 3.857 GB, free: 73.12 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/8.225, allocations: 164.1 kB / 3.857 GB, free: 73.04 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/8.225, allocations: 13.97 kB / 3.857 GB, free: 73.04 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000141/8.225, allocations: 379.5 kB / 3.857 GB, free: 72.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/8.226, allocations: 222.8 kB / 3.857 GB, free: 72.73 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005488/8.226, allocations: 0.5753 MB / 3.858 GB, free: 72.29 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/8.227, allocations: 330.9 kB / 3.858 GB, free: 72.29 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/8.227, allocations: 3.281 kB / 3.858 GB, free: 72.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00144/8.228, allocations: 0.8819 MB / 3.859 GB, free: 72.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/8.228, allocations: 10.02 kB / 3.859 GB, free: 72.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/8.228, allocations: 12.86 kB / 3.859 GB, free: 72.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003714/8.232, allocations: 273.7 kB / 3.859 GB, free: 72.19 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/8.233, allocations: 281 kB / 3.86 GB, free: 72.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/8.234, allocations: 2.014 MB / 3.862 GB, free: 70.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007495/8.235, allocations: 64.38 kB / 3.862 GB, free: 70.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/8.235, allocations: 44.14 kB / 3.862 GB, free: 70.35 MB / 0.5417 GB 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],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete 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 (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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001823/8.235, allocations: 166.7 kB / 3.862 GB, free: 70.24 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/8.236, allocations: 70.78 kB / 3.862 GB, free: 70.21 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/8.238, allocations: 2.019 MB / 3.864 GB, free: 70 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/8.238, allocations: 22.3 kB / 3.864 GB, free: 70 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/8.238, allocations: 0 / 3.864 GB, free: 70 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/8.238, allocations: 4.766 kB / 3.864 GB, free: 70 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/8.241, allocations: 2.989 MB / 3.867 GB, free: 69.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/8.241, allocations: 0 / 3.867 GB, free: 69.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008625/8.242, allocations: 186.6 kB / 3.867 GB, free: 69.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/8.244, allocations: 297.3 kB / 3.867 GB, free: 69.55 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.143e-05/8.244, allocations: 10.59 kB / 3.867 GB, free: 69.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/8.245, allocations: 2.088 MB / 3.869 GB, free: 67.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/8.245, allocations: 1.25 kB / 3.869 GB, free: 67.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/8.247, allocations: 1.949 MB / 3.871 GB, free: 67.28 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/8.248, allocations: 289.9 kB / 3.872 GB, free: 67.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.761e-05/8.248, allocations: 10.06 kB / 3.872 GB, free: 67.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/8.248, allocations: 37.02 kB / 3.872 GB, free: 67.13 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/8.248, allocations: 30.83 kB / 3.872 GB, free: 67.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/8.248, allocations: 20.88 kB / 3.872 GB, free: 67.13 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007804/8.249, allocations: 0.5529 MB / 3.872 GB, free: 67.04 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/8.249, allocations: 0.6562 kB / 3.872 GB, free: 67.04 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005433/8.254, allocations: 1.138 MB / 3.873 GB, free: 67.04 MB / 0.5417 GB 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 () * 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 (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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006887/8.261, allocations: 1.559 MB / 3.875 GB, free: 66.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002245/8.264, allocations: 0.8923 MB / 3.876 GB, free: 66.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/8.264, allocations: 4.156 kB / 3.876 GB, free: 66.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/8.265, allocations: 0.6199 MB / 3.876 GB, free: 66.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/8.267, allocations: 379 kB / 3.877 GB, free: 66.88 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/8.27, allocations: 1.619 MB / 3.878 GB, free: 66.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/8.27, allocations: 1.115 MB / 3.879 GB, free: 65.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009325/8.271, allocations: 349.6 kB / 3.88 GB, free: 65.81 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/8.271, allocations: 63.31 kB / 3.88 GB, free: 65.8 MB / 0.5417 GB Notification: Performance of SimCode: time 7.92e-07/8.271, allocations: 0 / 3.88 GB, free: 65.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.04845/8.32, allocations: 41.55 MB / 3.92 GB, free: 64.8 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches