Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.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.001431/0.001431, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001491/0.001491, allocations: 219.4 kB / 24.5 MB, free: 3.926 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.412/1.412, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.253e-05, allocations: 5.797 kB / 378.9 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003469/0.003492, allocations: 2.298 MB / 381.2 MB, free: 180 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1897/0.1932, allocations: 0.7277 MB / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.1933, allocations: 9.938 kB / 382 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.1935, allocations: 44.61 kB / 382 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.1937, allocations: 108.3 kB / 382.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.1941, allocations: 131.4 kB / 382.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006028/0.1947, allocations: 0.4954 MB / 382.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.1949, allocations: 60.53 kB / 382.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.1951, allocations: 197.4 kB / 383 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.1954, allocations: 208.2 kB / 383.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.349e-05/0.1954, allocations: 36.5 kB / 383.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.279e-05/0.1955, allocations: 38.62 kB / 383.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004345/0.1959, allocations: 0.6546 MB / 383.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001574/0.1961, allocations: 361 kB / 384.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.1962, allocations: 32.88 kB / 384.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.267e-05/0.1962, allocations: 12.83 kB / 384.3 MB, free: 12.29 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: 62 (62) * Number of variables: 62 (62) Notification: Performance of [SIM] Bindings: time 0.001384/0.1976, allocations: 1.575 MB / 385.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001631/0.1977, allocations: 171.9 kB / 386 MB, free: 11.32 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008791/0.1986, allocations: 1.016 MB / 387.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003482/0.199, allocations: 284.7 kB / 387.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001758/0.2007, allocations: 1.352 MB / 388.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001727/0.2009, allocations: 171.9 kB / 388.9 MB, free: 9.695 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.132e-05/0.201, allocations: 108.2 kB / 389 MB, free: 9.602 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003823/0.2014, allocations: 337.2 kB / 389.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002418/0.2016, allocations: 144.5 kB / 389.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004041/0.202, allocations: 400.4 kB / 389.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002778/0.2048, allocations: 2.793 MB / 392.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007938/0.2056, allocations: 0.7651 MB / 393.4 MB, free: 7.133 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0007722/0.2064, allocations: 476.3 kB / 393.9 MB, free: 6.84 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001016/0.2074, allocations: 1.13 MB / 395 MB, free: 6.27 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.704e-05/0.2074, allocations: 29.11 kB / 395 MB, free: 6.25 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002071/0.2076, allocations: 243.2 kB / 395.2 MB, free: 6.129 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001362/0.209, allocations: 0.9695 MB / 396.2 MB, free: 5.898 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.903e-05/0.209, allocations: 32.16 kB / 396.3 MB, free: 5.875 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.445e-06/0.209, allocations: 1.312 kB / 396.3 MB, free: 5.875 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.156e-06/0.209, allocations: 0 / 396.3 MB, free: 5.875 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.546e-05/0.209, allocations: 23.81 kB / 396.3 MB, free: 5.859 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.282e-05/0.2091, allocations: 1.219 kB / 396.3 MB, free: 5.859 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0008062/0.2099, allocations: 0.6236 MB / 396.9 MB, free: 5.648 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.000495/0.2104, allocations: 0.7481 MB / 397.6 MB, free: 4.961 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 0 * 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: ............................. 6 (6) {elastoBacklash2.phi_diff, springDamper.phi_rel, springDamper.w_rel, elastoBacklash.w_rel, inertia2.phi, elastoBacklash2.w_rel} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 12 (12) {$SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_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: ........... 48 (scalar:48, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 64 (scalar:64, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001222/0.2105, allocations: 44.5 kB / 397.7 MB, free: 4.93 MB / 302.1 MB Notification: Performance of SimCode: time 0.001387/0.2119, allocations: 1.241 MB / 398.9 MB, free: 4.281 MB / 302.1 MB Notification: Performance of Templates: time 0.007122/0.219, allocations: 3.703 MB / 402.6 MB, free: 2.461 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.426392717286944]