Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001297/0.001297, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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: 209.3 kB / 24.49 MB, free: 3.961 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/2.971e-05, allocations: 2.281 kB / 378.9 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003641/0.00367, allocations: 2.253 MB / 381.2 MB, free: 280 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1682/0.1719, allocations: 0.6089 MB / 381.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002547/0.1722, allocations: 8.438 kB / 381.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.1723, allocations: 39.7 kB / 381.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.1725, allocations: 74.8 kB / 381.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.1728, allocations: 63.25 kB / 382 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000314/0.1731, allocations: 305.6 kB / 382.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.1733, allocations: 72.09 kB / 382.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.1735, allocations: 120.5 kB / 382.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.1736, allocations: 105.3 kB / 382.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.1737, allocations: 20.75 kB / 382.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.1737, allocations: 22.83 kB / 382.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002884/0.174, allocations: 448.4 kB / 383 MB, free: 12.69 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000125/0.1741, allocations: 286.8 kB / 383.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.1742, allocations: 23.19 kB / 383.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.553e-05/0.1742, allocations: 15 kB / 383.4 MB, free: 12.51 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: 50 (50) * Number of variables: 50 (50) Notification: Performance of [SIM] Bindings: time 0.0009119/0.1751, allocations: 1.078 MB / 384.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001084/0.1752, allocations: 125.2 kB / 384.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005027/0.1757, allocations: 0.5587 MB / 385.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001675/0.1759, allocations: 152.2 kB / 385.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001321/0.1772, allocations: 0.9541 MB / 386.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000106/0.1773, allocations: 113.7 kB / 386.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.094e-05/0.1774, allocations: 66.55 kB / 386.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001987/0.1776, allocations: 174.2 kB / 386.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of [SIM] Events: time 5.222e-05/0.1776, allocations: 21.72 kB / 386.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001748/0.1778, allocations: 139.2 kB / 386.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001462/0.1793, allocations: 1.343 MB / 388.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002179/0.1795, allocations: 293.8 kB / 388.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0003733/0.1799, allocations: 316.4 kB / 388.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0004491/0.1803, allocations: 0.5439 MB / 389.2 MB, free: 9.328 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.994e-05/0.1803, allocations: 20.88 kB / 389.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 6.744e-05/0.1804, allocations: 84.45 kB / 389.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0008412/0.1813, allocations: 0.6456 MB / 390 MB, free: 9.105 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 7.477e-05/0.1813, allocations: 55.73 kB / 390 MB, free: 9.086 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.91e-07/0.1813, allocations: 0 / 390 MB, free: 9.086 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.909e-06/0.1813, allocations: 0 / 390 MB, free: 9.086 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.005e-05/0.1814, allocations: 45.5 kB / 390 MB, free: 9.066 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.125e-06/0.1814, allocations: 6.219 kB / 390.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0003497/0.1817, allocations: 244.5 kB / 390.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0004323/0.1822, allocations: 0.5905 MB / 390.9 MB, free: 8.48 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: ............................. 4 (4) {inertia3.phi, inertia3.w, damper.phi_rel, damper.w_rel} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (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: ........... 25 (scalar:25, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 37 (scalar:37, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 3.625e-05/0.1822, allocations: 47.52 kB / 390.9 MB, free: 8.449 MB / 302.1 MB Notification: Performance of SimCode: time 0.001047/0.1832, allocations: 0.9172 MB / 391.8 MB, free: 7.992 MB / 302.1 MB Notification: Performance of Templates: time 0.005443/0.1887, allocations: 2.047 MB / 393.9 MB, free: 7.758 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.40258906269446]