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.001411/0.001411, allocations: 171.9 kB / 14.1 MB, free: 1.223 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.775/1.775, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.001053/0.001053, allocations: 86.66 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.857e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1363, allocations: 47.57 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.608/7.745, allocations: 2.756 GB / 3.117 GB, free: 67.24 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/7.745, allocations: 84.31 kB / 3.117 GB, free: 67.17 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.98/11.72, allocations: 0.966 GB / 4.083 GB, free: 31.76 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.006e-06/11.72, allocations: 2.125 kB / 4.083 GB, free: 31.76 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001681/11.72, allocations: 62.12 kB / 4.083 GB, free: 31.75 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.01426/11.74, allocations: 3.389 MB / 4.087 GB, free: 30.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/11.74, allocations: 11.09 kB / 4.087 GB, free: 30.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01345/11.75, allocations: 1.235 MB / 4.088 GB, free: 30.08 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004476/11.76, allocations: 1.524 MB / 4.089 GB, free: 29.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003123/11.76, allocations: 352.5 kB / 4.09 GB, free: 29.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005661/11.76, allocations: 181 kB / 4.09 GB, free: 29.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007697/11.77, allocations: 3.472 MB / 4.093 GB, free: 29.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.321e-05/11.77, allocations: 13.25 kB / 4.093 GB, free: 29.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000298/11.77, allocations: 85.03 kB / 4.093 GB, free: 29.07 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/11.77, allocations: 110.3 kB / 4.094 GB, free: 29.07 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006924/11.77, allocations: 3.309 MB / 4.097 GB, free: 29.05 MB / 474.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.0257/11.8, allocations: 14.41 MB / 4.111 GB, free: 21.94 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005981/11.8, allocations: 2.7 MB / 4.114 GB, free: 21.87 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/11.81, allocations: 1.271 MB / 4.115 GB, free: 21.86 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01555/11.82, allocations: 8.273 MB / 4.123 GB, free: 16.87 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.628e-05/11.82, allocations: 54.09 kB / 4.123 GB, free: 16.83 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004137/11.83, allocations: 0.5681 MB / 4.123 GB, free: 16.74 MB / 474.7 MB Notification: Performance of pre-optimization done (n=175): time 1.814e-05/11.83, allocations: 0 / 4.123 GB, free: 16.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=205): time 0.03345/11.86, allocations: 10.13 MB / 4.133 GB, free: 15.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/11.86, allocations: 155.3 kB / 4.133 GB, free: 15.74 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/11.86, allocations: 1.208 MB / 4.135 GB, free: 15.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004244/11.86, allocations: 62.83 kB / 4.135 GB, free: 15.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005404/11.86, allocations: 0.7907 MB / 4.136 GB, free: 15.22 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007157/11.86, allocations: 0.6712 MB / 4.136 GB, free: 14.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/11.86, allocations: 39.19 kB / 4.136 GB, free: 14.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/11.86, allocations: 392.7 kB / 4.137 GB, free: 14.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/11.87, allocations: 1.102 MB / 4.138 GB, free: 14.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/11.87, allocations: 1.529 MB / 4.139 GB, free: 14.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/11.87, allocations: 1.213 MB / 4.14 GB, free: 14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/11.87, allocations: 3.938 kB / 4.14 GB, free: 14 MB / 474.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.006307/11.88, allocations: 3.605 MB / 4.144 GB, free: 13.74 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/11.88, allocations: 11.78 kB / 4.144 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/11.88, allocations: 9.281 kB / 4.144 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004044/11.88, allocations: 1.546 MB / 4.145 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/11.88, allocations: 464.9 kB / 4.146 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004891/11.89, allocations: 6.591 MB / 4.152 GB, free: 8.977 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/11.89, allocations: 225 kB / 4.152 GB, free: 8.957 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002806/11.89, allocations: 114.4 kB / 4.153 GB, free: 8.957 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 () * 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.0006048/11.89, allocations: 242.3 kB / 4.153 GB, free: 8.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000445/11.89, allocations: 196.5 kB / 4.153 GB, free: 8.742 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/11.9, allocations: 9.647 MB / 4.162 GB, free: 7.727 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.04e-05/11.9, allocations: 105.6 kB / 4.163 GB, free: 7.727 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/11.9, allocations: 0 / 4.163 GB, free: 7.727 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/11.9, allocations: 10.73 kB / 4.163 GB, free: 7.727 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/11.92, allocations: 13.14 MB / 4.175 GB, free: 2.012 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/11.92, allocations: 0 / 4.175 GB, free: 2.012 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/11.92, allocations: 402.1 kB / 4.176 GB, free: 1.977 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006132/11.93, allocations: 4.697 MB / 4.18 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003619/11.93, allocations: 62.88 kB / 4.18 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009302/11.94, allocations: 8.787 MB / 4.189 GB, free: 8.242 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/11.94, allocations: 0 / 4.189 GB, free: 8.242 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02103/11.96, allocations: 10.61 MB / 4.199 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002858/11.96, allocations: 0.9017 MB / 4.2 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/11.96, allocations: 48 kB / 4.2 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003111/11.96, allocations: 237.4 kB / 4.2 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007474/11.97, allocations: 227.7 kB / 4.201 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004183/11.97, allocations: 90.81 kB / 4.201 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002858/11.97, allocations: 1.235 MB / 4.202 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.2e-07/11.97, allocations: 0 / 4.202 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01081/11.98, allocations: 1.919 MB / 4.204 GB, free: 11.67 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.01366/11.99, allocations: 2.575 MB / 4.206 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009951/12, allocations: 3.906 MB / 4.21 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/12, allocations: 0.5625 kB / 4.21 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006594/12.01, allocations: 2.978 MB / 4.213 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006705/12.02, allocations: 1.059 MB / 4.214 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3865/12.4, allocations: 6.564 MB / 4.221 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002418/12.41, allocations: 2.23 MB / 4.223 GB, free: 58.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004847/12.41, allocations: 1.734 MB / 4.224 GB, free: 58.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007657/12.41, allocations: 188.2 kB / 4.225 GB, free: 58.39 MB / 0.4948 GB Notification: Performance of SimCode: time 1.794e-06/12.41, allocations: 1.969 kB / 4.225 GB, free: 58.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.1272/12.54, allocations: 95.05 MB / 4.317 GB, free: 51.15 MB / 0.4948 GB 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