Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_trunk_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_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003099/0.003099, allocations: 195.7 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.253/2.253, allocations: 226.5 MB / 245.3 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 95.42 kB / 297.4 MB, free: 6.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003447, allocations: 8 kB / 357.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3866, allocations: 51.3 MB / 408.7 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.5364, allocations: 80.2 MB / 488.9 MB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003521/0.5368, allocations: 67.97 kB / 488.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01542/0.5523, allocations: 3.981 MB / 492.9 MB, free: 7.285 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.5524, allocations: 0 / 492.9 MB, free: 7.285 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.463e-05/0.5524, allocations: 4 kB / 492.9 MB, free: 7.281 MB / 362.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.0012/0.5536, allocations: 0.5108 MB / 493.4 MB, free: 6.723 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.593e-05/0.5537, allocations: 12.03 kB / 493.4 MB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.5539, allocations: 24.66 kB / 493.5 MB, free: 6.688 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.5543, allocations: 229.6 kB / 493.7 MB, free: 6.426 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.5544, allocations: 20.81 kB / 493.7 MB, free: 6.406 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.5545, allocations: 16.38 kB / 493.7 MB, free: 6.391 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006595/0.5551, allocations: 242.1 kB / 494 MB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.5552, allocations: 0 / 494 MB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.5552, allocations: 4 kB / 494 MB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.5552, allocations: 8 kB / 494 MB, free: 6.129 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00056/0.5558, allocations: 165.7 kB / 494.1 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.5578, allocations: 0.8204 MB / 495 MB, free: 5.074 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.5583, allocations: 182.4 kB / 495.1 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.5586, allocations: 84.81 kB / 495.2 MB, free: 4.801 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.5586, allocations: 4 kB / 495.2 MB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.5587, allocations: 30.56 kB / 495.3 MB, free: 4.758 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.966e-06/0.5587, allocations: 0 / 495.3 MB, free: 4.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001232/0.5599, allocations: 359.2 kB / 495.6 MB, free: 4.379 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.56, allocations: 51.41 kB / 495.7 MB, free: 4.316 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.5603, allocations: 179.1 kB / 495.8 MB, free: 4.129 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.5603, allocations: 25.7 kB / 495.9 MB, free: 4.098 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.5604, allocations: 148.2 kB / 496 MB, free: 3.949 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.281e-05/0.5605, allocations: 47.27 kB / 496 MB, free: 3.902 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.5605, allocations: 0 / 496 MB, free: 3.902 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.5607, allocations: 334.8 kB / 496.4 MB, free: 3.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.561, allocations: 59.97 kB / 496.4 MB, free: 3.508 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.5612, allocations: 90.39 kB / 496.5 MB, free: 3.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.5616, allocations: 149.9 kB / 496.7 MB, free: 3.254 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5617, allocations: 0 / 496.7 MB, free: 3.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000681/0.5624, allocations: 218.2 kB / 496.9 MB, free: 3.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.5624, allocations: 7.938 kB / 496.9 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5624, allocations: 3.938 kB / 496.9 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002611/0.5627, allocations: 36.94 kB / 496.9 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.5629, allocations: 39.91 kB / 497 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.5646, allocations: 1.37 MB / 498.3 MB, free: 1.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.5648, allocations: 31.81 kB / 498.4 MB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.5649, allocations: 8 kB / 498.4 MB, free: 1.398 MB / 362.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 () * Number of clocked 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.0002173/0.5651, allocations: 142.9 kB / 498.5 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.69e-05/0.5652, allocations: 15.81 kB / 498.5 MB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.501e-05/0.5653, allocations: 21.86 kB / 498.5 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.5653, allocations: 4 kB / 498.6 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.5653, allocations: 0 / 498.6 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.5653, allocations: 0 / 498.6 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.5665, allocations: 0.5225 MB / 499.1 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5665, allocations: 0 / 499.1 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.5667, allocations: 39.91 kB / 499.1 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001682/0.5669, allocations: 24.84 kB / 499.1 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.567, allocations: 11.94 kB / 499.1 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.5684, allocations: 1.364 MB / 0.4888 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5684, allocations: 3.938 kB / 0.4888 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008807/0.5693, allocations: 371.2 kB / 0.4891 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.5695, allocations: 96.94 kB / 0.4892 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.5695, allocations: 11.98 kB / 0.4892 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.5698, allocations: 23.98 kB / 0.4893 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.57, allocations: 19.91 kB / 0.4893 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.57, allocations: 8 kB / 0.4893 GB, free: 14.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001797/0.5702, allocations: 135.2 kB / 0.4894 GB, free: 14.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5702, allocations: 0 / 0.4894 GB, free: 14.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005306/0.5707, allocations: 63.84 kB / 0.4895 GB, free: 14.3 MB / 378.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) * Number of clocked states: 0 () * 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.0002054/0.5709, allocations: 95.25 kB / 0.4896 GB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007938/0.5718, allocations: 277.6 kB / 0.4898 GB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5718, allocations: 0 / 0.4898 GB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.5722, allocations: 198.7 kB / 0.49 GB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.5727, allocations: 43.67 kB / 0.4901 GB, free: 13.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.5741, allocations: 0.5752 MB / 0.4906 GB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.5746, allocations: 0.74 MB / 0.4914 GB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/0.5747, allocations: 15.44 kB / 0.4914 GB, free: 12.28 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5747, allocations: 4 kB / 0.4914 GB, free: 12.28 MB / 378.7 MB Notification: Performance of Templates: time 0.008795/0.5835, allocations: 3.131 MB / 0.4944 GB, free: 9.156 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches