Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 170 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0008127/0.0008127, allocations: 87.69 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2163/0.2163, allocations: 44.16 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.832e-05/1.833e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1546, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.295/7.45, allocations: 2.8 GB / 3.295 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003755/7.45, allocations: 91.23 kB / 3.295 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.824/9.274, allocations: 0.4932 GB / 3.788 GB, free: 69.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.382e-06/9.274, allocations: 0 / 3.788 GB, free: 69.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.844e-05/9.274, allocations: 21.62 kB / 3.788 GB, free: 69.98 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.006892/9.281, allocations: 1.759 MB / 3.79 GB, free: 69.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/9.281, allocations: 15.52 kB / 3.79 GB, free: 69.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/9.284, allocations: 319.5 kB / 3.79 GB, free: 68.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/9.285, allocations: 0.5997 MB / 3.79 GB, free: 68.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/9.285, allocations: 100.2 kB / 3.791 GB, free: 68.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/9.285, allocations: 33.59 kB / 3.791 GB, free: 68.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001173/9.286, allocations: 0.6989 MB / 3.791 GB, free: 68.28 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/9.288, allocations: 0.8957 MB / 3.792 GB, free: 67.76 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/9.288, allocations: 3.938 kB / 3.792 GB, free: 67.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-05/9.288, allocations: 3.938 kB / 3.792 GB, free: 67.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-05/9.288, allocations: 41.33 kB / 3.792 GB, free: 67.75 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.1037/9.392, allocations: 52.91 MB / 3.844 GB, free: 19.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/9.392, allocations: 386.5 kB / 3.844 GB, free: 18.98 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/9.393, allocations: 192.1 kB / 3.844 GB, free: 18.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01419/9.407, allocations: 8.156 MB / 3.852 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/9.407, allocations: 42.31 kB / 3.852 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 2.124e-06/9.407, allocations: 0 / 3.852 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41): time 0.004257/9.411, allocations: 1.462 MB / 3.854 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/9.411, allocations: 132.5 kB / 3.854 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006202/9.412, allocations: 474.1 kB / 3.854 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/9.412, allocations: 25.7 kB / 3.854 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/9.412, allocations: 421.8 kB / 3.855 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/9.412, allocations: 145.9 kB / 3.855 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/9.412, allocations: 3.938 kB / 3.855 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/9.412, allocations: 374.8 kB / 3.855 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/9.413, allocations: 213.5 kB / 3.856 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/9.413, allocations: 0.5313 MB / 3.856 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005978/9.414, allocations: 316.5 kB / 3.856 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/9.414, allocations: 8 kB / 3.856 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001363/9.415, allocations: 0.7897 MB / 3.857 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/9.415, allocations: 8 kB / 3.857 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/9.415, allocations: 12 kB / 3.857 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/9.415, allocations: 56.83 kB / 3.857 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/9.417, allocations: 311.6 kB / 3.858 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/9.418, allocations: 1.949 MB / 3.859 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008425/9.419, allocations: 79.97 kB / 3.859 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/9.419, allocations: 43.98 kB / 3.86 GB, free: 1.898 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001924/9.419, allocations: 141 kB / 3.86 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/9.419, allocations: 67.2 kB / 3.86 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/9.421, allocations: 1.869 MB / 3.862 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-05/9.421, allocations: 27.95 kB / 3.862 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/9.421, allocations: 0 / 3.862 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/9.421, allocations: 0 / 3.862 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00378/9.425, allocations: 2.859 MB / 3.864 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/9.425, allocations: 0 / 3.864 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/9.426, allocations: 215.8 kB / 3.865 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002505/9.426, allocations: 76.69 kB / 3.865 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/9.426, allocations: 12 kB / 3.865 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/9.428, allocations: 1.971 MB / 3.867 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/9.428, allocations: 4.906 kB / 3.867 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/9.43, allocations: 1.796 MB / 3.868 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/9.431, allocations: 231.5 kB / 3.869 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/9.431, allocations: 4 kB / 3.869 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/9.431, allocations: 51.88 kB / 3.869 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/9.432, allocations: 44.31 kB / 3.869 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/9.432, allocations: 23.92 kB / 3.869 GB, free: 8.246 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004987/9.432, allocations: 342.9 kB / 3.869 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/9.432, allocations: 0 / 3.869 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005196/9.437, allocations: 1.081 MB / 3.87 GB, free: 6.828 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.h) * Number of discrete variables: 16 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008174/9.446, allocations: 1.654 MB / 3.872 GB, free: 5.32 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002135/9.448, allocations: 0.858 MB / 3.873 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/9.448, allocations: 0 / 3.873 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001389/9.449, allocations: 0.6479 MB / 3.873 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/9.451, allocations: 272.9 kB / 3.873 GB, free: 3.559 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/9.454, allocations: 1.567 MB / 3.875 GB, free: 1.969 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007934/9.455, allocations: 1.109 MB / 3.876 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001154/9.456, allocations: 0.5201 MB / 3.877 GB, free: 332 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/9.456, allocations: 51.44 kB / 3.877 GB, free: 280 kB / 0.5417 GB Notification: Performance of SimCode: time 7.72e-07/9.456, allocations: 4 kB / 3.877 GB, free: 276 kB / 0.5417 GB Notification: Performance of Templates: time 0.3809/9.837, allocations: 33.44 MB / 3.909 GB, free: 90.21 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches