Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.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) 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(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T_onePort.T|T_twoPort.T|T_junction.T",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") translateModel(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T_onePort.T|T_twoPort.T|T_junction.T",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 181.4 kB / 17.01 MB, free: 5.121 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.709/1.709, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.0009009/0.000901, allocations: 101 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002927, allocations: 4 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3287, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.149/8.478, allocations: 2.756 GB / 3.123 GB, free: 41.22 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/8.478, allocations: 86.89 kB / 3.123 GB, free: 41.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.996/12.47, allocations: 0.9689 GB / 4.092 GB, free: 30.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.187e-06/12.47, allocations: 1.906 kB / 4.092 GB, free: 30.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002981/12.47, allocations: 56.27 kB / 4.092 GB, free: 30.2 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.01805/12.49, allocations: 3.587 MB / 4.096 GB, free: 28.39 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/12.49, allocations: 16.7 kB / 4.096 GB, free: 28.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01414/12.51, allocations: 1.223 MB / 4.097 GB, free: 28.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005841/12.51, allocations: 1.529 MB / 4.098 GB, free: 27.88 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000587/12.51, allocations: 346.9 kB / 4.099 GB, free: 27.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/12.51, allocations: 187.6 kB / 4.099 GB, free: 27.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/12.53, allocations: 3.535 MB / 4.102 GB, free: 27.26 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/12.53, allocations: 6.719 kB / 4.102 GB, free: 27.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009464/12.53, allocations: 88.89 kB / 4.102 GB, free: 27.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/12.53, allocations: 105.5 kB / 4.102 GB, free: 27.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/12.54, allocations: 3.512 MB / 4.106 GB, free: 27.24 MB / 474.7 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.02496/12.56, allocations: 14.42 MB / 4.12 GB, free: 20.08 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00717/12.57, allocations: 2.869 MB / 4.123 GB, free: 20.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01534/12.59, allocations: 8.246 MB / 4.131 GB, free: 15.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.862e-05/12.59, allocations: 58.25 kB / 4.131 GB, free: 15 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003738/12.59, allocations: 0.5726 MB / 4.131 GB, free: 14.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=175): time 1.432e-05/12.59, allocations: 0 / 4.131 GB, free: 14.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=205): time 0.04064/12.63, allocations: 12.29 MB / 4.143 GB, free: 13.53 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/12.63, allocations: 153 kB / 4.144 GB, free: 13.37 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/12.63, allocations: 1.229 MB / 4.145 GB, free: 13.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004342/12.63, allocations: 64.14 kB / 4.145 GB, free: 13.17 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005838/12.63, allocations: 0.784 MB / 4.146 GB, free: 12.85 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007991/12.63, allocations: 0.6688 MB / 4.146 GB, free: 12.42 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/12.63, allocations: 44.5 kB / 4.146 GB, free: 12.42 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/12.63, allocations: 390.8 kB / 4.147 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002499/12.64, allocations: 1.263 MB / 4.148 GB, free: 12.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002766/12.64, allocations: 1.685 MB / 4.15 GB, free: 11.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002644/12.64, allocations: 1.373 MB / 4.151 GB, free: 11.57 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/12.64, allocations: 0 / 4.151 GB, free: 11.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.007847/12.65, allocations: 3.925 MB / 4.155 GB, free: 10.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/12.65, allocations: 11.38 kB / 4.155 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/12.65, allocations: 14.91 kB / 4.155 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00458/12.66, allocations: 1.553 MB / 4.156 GB, free: 9.879 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/12.66, allocations: 463.6 kB / 4.157 GB, free: 9.828 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005413/12.66, allocations: 6.606 MB / 4.163 GB, free: 4.379 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003137/12.67, allocations: 217 kB / 4.163 GB, free: 4.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005602/12.67, allocations: 116.2 kB / 4.163 GB, free: 4.297 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 21 (openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {1 5,1 5,4 6,1 5,1 5,4 6,1 5,1 5,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.001842/12.67, allocations: 0.5037 MB / 4.164 GB, free: 3.984 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007978/12.67, allocations: 202.8 kB / 4.164 GB, free: 3.883 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02048/12.69, allocations: 10.27 MB / 4.174 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/12.69, allocations: 105.4 kB / 4.174 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-05/12.69, allocations: 0 / 4.174 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.159e-05/12.69, allocations: 13.09 kB / 4.174 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02541/12.72, allocations: 13.38 MB / 4.187 GB, free: 1.992 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.889e-05/12.72, allocations: 0 / 4.187 GB, free: 1.992 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/12.72, allocations: 399.5 kB / 4.188 GB, free: 1.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3427/13.06, allocations: 4.151 MB / 4.192 GB, free: 45.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006305/13.06, allocations: 60.98 kB / 4.192 GB, free: 45.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007801/13.07, allocations: 8.781 MB / 4.2 GB, free: 40.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/13.07, allocations: 0 / 4.2 GB, free: 40.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/13.09, allocations: 10.71 MB / 4.211 GB, free: 39.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003482/13.09, allocations: 0.9113 MB / 4.212 GB, free: 39.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007959/13.09, allocations: 46.16 kB / 4.212 GB, free: 39.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003066/13.09, allocations: 234.1 kB / 4.212 GB, free: 39.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006969/13.09, allocations: 228 kB / 4.212 GB, free: 39.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002935/13.09, allocations: 86.73 kB / 4.212 GB, free: 39.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002265/13.1, allocations: 1.254 MB / 4.214 GB, free: 39.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.254e-06/13.1, allocations: 0 / 4.214 GB, free: 39.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009908/13.11, allocations: 1.919 MB / 4.215 GB, free: 39.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (openTankCold2.medium.h,openTankCold2.level,openTankCold1.medium.h,openTankCold1.level,openTankHot1.medium.h,openTankHot1.level,openTankHot2.medium.h,openTankHot2.level,openTankCold3.medium.h,openTankCold3.level,openTankHot3.medium.h,openTankHot3.level) * Number of discrete variables: 71 ($cse1.phase,$cse1.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.region3boundary,$cse30.region3boundary,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse46.phase,$cse46.region,$cse48.phase,$cse48.region,$cse49.region3boundary,$cse50.region3boundary,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region,openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {2 4,2 4,6 9,2 4,2 4,6 9,2 4,2 4,6 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.01177/13.12, allocations: 2.583 MB / 4.218 GB, free: 39.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01032/13.13, allocations: 4.229 MB / 4.222 GB, free: 39.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/13.13, allocations: 3.438 kB / 4.222 GB, free: 39.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007215/13.14, allocations: 3.142 MB / 4.225 GB, free: 39.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005557/13.14, allocations: 1.044 MB / 4.226 GB, free: 39.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/13.16, allocations: 9.486 MB / 4.235 GB, free: 35.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002265/13.16, allocations: 2.234 MB / 4.238 GB, free: 35.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003845/13.16, allocations: 1.752 MB / 4.239 GB, free: 34.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006177/13.16, allocations: 187 kB / 4.24 GB, free: 34.98 MB / 490.7 MB Notification: Performance of SimCode: time 1.332e-06/13.16, allocations: 2.062 kB / 4.24 GB, free: 34.98 MB / 490.7 MB Notification: Performance of Templates: time 0.1646/13.33, allocations: 92.23 MB / 4.33 GB, free: 20.25 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/Explanatory/MeasuringTemperature/MeasuringTemperature.csv","../files/Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches