Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00126/0.00126, allocations: 116.3 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 206.3 kB / 19.42 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.213/1.213, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/1.871e-05, allocations: 2.281 kB / 359.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002429/0.002456, allocations: 1.636 MB / 360.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009356/0.003404, allocations: 0.5492 MB / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.003491, allocations: 8 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.003e-05/0.003547, allocations: 11.86 kB / 361.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.869e-05/0.00363, allocations: 27.77 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.003847, allocations: 27.91 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.004006, allocations: 111.6 kB / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.004144, allocations: 47.89 kB / 361.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.044e-05/0.004201, allocations: 31.92 kB / 361.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.88e-05/0.004275, allocations: 43.84 kB / 361.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.004298, allocations: 8 kB / 361.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.129e-05/0.004374, allocations: 11.98 kB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001183/0.004498, allocations: 126.7 kB / 361.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.052e-05/0.004544, allocations: 78.88 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.004573, allocations: 12 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.913e-05/0.004596, allocations: 7.938 kB / 362 MB, free: 10.21 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: 20 (20) * Number of variables: 20 (20) Notification: Performance of Bindings: time 0.0004827/0.005085, allocations: 483 kB / 362.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of FunctionAlias: time 3.204e-05/0.005123, allocations: 19.97 kB / 362.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002402/0.005368, allocations: 260.2 kB / 362.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of simplify1: time 2.2e-05/0.005397, allocations: 19.98 kB / 362.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of Alias: time 0.0006391/0.006041, allocations: 489.9 kB / 363.3 MB, free: 8.762 MB / 302.1 MB Notification: Performance of simplify2: time 1.608e-05/0.006073, allocations: 11.98 kB / 363.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of Events: time 1.512e-05/0.006094, allocations: 8 kB / 363.3 MB, free: 8.742 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001294/0.006228, allocations: 72.16 kB / 363.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of Partitioning: time 7.874e-05/0.006316, allocations: 68.03 kB / 363.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001898/0.006511, allocations: 175.9 kB / 363.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001158/0.006635, allocations: 132.3 kB / 363.7 MB, free: 8.246 MB / 302.1 MB Notification: Performance of Inline: time 0.0002043/0.006845, allocations: 207.6 kB / 363.9 MB, free: 8.012 MB / 302.1 MB Notification: Performance of Partitioning: time 2.223e-05/0.006874, allocations: 24.05 kB / 364 MB, free: 7.98 MB / 302.1 MB Notification: Performance of Cleanup: time 1.105e-05/0.00689, allocations: 8 kB / 364 MB, free: 7.973 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002942/0.007191, allocations: 268.3 kB / 364.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of Tearing: time 5.44e-06/0.007204, allocations: 0 / 364.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of Initialization: time 4.21e-07/0.00721, allocations: 0 / 364.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of Tearing: time 9.72e-07/0.007215, allocations: 0 / 364.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of Categorize: time 6.933e-06/0.007228, allocations: 4 kB / 364.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of Solve: time 9.765e-05/0.00733, allocations: 51.94 kB / 364.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0001744/0.007511, allocations: 238 kB / 364.5 MB, free: 7.379 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.359e-05/0.007551, allocations: 17.41 kB / 364.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006533/0.008212, allocations: 0.9422 MB / 365.5 MB, free: 6.406 MB / 302.1 MB Notification: Performance of Templates: time 0.002529/0.01075, allocations: 0.6215 MB / 366.1 MB, free: 5.785 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches