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.001652/0.001652, allocations: 196 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008612/0.0008613, allocations: 97.56 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.000248, allocations: 4 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2461, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.816/6.062, allocations: 2.762 GB / 3.162 GB, free: 144.1 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/6.062, allocations: 90.19 kB / 3.162 GB, free: 144.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.149/9.211, allocations: 0.9328 GB / 4.095 GB, free: 36.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.925e-06/9.212, allocations: 0 / 4.095 GB, free: 36.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002472/9.212, allocations: 55.48 kB / 4.095 GB, free: 36.71 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.01335/9.225, allocations: 3.577 MB / 4.098 GB, free: 35.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/9.225, allocations: 7.875 kB / 4.098 GB, free: 35.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/9.238, allocations: 1.23 MB / 4.1 GB, free: 34.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00441/9.243, allocations: 1.572 MB / 4.101 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004216/9.243, allocations: 348.4 kB / 4.102 GB, free: 34.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009833/9.244, allocations: 184.9 kB / 4.102 GB, free: 34.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/9.255, allocations: 3.557 MB / 4.105 GB, free: 33.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/9.255, allocations: 13.94 kB / 4.105 GB, free: 33.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007836/9.256, allocations: 86.47 kB / 4.105 GB, free: 33.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/9.256, allocations: 106.2 kB / 4.105 GB, free: 33.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/9.267, allocations: 3.514 MB / 4.109 GB, free: 33.86 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.02481/9.291, allocations: 14.42 MB / 4.123 GB, free: 26.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006736/9.298, allocations: 2.872 MB / 4.126 GB, free: 26.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002589/9.301, allocations: 1.428 MB / 4.127 GB, free: 26.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01412/9.315, allocations: 8.964 MB / 4.136 GB, free: 20.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.25e-05/9.315, allocations: 55.28 kB / 4.136 GB, free: 20.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003293/9.318, allocations: 0.5722 MB / 4.136 GB, free: 20.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=175): time 6.743e-06/9.318, allocations: 0 / 4.136 GB, free: 20.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=205): time 0.03505/9.353, allocations: 12.31 MB / 4.149 GB, free: 19.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/9.354, allocations: 150.4 kB / 4.149 GB, free: 19.53 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/9.355, allocations: 1.395 MB / 4.15 GB, free: 19.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002438/9.356, allocations: 65.73 kB / 4.15 GB, free: 19.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/9.356, allocations: 0.7832 MB / 4.151 GB, free: 18.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004879/9.357, allocations: 0.6732 MB / 4.151 GB, free: 18.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/9.357, allocations: 46.53 kB / 4.152 GB, free: 18.56 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001262/9.357, allocations: 386 kB / 4.152 GB, free: 18.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/9.359, allocations: 1.265 MB / 4.153 GB, free: 18.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/9.361, allocations: 1.701 MB / 4.155 GB, free: 17.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004427/9.366, allocations: 2.915 MB / 4.158 GB, free: 17.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/9.366, allocations: 2.156 kB / 4.158 GB, free: 17.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.006936/9.373, allocations: 3.94 MB / 4.161 GB, free: 17.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/9.373, allocations: 14.38 kB / 4.162 GB, free: 17.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/9.373, allocations: 10.91 kB / 4.162 GB, free: 17.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004033/9.377, allocations: 1.549 MB / 4.163 GB, free: 17.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/9.379, allocations: 463.2 kB / 4.163 GB, free: 17.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004548/9.383, allocations: 6.594 MB / 4.17 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/9.386, allocations: 224.4 kB / 4.17 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002362/9.386, allocations: 115.7 kB / 4.17 GB, free: 12.3 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.001105/9.387, allocations: 0.5103 MB / 4.171 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004125/9.388, allocations: 197 kB / 4.171 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/9.399, allocations: 9.842 MB / 4.181 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.028e-05/9.399, allocations: 108.2 kB / 4.181 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/9.399, allocations: 3.375 kB / 4.181 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.623e-05/9.399, allocations: 19.31 kB / 4.181 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/9.415, allocations: 13.38 MB / 4.194 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/9.415, allocations: 0 / 4.194 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/9.417, allocations: 397.6 kB / 4.194 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005292/9.422, allocations: 3.837 MB / 4.198 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003278/9.422, allocations: 62.97 kB / 4.198 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006255/9.429, allocations: 8.767 MB / 4.206 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/9.429, allocations: 0 / 4.206 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01649/9.445, allocations: 10.71 MB / 4.217 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/9.447, allocations: 0.9068 MB / 4.218 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007229/9.448, allocations: 50.42 kB / 4.218 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002487/9.451, allocations: 241.6 kB / 4.218 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006247/9.451, allocations: 227.3 kB / 4.218 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003248/9.452, allocations: 90.2 kB / 4.218 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002241/9.454, allocations: 1.245 MB / 4.22 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/9.454, allocations: 0 / 4.22 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007857/9.462, allocations: 1.943 MB / 4.222 GB, free: 3.078 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,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.01064/9.472, allocations: 2.603 MB / 4.224 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01275/9.485, allocations: 4.446 MB / 4.228 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/9.485, allocations: 0.5625 kB / 4.228 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006534/9.492, allocations: 3.121 MB / 4.231 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006877/9.499, allocations: 1.071 MB / 4.232 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/9.515, allocations: 9.51 MB / 4.242 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002601/9.517, allocations: 2.158 MB / 4.244 GB, free: 256 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.2754/9.793, allocations: 1.818 MB / 4.246 GB, free: 61.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008595/9.794, allocations: 190 kB / 4.246 GB, free: 61.54 MB / 0.5261 GB Notification: Performance of SimCode: time 6.81e-07/9.794, allocations: 0 / 4.246 GB, free: 61.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.1267/9.92, allocations: 95.17 MB / 4.339 GB, free: 57 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/jenkins1/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