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.001219/0.00122, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009837/0.0009837, allocations: 84.84 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.143e-05, allocations: 0 / 350.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1221, allocations: 51.49 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.137/8.259, allocations: 2.762 GB / 3.155 GB, free: 101.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003877/8.259, allocations: 78.45 kB / 3.155 GB, free: 101.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697/11.96, allocations: 0.9766 GB / 4.131 GB, free: 20.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.853e-06/11.96, allocations: 0 / 4.131 GB, free: 20.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000146/11.96, allocations: 62.77 kB / 4.131 GB, free: 20.78 MB / 490.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.01174/11.97, allocations: 3.392 MB / 4.135 GB, free: 18.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/11.97, allocations: 10.78 kB / 4.135 GB, free: 18.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01351/11.98, allocations: 1.238 MB / 4.136 GB, free: 18.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004218/11.99, allocations: 1.521 MB / 4.137 GB, free: 17.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002711/11.99, allocations: 353.2 kB / 4.138 GB, free: 17.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005181/11.99, allocations: 191.8 kB / 4.138 GB, free: 17.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007455/11.99, allocations: 3.471 MB / 4.141 GB, free: 16.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-05/11.99, allocations: 11.69 kB / 4.141 GB, free: 16.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003075/11.99, allocations: 79.33 kB / 4.141 GB, free: 16.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/11.99, allocations: 109.2 kB / 4.141 GB, free: 16.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007851/12, allocations: 3.307 MB / 4.145 GB, free: 14.62 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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/12.02, allocations: 14.42 MB / 4.159 GB, free: 460 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006073/12.03, allocations: 2.69 MB / 4.161 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/12.03, allocations: 1.276 MB / 4.163 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01784/12.05, allocations: 8.987 MB / 4.171 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.713e-05/12.05, allocations: 56.75 kB / 4.171 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003599/12.05, allocations: 0.568 MB / 4.172 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=175): time 6.502e-06/12.05, allocations: 0 / 4.172 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of matching and sorting (n=205): time 0.3863/12.44, allocations: 10.11 MB / 4.182 GB, free: 39.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/12.44, allocations: 156.1 kB / 4.182 GB, free: 39.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/12.44, allocations: 1.211 MB / 4.183 GB, free: 38.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003679/12.44, allocations: 68.39 kB / 4.183 GB, free: 38.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/12.44, allocations: 0.7802 MB / 4.184 GB, free: 38.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007117/12.44, allocations: 0.6756 MB / 4.185 GB, free: 38.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/12.44, allocations: 42.66 kB / 4.185 GB, free: 38.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001267/12.44, allocations: 388.5 kB / 4.185 GB, free: 37.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/12.44, allocations: 1.104 MB / 4.186 GB, free: 37.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/12.45, allocations: 1.527 MB / 4.188 GB, free: 37.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/12.45, allocations: 1.216 MB / 4.189 GB, free: 37.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/12.45, allocations: 3.188 kB / 4.189 GB, free: 37.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.005821/12.45, allocations: 3.603 MB / 4.192 GB, free: 37.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/12.45, allocations: 14.61 kB / 4.192 GB, free: 37.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/12.45, allocations: 14.86 kB / 4.192 GB, free: 37.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004049/12.46, allocations: 1.532 MB / 4.194 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/12.46, allocations: 466.6 kB / 4.194 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00534/12.47, allocations: 6.595 MB / 4.201 GB, free: 32.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/12.47, allocations: 222.6 kB / 4.201 GB, free: 32.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003769/12.47, allocations: 113.6 kB / 4.201 GB, free: 32.43 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 () * 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.0006266/12.47, allocations: 242.1 kB / 4.201 GB, free: 32.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005161/12.47, allocations: 205.1 kB / 4.201 GB, free: 32.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/12.48, allocations: 9.638 MB / 4.211 GB, free: 31.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001014/12.48, allocations: 109 kB / 4.211 GB, free: 31.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/12.48, allocations: 2.688 kB / 4.211 GB, free: 31.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.614e-05/12.48, allocations: 13.39 kB / 4.211 GB, free: 31.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/12.5, allocations: 13.14 MB / 4.224 GB, free: 30.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/12.5, allocations: 0 / 4.224 GB, free: 30.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/12.5, allocations: 399.9 kB / 4.224 GB, free: 30.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00801/12.51, allocations: 4.702 MB / 4.229 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005496/12.51, allocations: 60.53 kB / 4.229 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006809/12.52, allocations: 8.755 MB / 4.237 GB, free: 25.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/12.52, allocations: 2.734 kB / 4.237 GB, free: 25.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/12.53, allocations: 10.23 MB / 4.247 GB, free: 24.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/12.53, allocations: 0.9124 MB / 4.248 GB, free: 24.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000423/12.53, allocations: 44.36 kB / 4.248 GB, free: 24.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/12.54, allocations: 238 kB / 4.249 GB, free: 24.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004428/12.54, allocations: 227.2 kB / 4.249 GB, free: 24.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/12.54, allocations: 90.97 kB / 4.249 GB, free: 24.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00155/12.54, allocations: 1.227 MB / 4.25 GB, free: 24.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.42e-07/12.54, allocations: 0 / 4.25 GB, free: 24.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008002/12.55, allocations: 1.935 MB / 4.252 GB, free: 24.03 MB / 0.4948 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 () * 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.0101/12.56, allocations: 2.6 MB / 4.255 GB, free: 23.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007245/12.56, allocations: 3.909 MB / 4.258 GB, free: 23.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/12.56, allocations: 5.016 kB / 4.258 GB, free: 23.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004961/12.57, allocations: 2.973 MB / 4.261 GB, free: 23.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005239/12.57, allocations: 1.058 MB / 4.262 GB, free: 23.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009906/12.58, allocations: 6.565 MB / 4.269 GB, free: 22.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001448/12.59, allocations: 2.227 MB / 4.271 GB, free: 21.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003291/12.59, allocations: 1.733 MB / 4.273 GB, free: 21.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005998/12.59, allocations: 188.8 kB / 4.273 GB, free: 21.56 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/12.59, allocations: 3.656 kB / 4.273 GB, free: 21.56 MB / 0.4948 GB Notification: Performance of Templates: time 0.4874/13.08, allocations: 95.13 MB / 4.366 GB, free: 54.43 MB / 0.5105 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