Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 110.1 kB / 18.47 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.00119, allocations: 215.9 kB / 19.42 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/1.92e-05, allocations: 2.281 kB / 359.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003144/0.003171, allocations: 2.524 MB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.004378, allocations: 0.6815 MB / 362.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.004539, allocations: 4 kB / 362.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.004708, allocations: 39.64 kB / 362.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.00486, allocations: 67.36 kB / 362.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.005176, allocations: 67.89 kB / 362.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003824/0.005567, allocations: 294.7 kB / 363 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.005796, allocations: 107.4 kB / 363.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.005968, allocations: 91.66 kB / 363.2 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.006133, allocations: 115.5 kB / 363.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.006181, allocations: 24 kB / 363.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-05/0.006282, allocations: 24 kB / 363.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002998/0.006588, allocations: 367.9 kB / 363.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001405/0.006737, allocations: 224.7 kB / 363.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.272e-05/0.006816, allocations: 47.81 kB / 364 MB, free: 8.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.38e-05/0.006875, allocations: 8 kB / 364 MB, free: 8.293 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 (52) * Number of variables: 52 (52) Notification: Performance of Bindings: time 0.001131/0.008014, allocations: 1.095 MB / 365.1 MB, free: 7.09 MB / 302.1 MB Notification: Performance of FunctionAlias: time 6.292e-05/0.008083, allocations: 47.91 kB / 365.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0005929/0.008682, allocations: 0.6126 MB / 365.7 MB, free: 6.402 MB / 302.1 MB Notification: Performance of simplify1: time 5.898e-05/0.008749, allocations: 55.92 kB / 365.8 MB, free: 6.348 MB / 302.1 MB Notification: Performance of Alias: time 0.001667/0.01042, allocations: 1.251 MB / 367 MB, free: 4.957 MB / 302.1 MB Notification: Performance of simplify2: time 4.229e-05/0.01047, allocations: 23.97 kB / 367.1 MB, free: 4.934 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001768/0.01066, allocations: 116.1 kB / 367.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of Events: time 0.0001315/0.0108, allocations: 71.88 kB / 367.2 MB, free: 4.734 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001577/0.01096, allocations: 135.4 kB / 367.4 MB, free: 4.59 MB / 302.1 MB Notification: Performance of Causalize: time 0.000551/0.01152, allocations: 480.2 kB / 367.8 MB, free: 4.109 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003003/0.01183, allocations: 325.5 kB / 368.2 MB, free: 3.762 MB / 302.1 MB Notification: Performance of Inline: time 0.0005655/0.0124, allocations: 0.603 MB / 368.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of Partitioning: time 3.81e-05/0.01245, allocations: 40.09 kB / 368.8 MB, free: 3.078 MB / 302.1 MB Notification: Performance of Cleanup: time 2.68e-05/0.01248, allocations: 23.92 kB / 368.8 MB, free: 3.055 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007813/0.01327, allocations: 0.7012 MB / 369.5 MB, free: 2.344 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004193/0.0137, allocations: 378.1 kB / 369.9 MB, free: 1.926 MB / 302.1 MB Notification: Performance of Initialization: time 3.386e-06/0.01371, allocations: 0 / 369.9 MB, free: 1.926 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002855/0.014, allocations: 389.9 kB / 370.3 MB, free: 1.496 MB / 302.1 MB Notification: Performance of Categorize: time 9.278e-06/0.01402, allocations: 4 kB / 370.3 MB, free: 1.492 MB / 302.1 MB Notification: Performance of Solve: time 0.0001253/0.01415, allocations: 72.22 kB / 370.3 MB, free: 1.422 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0002383/0.0144, allocations: 340.8 kB / 370.7 MB, free: 1.055 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {heatCapacitor.T} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {onOffController.y, $SEV_1, $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 17 (scalar:17, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 26 (scalar:26, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 4.771e-05/0.01445, allocations: 34.38 kB / 370.7 MB, free: 1.027 MB / 302.1 MB Notification: Performance of SimCode: time 0.1762/0.1906, allocations: 1.354 MB / 372.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of Templates: time 0.005158/0.1958, allocations: 1.74 MB / 373.8 MB, free: 15.09 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,heatCapacitor.T,onOffController.y Variables in the result:TAmb,TDif,constantVoltage.V,constantVoltage.n.v,constantVoltage.v,fixedTemperature.T,fixedTemperature.port.T,ground.p.v,heatCapacitor.C,heatCapacitor.T,idealSwitch.Goff,idealSwitch.Ron,idealSwitch.T,idealSwitch.T_heatPort,onOffController.bandwidth,onOffController.pre_y_start,onOffController.y,ramp.duration,ramp.height,ramp.offset,ramp.startTime,resistor.R,resistor.T,resistor.T_ref,resistor.alpha,resistor.n.v,temperatureSensor.port.Q_flow,thermalConductor.G,thermalConductor.port_b.T,time