Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009923/0.0009924, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.681/1.681, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.001019/0.001019, allocations: 89.92 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003379, allocations: 15.98 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3448, allocations: 47.56 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.588/6.933, allocations: 2.756 GB / 3.123 GB, free: 136.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/6.933, allocations: 86.72 kB / 3.123 GB, free: 136.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.068/10, allocations: 0.9222 GB / 4.046 GB, free: 31.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.064e-06/10, allocations: 0 / 4.046 GB, free: 31.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001676/10, allocations: 63.48 kB / 4.046 GB, free: 31.25 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.01269/10.01, allocations: 3.569 MB / 4.049 GB, free: 29.42 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/10.01, allocations: 9.188 kB / 4.049 GB, free: 29.42 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/10.03, allocations: 1.212 MB / 4.05 GB, free: 29.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004585/10.03, allocations: 1.569 MB / 4.052 GB, free: 28.83 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003764/10.03, allocations: 347.9 kB / 4.052 GB, free: 28.64 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007614/10.03, allocations: 195.2 kB / 4.052 GB, free: 28.63 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00843/10.04, allocations: 3.551 MB / 4.056 GB, free: 28.19 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.534e-05/10.04, allocations: 11.47 kB / 4.056 GB, free: 28.18 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002936/10.04, allocations: 87.84 kB / 4.056 GB, free: 28.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/10.04, allocations: 103.2 kB / 4.056 GB, free: 28.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008119/10.05, allocations: 3.516 MB / 4.059 GB, free: 28.13 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.02056/10.07, allocations: 14.42 MB / 4.074 GB, free: 20.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007149/10.08, allocations: 2.862 MB / 4.076 GB, free: 20.33 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003325/10.08, allocations: 1.441 MB / 4.078 GB, free: 19.81 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0156/10.1, allocations: 8.243 MB / 4.086 GB, free: 14.49 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/10.1, allocations: 59.75 kB / 4.086 GB, free: 14.43 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003879/10.1, allocations: 0.5672 MB / 4.086 GB, free: 14.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=175): time 1.387e-05/10.1, allocations: 4 kB / 4.086 GB, free: 14.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=205): time 0.04054/10.14, allocations: 12.31 MB / 4.098 GB, free: 8.191 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/10.14, allocations: 154.5 kB / 4.099 GB, free: 8.012 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/10.14, allocations: 1.389 MB / 4.1 GB, free: 6.844 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005189/10.14, allocations: 69.7 kB / 4.1 GB, free: 6.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005979/10.15, allocations: 0.7894 MB / 4.101 GB, free: 6.051 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008359/10.15, allocations: 0.6684 MB / 4.101 GB, free: 5.445 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003377/10.15, allocations: 44 kB / 4.102 GB, free: 5.402 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/10.15, allocations: 382.7 kB / 4.102 GB, free: 5.047 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002709/10.15, allocations: 1.265 MB / 4.103 GB, free: 3.988 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002825/10.15, allocations: 1.693 MB / 4.105 GB, free: 2.363 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005823/10.16, allocations: 2.942 MB / 4.108 GB, free: 15.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-05/10.16, allocations: 8 kB / 4.108 GB, free: 15.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01015/10.17, allocations: 3.94 MB / 4.111 GB, free: 12.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/10.17, allocations: 8 kB / 4.112 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/10.17, allocations: 12 kB / 4.112 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004888/10.17, allocations: 1.54 MB / 4.113 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/10.18, allocations: 461.9 kB / 4.113 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006985/10.18, allocations: 6.602 MB / 4.12 GB, free: 4.133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003069/10.19, allocations: 224.8 kB / 4.12 GB, free: 3.953 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006561/10.19, allocations: 116.3 kB / 4.12 GB, free: 3.859 MB / 490.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.002032/10.19, allocations: 0.5119 MB / 4.121 GB, free: 3.379 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008676/10.19, allocations: 193.8 kB / 4.121 GB, free: 3.188 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3026/10.49, allocations: 9.874 MB / 4.131 GB, free: 45.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-05/10.49, allocations: 102.5 kB / 4.131 GB, free: 45.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/10.49, allocations: 1.469 kB / 4.131 GB, free: 45.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.059e-05/10.49, allocations: 11.25 kB / 4.131 GB, free: 45.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/10.51, allocations: 13.37 MB / 4.144 GB, free: 45.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/10.51, allocations: 0.9375 kB / 4.144 GB, free: 45.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/10.51, allocations: 396.2 kB / 4.144 GB, free: 45.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005716/10.52, allocations: 3.836 MB / 4.148 GB, free: 44.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003935/10.52, allocations: 69.45 kB / 4.148 GB, free: 44.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007344/10.52, allocations: 8.763 MB / 4.156 GB, free: 40.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/10.52, allocations: 0.5938 kB / 4.156 GB, free: 40.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0153/10.54, allocations: 10.72 MB / 4.167 GB, free: 39.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/10.54, allocations: 0.9118 MB / 4.168 GB, free: 39.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004812/10.54, allocations: 43.16 kB / 4.168 GB, free: 39.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002112/10.54, allocations: 236.1 kB / 4.168 GB, free: 39.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004597/10.54, allocations: 227.5 kB / 4.168 GB, free: 39.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002153/10.54, allocations: 89.47 kB / 4.168 GB, free: 39.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001599/10.55, allocations: 1.253 MB / 4.17 GB, free: 39.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/10.55, allocations: 1.594 kB / 4.17 GB, free: 39.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007275/10.55, allocations: 1.919 MB / 4.171 GB, free: 39.14 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,4 11,2 4,2 4,4 11,2 4,2 4,6 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.009673/10.56, allocations: 2.599 MB / 4.174 GB, free: 38.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00875/10.57, allocations: 4.232 MB / 4.178 GB, free: 38.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/10.57, allocations: 3.312 kB / 4.178 GB, free: 38.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005278/10.58, allocations: 3.116 MB / 4.181 GB, free: 38.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005417/10.58, allocations: 1.061 MB / 4.182 GB, free: 38.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/10.6, allocations: 9.552 MB / 4.192 GB, free: 35.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/10.6, allocations: 2.131 MB / 4.194 GB, free: 34.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/10.6, allocations: 201.8 kB / 4.194 GB, free: 34.51 MB / 490.7 MB Notification: Performance of SimCode: time 1.142e-06/10.6, allocations: 0 / 4.194 GB, free: 34.51 MB / 490.7 MB Notification: Performance of Templates: time 0.4685/11.07, allocations: 179.9 MB / 4.37 GB, free: 58.49 MB / 0.4948 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.sim & ./Modelica_3.2.3_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches