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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 183.6 kB / 15.76 MB, free: 6.367 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.581/1.581, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.001015/0.001015, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.223/0.223, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 8 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1342, allocations: 58.86 MB / 490.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.367/6.501, allocations: 2.794 GB / 3.273 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/6.502, allocations: 99.44 kB / 3.273 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.738/8.239, allocations: 0.4924 GB / 3.765 GB, free: 24 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.433e-06/8.239, allocations: 0 / 3.765 GB, free: 24 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.803e-05/8.239, allocations: 22.62 kB / 3.765 GB, free: 23.98 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.008415/8.248, allocations: 1.763 MB / 3.767 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/8.248, allocations: 16.03 kB / 3.767 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/8.25, allocations: 234.2 kB / 3.767 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/8.251, allocations: 0.5813 MB / 3.768 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/8.251, allocations: 116.5 kB / 3.768 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.065e-05/8.251, allocations: 60 kB / 3.768 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/8.253, allocations: 1.069 MB / 3.769 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/8.253, allocations: 7.844 kB / 3.769 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/8.253, allocations: 32.3 kB / 3.769 GB, free: 19.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.6e-05/8.253, allocations: 40.98 kB / 3.769 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/8.254, allocations: 0.8153 MB / 3.77 GB, free: 19.1 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.004918/8.259, allocations: 5.532 MB / 3.775 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009975/8.26, allocations: 0.5232 MB / 3.776 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4501/8.71, allocations: 47.19 MB / 3.822 GB, free: 34.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.077e-05/8.711, allocations: 39.62 kB / 3.822 GB, free: 34.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 3.617e-06/8.711, allocations: 5.188 kB / 3.822 GB, free: 34.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=44): time 0.006681/8.717, allocations: 2.101 MB / 3.824 GB, free: 33.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/8.717, allocations: 187 kB / 3.824 GB, free: 33.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/8.718, allocations: 0.5642 MB / 3.825 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/8.718, allocations: 36.39 kB / 3.825 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/8.718, allocations: 397.1 kB / 3.825 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/8.719, allocations: 167.3 kB / 3.825 GB, free: 32.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/8.719, allocations: 13.72 kB / 3.825 GB, free: 32.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000137/8.719, allocations: 378.4 kB / 3.826 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/8.719, allocations: 231.5 kB / 3.826 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005429/8.72, allocations: 0.5783 MB / 3.826 GB, free: 32.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/8.72, allocations: 343.4 kB / 3.827 GB, free: 32.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/8.72, allocations: 3.781 kB / 3.827 GB, free: 32.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001227/8.721, allocations: 0.8887 MB / 3.828 GB, free: 32.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/8.721, allocations: 13.53 kB / 3.828 GB, free: 32.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/8.721, allocations: 15.09 kB / 3.828 GB, free: 32.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00392/8.725, allocations: 267.1 kB / 3.828 GB, free: 32.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/8.727, allocations: 278 kB / 3.828 GB, free: 32.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/8.728, allocations: 2.031 MB / 3.83 GB, free: 30.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000782/8.729, allocations: 58.25 kB / 3.83 GB, free: 30.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/8.729, allocations: 46.58 kB / 3.83 GB, free: 30.24 MB / 0.5105 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.0005676/8.729, allocations: 270.5 kB / 3.831 GB, free: 30.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/8.73, allocations: 70.53 kB / 3.831 GB, free: 30.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/8.732, allocations: 2.024 MB / 3.833 GB, free: 29.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/8.732, allocations: 23.95 kB / 3.833 GB, free: 29.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/8.732, allocations: 3.953 kB / 3.833 GB, free: 29.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/8.732, allocations: 7.906 kB / 3.833 GB, free: 29.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/8.735, allocations: 2.994 MB / 3.836 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/8.735, allocations: 3.75 kB / 3.836 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008288/8.736, allocations: 181.1 kB / 3.836 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001817/8.738, allocations: 314.2 kB / 3.836 GB, free: 29.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/8.738, allocations: 9.688 kB / 3.836 GB, free: 29.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/8.739, allocations: 2.082 MB / 3.838 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/8.739, allocations: 3.969 kB / 3.838 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/8.741, allocations: 1.959 MB / 3.84 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004609/8.741, allocations: 287.9 kB / 3.84 GB, free: 27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.091e-05/8.742, allocations: 12.78 kB / 3.84 GB, free: 27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00048/8.742, allocations: 40.58 kB / 3.84 GB, free: 27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/8.742, allocations: 33 kB / 3.84 GB, free: 27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/8.742, allocations: 13.62 kB / 3.84 GB, free: 27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00075/8.743, allocations: 0.5681 MB / 3.841 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.124e-06/8.743, allocations: 3.844 kB / 3.841 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006503/8.749, allocations: 1.143 MB / 3.842 GB, free: 26.91 MB / 0.5105 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.007685/8.757, allocations: 1.551 MB / 3.844 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001958/8.759, allocations: 0.9023 MB / 3.844 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/8.759, allocations: 5.25 kB / 3.844 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/8.76, allocations: 0.6245 MB / 3.845 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/8.762, allocations: 384.2 kB / 3.845 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/8.765, allocations: 2.566 MB / 3.848 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/8.766, allocations: 1.112 MB / 3.849 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008046/8.766, allocations: 346.1 kB / 3.849 GB, free: 25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/8.766, allocations: 71.8 kB / 3.849 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of SimCode: time 9.12e-07/8.766, allocations: 0 / 3.849 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of Templates: time 0.05357/8.82, allocations: 39.57 MB / 3.888 GB, free: 23.05 MB / 0.5105 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