Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 109.5 kB / 17.75 MB, free: 5.328 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.001089/0.001089, allocations: 196.2 kB / 18.69 MB, free: 4.402 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.17/1.17, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.839e-05, allocations: 5.516 kB / 351.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002605/0.002631, allocations: 2.246 MB / 354.2 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003357/0.00298, allocations: 195.3 kB / 354.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.878e-05/0.003068, allocations: 4 kB / 354.4 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.681e-05/0.003151, allocations: 43.58 kB / 354.4 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.003299, allocations: 67.41 kB / 354.5 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.003449, allocations: 51.88 kB / 354.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.003683, allocations: 270.9 kB / 354.8 MB, free: 408 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.00389, allocations: 110.6 kB / 354.9 MB, free: 292 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.003985, allocations: 87.72 kB / 355 MB, free: 204 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.004102, allocations: 99.55 kB / 355.1 MB, free: 104 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.004148, allocations: 24 kB / 355.1 MB, free: 80 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.205e-05/0.004184, allocations: 20 kB / 355.1 MB, free: 60 kB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002442/0.004433, allocations: 360.2 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.883e-05/0.004539, allocations: 212.8 kB / 355.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.004582, allocations: 43.88 kB / 355.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.32e-05/0.00461, allocations: 4 kB / 355.7 MB, free: 15.44 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: 56 (56) * Number of variables: 56 (56) Notification: Performance of Bindings: time 0.0008715/0.005486, allocations: 1.102 MB / 356.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of FunctionAlias: time 3.757e-05/0.005529, allocations: 39.95 kB / 356.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0004406/0.005974, allocations: 0.5424 MB / 357.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simplify1: time 5.251e-05/0.006033, allocations: 47.94 kB / 357.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of Alias: time 0.001706/0.007745, allocations: 1.592 MB / 359 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simplify2: time 1.423e-05/0.00777, allocations: 15.97 kB / 359.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Events: time 1.459e-05/0.00779, allocations: 8 kB / 359.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001393/0.007935, allocations: 107.9 kB / 359.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Partitioning: time 8.425e-05/0.008027, allocations: 80.36 kB / 359.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002275/0.00826, allocations: 224.4 kB / 359.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001137/0.008383, allocations: 144.3 kB / 359.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of Inline: time 0.0005854/0.008974, allocations: 0.6611 MB / 360.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of Partitioning: time 3.497e-05/0.009018, allocations: 38.38 kB / 360.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of Cleanup: time 1.403e-05/0.009037, allocations: 11.98 kB / 360.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of Causalize: time 0.0006375/0.009678, allocations: 0.631 MB / 361 MB, free: 9.809 MB / 302.1 MB Notification: Performance of Tearing: time 6.923e-06/0.009694, allocations: 4 kB / 361 MB, free: 9.805 MB / 302.1 MB Notification: Performance of Initialization: time 3.3e-07/0.009699, allocations: 0 / 361 MB, free: 9.805 MB / 302.1 MB Notification: Performance of Tearing: time 2.534e-06/0.009707, allocations: 4 kB / 361 MB, free: 9.801 MB / 302.1 MB Notification: Performance of Categorize: time 8.386e-06/0.00972, allocations: 4 kB / 361 MB, free: 9.797 MB / 302.1 MB Notification: Performance of Solve: time 0.0001436/0.009867, allocations: 109.5 kB / 361.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0002361/0.01011, allocations: 424.2 kB / 361.5 MB, free: 9.203 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: ............... 2 * 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: ............................. 4 (4) {mass1.s, mass1.v, inertia2.s, inertia2.v} * 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: ........... 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 35 (scalar:35, 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.283e-05/0.01015, allocations: 22.61 kB / 361.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of SimCode: time 0.0008543/0.01101, allocations: 1.374 MB / 362.9 MB, free: 7.746 MB / 302.1 MB Notification: Performance of Templates: time 0.003245/0.01426, allocations: 1.37 MB / 364.3 MB, free: 6.375 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches