Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002112/0.002112, allocations: 112.5 kB / 19.05 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002262/0.002262, allocations: 210.6 kB / 20.03 MB, free: 2.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.207/1.207, allocations: 230.4 MB / 251.3 MB, free: 8.867 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.702e-05, allocations: 2.281 kB / 368.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003502/0.003519, allocations: 2.53 MB / 371.3 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009911/0.00451, allocations: 0.6894 MB / 372 MB, free: 3.379 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.168e-05/0.004592, allocations: 4 kB / 372 MB, free: 3.375 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.004706, allocations: 31.66 kB / 372.1 MB, free: 3.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.004829, allocations: 79.33 kB / 372.1 MB, free: 3.266 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.005024, allocations: 63.8 kB / 372.2 MB, free: 3.203 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.005322, allocations: 294.8 kB / 372.5 MB, free: 2.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.005462, allocations: 71.41 kB / 372.6 MB, free: 2.844 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.005565, allocations: 99.64 kB / 372.7 MB, free: 2.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.00571, allocations: 115.5 kB / 372.8 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.00574, allocations: 24 kB / 372.8 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.375e-05/0.005803, allocations: 23.98 kB / 372.8 MB, free: 2.586 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002687/0.006072, allocations: 367.8 kB / 373.2 MB, free: 2.223 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001363/0.006208, allocations: 228.7 kB / 373.4 MB, free: 1.996 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.006254, allocations: 39.88 kB / 373.4 MB, free: 1.957 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.559e-05/0.00628, allocations: 8 kB / 373.4 MB, free: 1.949 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.0008608/0.00714, allocations: 0.9191 MB / 374.4 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.522e-05/0.007226, allocations: 94.66 kB / 374.5 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0004319/0.007657, allocations: 471.5 kB / 374.9 MB, free: 340 kB / 302.1 MB Notification: Performance of Simplify 1: time 0.000122/0.007779, allocations: 107.7 kB / 375 MB, free: 204 kB / 302.1 MB Notification: Performance of Alias: time 0.1078/0.1155, allocations: 1.083 MB / 376.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Simplify 2: time 6.289e-05/0.1156, allocations: 74.39 kB / 376.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Remove Stream: time 3.719e-05/0.1156, allocations: 66.62 kB / 376.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001655/0.1158, allocations: 132 kB / 376.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Events: time 0.0001217/0.1159, allocations: 69.27 kB / 376.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000126/0.116, allocations: 138.2 kB / 376.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004098/0.1165, allocations: 422.8 kB / 377 MB, free: 11.05 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001555/0.1166, allocations: 200.8 kB / 377.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of Simplify: time 0.0001959/0.1168, allocations: 212.2 kB / 377.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of Inline: time 0.0002371/0.117, allocations: 354.8 kB / 377.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of Partitioning: time 1.837e-05/0.1171, allocations: 15.98 kB / 377.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Cleanup: time 4.52e-05/0.1171, allocations: 79.12 kB / 377.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Causalize: time 0.0005997/0.1177, allocations: 0.575 MB / 378.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002521/0.118, allocations: 337.3 kB / 378.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of Initialization: time 3.61e-07/0.118, allocations: 0 / 378.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of Tearing: time 0.0001645/0.1181, allocations: 312.3 kB / 379 MB, free: 10.32 MB / 302.1 MB Notification: Performance of Categorize: time 7.324e-06/0.1181, allocations: 5.656 kB / 379 MB, free: 10.31 MB / 302.1 MB Notification: Performance of Solve: time 0.0001056/0.1182, allocations: 71.88 kB / 379.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0001311/0.1184, allocations: 291 kB / 379.4 MB, free: 10.1 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) {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: 0generic: 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: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 2.658e-05/0.1184, allocations: 35.53 kB / 379.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of SimCode: time 0.0007424/0.1191, allocations: 1.306 MB / 380.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of Templates: time 0.00416/0.1233, allocations: 1.762 MB / 382.5 MB, free: 9.059 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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,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