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.001872/0.001872, allocations: 183 kB / 18.04 MB, free: 3.777 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.653/1.653, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0009745/0.0009742, allocations: 82.31 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003221, allocations: 12 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2885, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.91/6.198, allocations: 2.756 GB / 3.125 GB, free: 136.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/6.199, allocations: 90.16 kB / 3.125 GB, free: 136.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056/9.254, allocations: 0.9222 GB / 4.047 GB, free: 31.19 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.374e-06/9.255, allocations: 0 / 4.047 GB, free: 31.19 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002194/9.255, allocations: 57.05 kB / 4.047 GB, free: 31.18 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.01246/9.267, allocations: 3.569 MB / 4.05 GB, free: 29.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/9.267, allocations: 9.5 kB / 4.05 GB, free: 29.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01292/9.28, allocations: 1.215 MB / 4.052 GB, free: 29.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00439/9.285, allocations: 1.579 MB / 4.053 GB, free: 28.75 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004143/9.285, allocations: 345 kB / 4.053 GB, free: 28.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/9.286, allocations: 187.1 kB / 4.054 GB, free: 28.55 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/9.297, allocations: 3.55 MB / 4.057 GB, free: 28.11 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.974e-05/9.297, allocations: 17.89 kB / 4.057 GB, free: 28.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003812/9.297, allocations: 87.02 kB / 4.057 GB, free: 28.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001674/9.297, allocations: 102.9 kB / 4.057 GB, free: 28.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007932/9.305, allocations: 3.518 MB / 4.061 GB, free: 28.05 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.01929/9.325, allocations: 14.42 MB / 4.075 GB, free: 20.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006068/9.331, allocations: 2.864 MB / 4.078 GB, free: 20.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002223/9.333, allocations: 1.444 MB / 4.079 GB, free: 19.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01378/9.347, allocations: 8.244 MB / 4.087 GB, free: 14.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.805e-05/9.347, allocations: 51.81 kB / 4.087 GB, free: 14.2 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003064/9.35, allocations: 0.5755 MB / 4.088 GB, free: 14.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=175): time 6.552e-06/9.35, allocations: 4 kB / 4.088 GB, free: 14.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=205): time 0.034/9.384, allocations: 12.3 MB / 4.1 GB, free: 7.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/9.384, allocations: 161.5 kB / 4.1 GB, free: 7.477 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/9.386, allocations: 1.386 MB / 4.101 GB, free: 6.309 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003481/9.386, allocations: 65.7 kB / 4.101 GB, free: 6.238 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/9.387, allocations: 0.7838 MB / 4.102 GB, free: 5.523 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005011/9.387, allocations: 0.6772 MB / 4.103 GB, free: 4.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/9.387, allocations: 40 kB / 4.103 GB, free: 4.871 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/9.387, allocations: 390.7 kB / 4.103 GB, free: 4.512 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/9.39, allocations: 1.262 MB / 4.104 GB, free: 3.457 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/9.392, allocations: 1.695 MB / 4.106 GB, free: 1.828 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007391/9.399, allocations: 3.146 MB / 4.109 GB, free: 15.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/9.399, allocations: 4 kB / 4.109 GB, free: 15.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.008671/9.408, allocations: 3.935 MB / 4.113 GB, free: 12.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/9.408, allocations: 8.125 kB / 4.113 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/9.408, allocations: 19.2 kB / 4.113 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004513/9.413, allocations: 1.539 MB / 4.114 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/9.415, allocations: 461.8 kB / 4.115 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006506/9.422, allocations: 6.601 MB / 4.121 GB, free: 4.133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/9.424, allocations: 228.3 kB / 4.122 GB, free: 3.949 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003891/9.425, allocations: 117.3 kB / 4.122 GB, free: 3.855 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.001378/9.426, allocations: 0.5115 MB / 4.122 GB, free: 3.375 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004691/9.427, allocations: 193.8 kB / 4.122 GB, free: 3.184 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2863/9.713, allocations: 9.863 MB / 4.132 GB, free: 45.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.223e-05/9.713, allocations: 105.1 kB / 4.132 GB, free: 45.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/9.713, allocations: 0 / 4.132 GB, free: 45.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-05/9.713, allocations: 17.16 kB / 4.132 GB, free: 45.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/9.73, allocations: 13.35 MB / 4.145 GB, free: 44.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/9.73, allocations: 0 / 4.145 GB, free: 44.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/9.732, allocations: 406.3 kB / 4.146 GB, free: 44.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005422/9.737, allocations: 3.838 MB / 4.149 GB, free: 44.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002862/9.738, allocations: 64.78 kB / 4.149 GB, free: 44.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007019/9.745, allocations: 8.763 MB / 4.158 GB, free: 39.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/9.745, allocations: 0.5625 kB / 4.158 GB, free: 39.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01501/9.76, allocations: 10.72 MB / 4.168 GB, free: 38.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/9.761, allocations: 0.9121 MB / 4.169 GB, free: 38.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003755/9.762, allocations: 43.06 kB / 4.169 GB, free: 38.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001916/9.764, allocations: 234.8 kB / 4.17 GB, free: 38.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004322/9.764, allocations: 232.2 kB / 4.17 GB, free: 38.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/9.764, allocations: 91.25 kB / 4.17 GB, free: 38.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001524/9.766, allocations: 1.25 MB / 4.171 GB, free: 38.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/9.766, allocations: 0 / 4.171 GB, free: 38.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006261/9.772, allocations: 1.919 MB / 4.173 GB, free: 38.47 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.007726/9.78, allocations: 2.591 MB / 4.175 GB, free: 38.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008185/9.788, allocations: 4.234 MB / 4.18 GB, free: 38.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/9.788, allocations: 2.281 kB / 4.18 GB, free: 38.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005187/9.793, allocations: 3.122 MB / 4.183 GB, free: 38.06 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005209/9.799, allocations: 1.063 MB / 4.184 GB, free: 38.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/9.809, allocations: 9.498 MB / 4.193 GB, free: 34.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/9.811, allocations: 2.163 MB / 4.195 GB, free: 33.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003168/9.814, allocations: 1.737 MB / 4.197 GB, free: 33.81 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005279/9.815, allocations: 187.6 kB / 4.197 GB, free: 33.8 MB / 490.7 MB Notification: Performance of SimCode: time 8.62e-07/9.815, allocations: 0 / 4.197 GB, free: 33.8 MB / 490.7 MB Notification: Performance of Templates: time 0.1211/9.936, allocations: 95.09 MB / 4.29 GB, free: 2.348 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/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_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches