Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001504, allocations: 198.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.2 MB / 245 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009608/0.0009608, allocations: 99.98 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002403/0.0002405, allocations: 4 kB / 357.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2284, allocations: 51.47 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.765/4.994, allocations: 2.762 GB / 3.162 GB, free: 64.52 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/4.994, allocations: 89.77 kB / 3.162 GB, free: 64.47 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.15/8.144, allocations: 0.9795 GB / 4.141 GB, free: 35.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.613e-06/8.144, allocations: 1.75 kB / 4.141 GB, free: 35.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002153/8.145, allocations: 58.86 kB / 4.141 GB, free: 35.49 MB / 0.4948 GB 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.01369/8.158, allocations: 3.6 MB / 4.145 GB, free: 33.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/8.158, allocations: 7.938 kB / 4.145 GB, free: 33.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01336/8.172, allocations: 1.231 MB / 4.146 GB, free: 33.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004193/8.176, allocations: 1.527 MB / 4.148 GB, free: 33.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/8.176, allocations: 353.9 kB / 4.148 GB, free: 33.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007718/8.177, allocations: 185.1 kB / 4.148 GB, free: 33.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009117/8.186, allocations: 3.533 MB / 4.152 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.179e-05/8.186, allocations: 11.34 kB / 4.152 GB, free: 32.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004828/8.187, allocations: 84.33 kB / 4.152 GB, free: 32.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/8.187, allocations: 106.2 kB / 4.152 GB, free: 32.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007851/8.195, allocations: 3.52 MB / 4.155 GB, free: 32.74 MB / 0.4948 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.01969/8.215, allocations: 14.41 MB / 4.169 GB, free: 25.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006368/8.221, allocations: 2.874 MB / 4.172 GB, free: 25.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0145/8.235, allocations: 8.975 MB / 4.181 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.19e-05/8.236, allocations: 57.09 kB / 4.181 GB, free: 19.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003377/8.239, allocations: 0.5706 MB / 4.182 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=175): time 9.448e-06/8.239, allocations: 0 / 4.182 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=205): time 0.03662/8.276, allocations: 12.29 MB / 4.194 GB, free: 18.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/8.276, allocations: 148.1 kB / 4.194 GB, free: 18.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/8.278, allocations: 1.231 MB / 4.195 GB, free: 18.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002824/8.278, allocations: 64.36 kB / 4.195 GB, free: 18.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006289/8.279, allocations: 0.7836 MB / 4.196 GB, free: 17.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006579/8.279, allocations: 0.6735 MB / 4.196 GB, free: 17.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/8.28, allocations: 41.25 kB / 4.196 GB, free: 17.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001493/8.28, allocations: 391.2 kB / 4.197 GB, free: 17.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/8.282, allocations: 1.261 MB / 4.198 GB, free: 17.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/8.285, allocations: 1.695 MB / 4.2 GB, free: 16.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/8.287, allocations: 1.36 MB / 4.201 GB, free: 16.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/8.287, allocations: 4.875 kB / 4.201 GB, free: 16.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.007463/8.295, allocations: 3.93 MB / 4.205 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/8.295, allocations: 9.812 kB / 4.205 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/8.295, allocations: 12.59 kB / 4.205 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004227/8.299, allocations: 1.549 MB / 4.206 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/8.301, allocations: 465.9 kB / 4.207 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004797/8.306, allocations: 6.609 MB / 4.213 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/8.309, allocations: 220.6 kB / 4.213 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003646/8.309, allocations: 121.5 kB / 4.214 GB, free: 11.68 MB / 0.4948 GB 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.001332/8.31, allocations: 0.502 MB / 4.214 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005556/8.311, allocations: 199.9 kB / 4.214 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/8.324, allocations: 9.857 MB / 4.224 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.313e-05/8.324, allocations: 103.9 kB / 4.224 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/8.324, allocations: 0 / 4.224 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/8.324, allocations: 17.7 kB / 4.224 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/8.34, allocations: 13.37 MB / 4.237 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/8.34, allocations: 3 kB / 4.237 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/8.341, allocations: 396.9 kB / 4.237 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005389/8.347, allocations: 4.134 MB / 4.241 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002568/8.347, allocations: 64.23 kB / 4.242 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006409/8.353, allocations: 8.779 MB / 4.25 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/8.353, allocations: 0 / 4.25 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/8.365, allocations: 10.72 MB / 4.261 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/8.367, allocations: 0.9078 MB / 4.261 GB, free: 18.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003794/8.368, allocations: 39.94 kB / 4.261 GB, free: 18.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/8.37, allocations: 247 kB / 4.262 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004525/8.37, allocations: 225.5 kB / 4.262 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/8.37, allocations: 90.56 kB / 4.262 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001599/8.372, allocations: 1.252 MB / 4.263 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/8.372, allocations: 6.469 kB / 4.263 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006684/8.379, allocations: 1.93 MB / 4.265 GB, free: 17.54 MB / 0.5105 GB 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.007688/8.386, allocations: 2.603 MB / 4.268 GB, free: 16.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007606/8.394, allocations: 4.229 MB / 4.272 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/8.394, allocations: 0.875 kB / 4.272 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005443/8.4, allocations: 3.135 MB / 4.275 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004403/8.404, allocations: 1.05 MB / 4.276 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/8.415, allocations: 9.493 MB / 4.285 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/8.417, allocations: 2.23 MB / 4.287 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003146/8.42, allocations: 1.744 MB / 4.289 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005725/8.42, allocations: 186.5 kB / 4.289 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of SimCode: time 9.82e-07/8.42, allocations: 4 kB / 4.289 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of Templates: time 0.3704/8.791, allocations: 92.37 MB / 4.379 GB, free: 62.17 MB / 0.5261 GB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.sim & ./Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/Explanatory/MeasuringTemperature/MeasuringTemperature.csv","../files/Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches