Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 114.6 kB / 17.75 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 187 kB / 18.68 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.171/1.171, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.825e-05, allocations: 2.281 kB / 351.9 MB, free: 3.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002108/0.002134, allocations: 1.618 MB / 353.5 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007018/0.002848, allocations: 0.5143 MB / 354 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.002898, allocations: 4 kB / 354 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.282e-05/0.002946, allocations: 11.86 kB / 354.1 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.003031, allocations: 35.7 kB / 354.1 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.003212, allocations: 23.97 kB / 354.1 MB, free: 1.086 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.003349, allocations: 115.4 kB / 354.2 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.003473, allocations: 35.97 kB / 354.3 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.861e-05/0.003528, allocations: 39.86 kB / 354.3 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.003599, allocations: 43.84 kB / 354.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.003622, allocations: 12 kB / 354.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.247e-05/0.003689, allocations: 8 kB / 354.4 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of combineBinaries: time 9.993e-05/0.003797, allocations: 134.6 kB / 354.5 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 4.137e-05/0.003844, allocations: 67.03 kB / 354.6 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.003871, allocations: 19.94 kB / 354.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.216e-05/0.003888, allocations: 0 / 354.6 MB, free: 0.6172 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 (20) * Number of variables: 20 (20) Notification: Performance of Bindings: time 0.0004402/0.004333, allocations: 494.8 kB / 355.1 MB, free: 32 kB / 286.1 MB Notification: Performance of FunctionAlias: time 2.451e-05/0.004364, allocations: 23.91 kB / 355.1 MB, free: 8 kB / 286.1 MB Notification: Performance of Early Inline: time 0.0002521/0.004621, allocations: 244.3 kB / 355.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simplify1: time 2.644e-05/0.004655, allocations: 27.92 kB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of Alias: time 0.0005912/0.005252, allocations: 482 kB / 355.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simplify2: time 1.154e-05/0.005274, allocations: 11.98 kB / 355.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Events: time 1.738e-05/0.005298, allocations: 15.98 kB / 355.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001199/0.005422, allocations: 68.12 kB / 355.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of Partitioning: time 6.418e-05/0.005494, allocations: 52.09 kB / 356 MB, free: 15 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001953/0.005695, allocations: 191.8 kB / 356.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 9.772e-05/0.005801, allocations: 132.2 kB / 356.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of Inline: time 0.000206/0.006013, allocations: 216.4 kB / 356.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of Partitioning: time 2.068e-05/0.006041, allocations: 20.12 kB / 356.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of Cleanup: time 9.177e-06/0.006055, allocations: 7.938 kB / 356.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002826/0.006342, allocations: 264.3 kB / 356.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of Tearing: time 6.212e-06/0.006357, allocations: 3.938 kB / 356.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of Initialization: time 2.8e-07/0.006361, allocations: 0 / 356.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of Tearing: time 8.01e-07/0.006367, allocations: 0 / 356.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of Categorize: time 7.003e-06/0.006378, allocations: 0 / 356.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of Solve: time 9.482e-05/0.006477, allocations: 47.95 kB / 356.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0001715/0.006655, allocations: 242 kB / 357.1 MB, free: 13.78 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: ......... 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: ............................. 2 (2) {mass1.T, mass2.T} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 11 (scalar:11, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.98e-05/0.006701, allocations: 29.23 kB / 357.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006244/0.007331, allocations: 0.9383 MB / 358 MB, free: 12.79 MB / 302.1 MB Notification: Performance of Templates: time 0.00241/0.009751, allocations: 0.6097 MB / 358.6 MB, free: 12.18 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches