Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 107.6 kB / 21.2 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 209.3 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.24e-05, allocations: 2.281 kB / 378.9 MB, free: 2.559 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003783/0.003805, allocations: 2.409 MB / 381.3 MB, free: 140 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1683/0.1721, allocations: 0.6354 MB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.1723, allocations: 8.312 kB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.1725, allocations: 35.22 kB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1727, allocations: 63.7 kB / 382.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.173, allocations: 70.33 kB / 382.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.1733, allocations: 303.1 kB / 382.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.1735, allocations: 70.64 kB / 382.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.1737, allocations: 102.7 kB / 382.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.1739, allocations: 113.8 kB / 382.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/0.1739, allocations: 25 kB / 382.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.471e-05/0.174, allocations: 26.77 kB / 382.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003797/0.1744, allocations: 441.8 kB / 383.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001631/0.1746, allocations: 273.7 kB / 383.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.1746, allocations: 23.22 kB / 383.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.787e-05/0.1747, allocations: 10.62 kB / 383.5 MB, free: 12.52 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 [SIM] Bindings: time 0.001313/0.176, allocations: 1.109 MB / 384.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001705/0.1761, allocations: 129.7 kB / 384.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006735/0.1768, allocations: 0.624 MB / 385.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002574/0.1771, allocations: 177.7 kB / 385.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001728/0.1788, allocations: 1.142 MB / 386.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001199/0.1789, allocations: 120.2 kB / 386.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.008e-05/0.179, allocations: 59.98 kB / 386.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001855/0.1792, allocations: 152.3 kB / 387 MB, free: 10.62 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001209/0.1793, allocations: 57.92 kB / 387 MB, free: 10.61 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002445/0.1795, allocations: 181 kB / 387.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000437/0.18, allocations: 302.4 kB / 387.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002547/0.1802, allocations: 309.2 kB / 387.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0003817/0.1806, allocations: 271.9 kB / 388.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0004955/0.1811, allocations: 489.1 kB / 388.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.627e-05/0.1811, allocations: 15.88 kB / 388.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 7.032e-05/0.1812, allocations: 70.8 kB / 388.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0006875/0.1819, allocations: 479.4 kB / 389.1 MB, free: 9.641 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 6.967e-05/0.1819, allocations: 38.25 kB / 389.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.11e-07/0.1819, allocations: 0 / 389.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.648e-06/0.1819, allocations: 5.125 kB / 389.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.989e-05/0.182, allocations: 42.84 kB / 389.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.524e-06/0.182, allocations: 1.094 kB / 389.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002956/0.1823, allocations: 197.7 kB / 389.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.00041/0.1827, allocations: 0.5242 MB / 389.9 MB, free: 9.07 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * 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) {TRes} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {onOffController.y, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (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 (resizable: 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 3.859e-05/0.1827, allocations: 25.91 kB / 389.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of SimCode: time 0.0009547/0.1837, allocations: 0.7337 MB / 390.7 MB, free: 8.703 MB / 302.1 MB Notification: Performance of Templates: time 0.005394/0.1891, allocations: 1.972 MB / 392.7 MB, free: 8.484 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 656] "" Variables in the reference:time,heatCapacitor.T,onOffController.y Variables in the result:TAmb,TDif,TRes,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 [Calling sys.exit(0), Time elapsed: 105.49655289202929]