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.001087/0.001088, allocations: 113.2 kB / 18.41 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 212.6 kB / 19.36 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.146e-05, allocations: 2.281 kB / 308.3 MB, free: 15.97 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00334/0.003375, allocations: 2.514 MB / 310.8 MB, free: 13.46 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.0044, allocations: 0.6781 MB / 311.5 MB, free: 12.78 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.004512, allocations: 4 kB / 311.5 MB, free: 12.78 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.004654, allocations: 35.66 kB / 311.5 MB, free: 12.74 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.004776, allocations: 71.33 kB / 311.6 MB, free: 12.67 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.005008, allocations: 63.86 kB / 311.7 MB, free: 12.61 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.005294, allocations: 294.8 kB / 311.9 MB, free: 12.32 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.005497, allocations: 107.4 kB / 312 MB, free: 12.21 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.005603, allocations: 103.6 kB / 312.1 MB, free: 12.11 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.005735, allocations: 107.5 kB / 312.3 MB, free: 12.01 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.005772, allocations: 20 kB / 312.3 MB, free: 11.99 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.007e-05/0.005849, allocations: 24 kB / 312.3 MB, free: 11.96 MB / 254.1 MB Notification: Performance of combineBinaries: time 0.0002609/0.006116, allocations: 371.9 kB / 312.7 MB, free: 11.6 MB / 254.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001168/0.006239, allocations: 228.6 kB / 312.9 MB, free: 11.37 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.006288, allocations: 39.88 kB / 312.9 MB, free: 11.33 MB / 254.1 MB Notification: Performance of FrontEnd: time 2.923e-05/0.006322, allocations: 8 kB / 312.9 MB, free: 11.32 MB / 254.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.0009469/0.007276, allocations: 1.102 MB / 314 MB, free: 10.12 MB / 254.1 MB Notification: Performance of FunctionAlias: time 4.217e-05/0.007324, allocations: 39.95 kB / 314.1 MB, free: 10.08 MB / 254.1 MB Notification: Performance of Early Inline: time 0.0005214/0.007851, allocations: 0.6204 MB / 314.7 MB, free: 9.43 MB / 254.1 MB Notification: Performance of simplify1: time 4.741e-05/0.007905, allocations: 55.92 kB / 314.7 MB, free: 9.375 MB / 254.1 MB Notification: Performance of Alias: time 0.001237/0.009149, allocations: 1.087 MB / 315.8 MB, free: 8.152 MB / 254.1 MB Notification: Performance of simplify2: time 3.109e-05/0.009191, allocations: 31.97 kB / 315.9 MB, free: 8.121 MB / 254.1 MB Notification: Performance of Events: time 0.0001546/0.009351, allocations: 85.05 kB / 315.9 MB, free: 8.039 MB / 254.1 MB Notification: Performance of Detect States: time 0.0001746/0.009533, allocations: 120.1 kB / 316.1 MB, free: 7.906 MB / 254.1 MB Notification: Performance of Partitioning: time 0.0001377/0.009679, allocations: 132.2 kB / 316.2 MB, free: 7.762 MB / 254.1 MB Notification: Performance of Causalize: time 0.0007141/0.0104, allocations: 0.6839 MB / 316.9 MB, free: 7.078 MB / 254.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003064/0.01072, allocations: 333.6 kB / 317.2 MB, free: 6.727 MB / 254.1 MB Notification: Performance of Inline: time 0.0005532/0.01128, allocations: 0.5839 MB / 317.8 MB, free: 6.105 MB / 254.1 MB Notification: Performance of Partitioning: time 3.805e-05/0.01132, allocations: 36.44 kB / 317.8 MB, free: 6.062 MB / 254.1 MB Notification: Performance of Cleanup: time 2.152e-05/0.01135, allocations: 23.91 kB / 317.8 MB, free: 6.039 MB / 254.1 MB Notification: Performance of Causalize: time 0.0008513/0.01221, allocations: 0.8971 MB / 318.7 MB, free: 5.137 MB / 254.1 MB Notification: Performance of Tearing: time 0.000318/0.01253, allocations: 306.1 kB / 319 MB, free: 4.789 MB / 254.1 MB Notification: Performance of Initialization: time 2.265e-06/0.01254, allocations: 4 kB / 319 MB, free: 4.785 MB / 254.1 MB Notification: Performance of Tearing: time 0.0002428/0.01279, allocations: 310.1 kB / 319.3 MB, free: 4.434 MB / 254.1 MB Notification: Performance of Categorize: time 7.915e-06/0.01281, allocations: 0 / 319.3 MB, free: 4.434 MB / 254.1 MB Notification: Performance of Solve: time 0.0001274/0.01294, allocations: 80.22 kB / 319.4 MB, free: 4.355 MB / 254.1 MB Notification: Performance of Jacobian: time 0.000265/0.01321, allocations: 342 kB / 319.8 MB, free: 3.984 MB / 254.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: 0, nonlinear:1) 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: 0, nonlinear:1) Notification: Performance of backend: time 4.41e-05/0.01326, allocations: 31.73 kB / 319.8 MB, free: 3.961 MB / 254.1 MB Notification: Performance of SimCode: time 0.001165/0.01443, allocations: 1.36 MB / 321.2 MB, free: 2.574 MB / 254.1 MB Notification: Performance of Templates: time 0.004517/0.01896, allocations: 1.721 MB / 322.9 MB, free: 0.8633 MB / 254.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","../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