Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001545, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.4 MB / 223.6 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007258/0.0007256, allocations: 87.38 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3179/0.3179, allocations: 43.56 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003677, allocations: 12 kB / 432.6 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1162, allocations: 58.85 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.449/5.565, allocations: 2.794 GB / 3.274 GB, free: 82.11 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/5.566, allocations: 91.83 kB / 3.274 GB, free: 82.05 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.39/6.956, allocations: 477.9 MB / 3.741 GB, free: 19.26 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.443e-06/6.956, allocations: 6.625 kB / 3.741 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.764e-05/6.956, allocations: 20 kB / 3.741 GB, free: 19.23 MB / 0.5105 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.006005/6.962, allocations: 1.766 MB / 3.743 GB, free: 17.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/6.962, allocations: 8.031 kB / 3.743 GB, free: 17.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/6.963, allocations: 227.8 kB / 3.743 GB, free: 17.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008993/6.964, allocations: 0.6036 MB / 3.744 GB, free: 16.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.82e-05/6.964, allocations: 110.1 kB / 3.744 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.368e-05/6.964, allocations: 63.98 kB / 3.744 GB, free: 16.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/6.966, allocations: 1.067 MB / 3.745 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/6.966, allocations: 15.81 kB / 3.745 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.621e-05/6.966, allocations: 28 kB / 3.745 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/6.966, allocations: 44.98 kB / 3.745 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/6.967, allocations: 0.8076 MB / 3.746 GB, free: 14.32 MB / 0.5105 GB 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.004464/6.972, allocations: 5.539 MB / 3.751 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/6.973, allocations: 0.5267 MB / 3.752 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/6.973, allocations: 218.4 kB / 3.752 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3726/7.346, allocations: 47.19 MB / 3.798 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.579e-05/7.346, allocations: 41.08 kB / 3.798 GB, free: 39.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=39): time 3.267e-06/7.346, allocations: 0 / 3.798 GB, free: 39.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.006632/7.353, allocations: 2.101 MB / 3.8 GB, free: 38.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/7.353, allocations: 185.2 kB / 3.8 GB, free: 38.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008811/7.354, allocations: 0.6355 MB / 3.801 GB, free: 38.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.983e-05/7.354, allocations: 36.73 kB / 3.801 GB, free: 38.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/7.354, allocations: 400.2 kB / 3.801 GB, free: 38.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/7.354, allocations: 166.1 kB / 3.801 GB, free: 38.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/7.354, allocations: 13.44 kB / 3.801 GB, free: 38.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001911/7.354, allocations: 381.5 kB / 3.802 GB, free: 38.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/7.355, allocations: 222.8 kB / 3.802 GB, free: 38.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/7.355, allocations: 0.5876 MB / 3.803 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009624/7.356, allocations: 0.8553 MB / 3.803 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/7.356, allocations: 2.562 kB / 3.803 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001455/7.358, allocations: 0.8892 MB / 3.804 GB, free: 37.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/7.358, allocations: 7.469 kB / 3.804 GB, free: 37.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/7.358, allocations: 16.83 kB / 3.804 GB, free: 37.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003882/7.362, allocations: 269.6 kB / 3.805 GB, free: 37.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/7.363, allocations: 284.5 kB / 3.805 GB, free: 37.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/7.365, allocations: 2.025 MB / 3.807 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/7.365, allocations: 58.06 kB / 3.807 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.229e-05/7.365, allocations: 46.89 kB / 3.807 GB, free: 35.2 MB / 0.5261 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 () * 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 (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.0005296/7.366, allocations: 271.3 kB / 3.807 GB, free: 35.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/7.366, allocations: 79.86 kB / 3.807 GB, free: 35.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/7.369, allocations: 2.02 MB / 3.809 GB, free: 34.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/7.369, allocations: 23.34 kB / 3.809 GB, free: 34.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/7.369, allocations: 0 / 3.809 GB, free: 34.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/7.369, allocations: 7.359 kB / 3.809 GB, free: 34.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/7.372, allocations: 2.993 MB / 3.812 GB, free: 34.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/7.372, allocations: 0 / 3.812 GB, free: 34.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009124/7.373, allocations: 190.1 kB / 3.812 GB, free: 34.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/7.375, allocations: 311.7 kB / 3.813 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/7.375, allocations: 15.56 kB / 3.813 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/7.377, allocations: 2.068 MB / 3.815 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/7.377, allocations: 1.094 kB / 3.815 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/7.379, allocations: 1.94 MB / 3.817 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005094/7.38, allocations: 292.4 kB / 3.817 GB, free: 32.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/7.38, allocations: 14.62 kB / 3.817 GB, free: 32.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005687/7.381, allocations: 33.8 kB / 3.817 GB, free: 32.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/7.381, allocations: 37.64 kB / 3.817 GB, free: 32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/7.381, allocations: 19.66 kB / 3.817 GB, free: 32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000762/7.381, allocations: 0.5667 MB / 3.817 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/7.381, allocations: 3.812 kB / 3.817 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005748/7.387, allocations: 1.138 MB / 3.819 GB, free: 31.91 MB / 0.5261 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 () * 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 (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.008554/7.396, allocations: 1.55 MB / 3.82 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002127/7.398, allocations: 0.9039 MB / 3.821 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/7.398, allocations: 3.656 kB / 3.821 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/7.399, allocations: 0.6244 MB / 3.822 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/7.402, allocations: 391.2 kB / 3.822 GB, free: 31.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/7.406, allocations: 2.611 MB / 3.825 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/7.407, allocations: 1.088 MB / 3.826 GB, free: 29.99 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/7.407, allocations: 69.2 kB / 3.826 GB, free: 29.99 MB / 0.5261 GB Notification: Performance of SimCode: time 4.7e-07/7.407, allocations: 0 / 3.826 GB, free: 29.99 MB / 0.5261 GB Notification: Performance of Templates: time 0.05568/7.463, allocations: 38.1 MB / 3.863 GB, free: 27.31 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches