Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002171/0.002171, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.00112/0.001119, allocations: 94.62 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.521e-05/2.536e-05, allocations: 0 / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09034/0.09039, allocations: 47.57 MB / 369.1 MB, free: 2.223 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3945/0.485, allocations: 78.22 MB / 447.3 MB, free: 14.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4852, allocations: 66.34 kB / 447.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01625/0.5015, allocations: 3.881 MB / 451.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5016, allocations: 0 / 451.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.5016, allocations: 8 kB / 451.2 MB, free: 11.58 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001036/0.5026, allocations: 497 kB / 451.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.5027, allocations: 8.031 kB / 451.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.5028, allocations: 24.48 kB / 451.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.5032, allocations: 220.1 kB / 452 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.5032, allocations: 19.7 kB / 452 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.523e-05/0.5033, allocations: 19.38 kB / 452 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.5038, allocations: 216 kB / 452.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.5038, allocations: 3.938 kB / 452.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.5039, allocations: 11.38 kB / 452.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.5039, allocations: 6.188 kB / 452.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.5043, allocations: 129.3 kB / 452.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.5061, allocations: 0.8276 MB / 453.2 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.5066, allocations: 144.5 kB / 453.3 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.5068, allocations: 66.11 kB / 453.4 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.5068, allocations: 4 kB / 453.4 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.5069, allocations: 34.84 kB / 453.4 MB, free: 9.539 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 3.807e-06/0.5069, allocations: 0 / 453.4 MB, free: 9.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.00055/0.5074, allocations: 163.6 kB / 453.6 MB, free: 9.402 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.5075, allocations: 51.41 kB / 453.7 MB, free: 9.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.5077, allocations: 158.1 kB / 453.8 MB, free: 9.191 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.5077, allocations: 29.7 kB / 453.8 MB, free: 9.156 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.5079, allocations: 210.9 kB / 454 MB, free: 8.965 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.967e-05/0.5079, allocations: 50.41 kB / 454.1 MB, free: 8.922 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/0.508, allocations: 7.812 kB / 454.1 MB, free: 8.918 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5081, allocations: 318.8 kB / 454.4 MB, free: 8.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.5082, allocations: 37.69 kB / 454.5 MB, free: 8.578 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.5084, allocations: 72.48 kB / 454.5 MB, free: 8.512 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.5085, allocations: 49.61 kB / 454.6 MB, free: 8.477 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5086, allocations: 0 / 454.6 MB, free: 8.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004942/0.5091, allocations: 181.9 kB / 454.7 MB, free: 8.332 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.5091, allocations: 8 kB / 454.8 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.5091, allocations: 0 / 454.8 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002442/0.5094, allocations: 31.66 kB / 454.8 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.5097, allocations: 40.02 kB / 454.8 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.5111, allocations: 1.36 MB / 456.2 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.5114, allocations: 43.09 kB / 456.2 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.5115, allocations: 15.38 kB / 456.2 MB, free: 6.789 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.5116, allocations: 108.3 kB / 456.3 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.5117, allocations: 19.88 kB / 456.4 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.346e-05/0.5117, allocations: 21.2 kB / 456.4 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.5118, allocations: 4 kB / 456.4 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5118, allocations: 0 / 456.4 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.5118, allocations: 0 / 456.4 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008945/0.5127, allocations: 0.4975 MB / 456.9 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5127, allocations: 0 / 456.9 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.513, allocations: 31.92 kB / 456.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001805/0.5132, allocations: 40.11 kB / 457 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.5132, allocations: 3.984 kB / 457 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.5146, allocations: 1.352 MB / 458.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5146, allocations: 0 / 458.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006931/0.5153, allocations: 323.1 kB / 458.6 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.5155, allocations: 104.4 kB / 458.7 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.5155, allocations: 3.625 kB / 458.7 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.5159, allocations: 28.25 kB / 458.8 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.516, allocations: 23.77 kB / 458.8 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.516, allocations: 4 kB / 458.8 MB, free: 4.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.5162, allocations: 127.6 kB / 458.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5162, allocations: 0 / 458.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004599/0.5166, allocations: 59.66 kB / 459 MB, free: 4.074 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001569/0.5168, allocations: 99.06 kB / 459.1 MB, free: 3.973 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005043/0.5173, allocations: 232.8 kB / 459.3 MB, free: 3.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5174, allocations: 3.938 kB / 459.3 MB, free: 3.766 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.5176, allocations: 173.1 kB / 459.5 MB, free: 3.605 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.518, allocations: 35.94 kB / 459.5 MB, free: 3.578 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.5188, allocations: 316 kB / 459.8 MB, free: 3.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.5191, allocations: 0.7441 MB / 460.6 MB, free: 2.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.5192, allocations: 15.44 kB / 460.6 MB, free: 2.484 MB / 330.7 MB Notification: Performance of SimCode: time 7.22e-07/0.5192, allocations: 3.938 kB / 460.6 MB, free: 2.48 MB / 330.7 MB Notification: Performance of Templates: time 0.007056/0.5263, allocations: 3.064 MB / 463.6 MB, free: 15.44 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches