Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.001564/0.001564, 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.001817/0.001817, allocations: 209.2 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.515/1.515, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.First,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.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,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.First") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.553e-05, allocations: 2.281 kB / 378.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003633/0.003658, allocations: 2.245 MB / 381.2 MB, free: 292 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1773/0.181, allocations: 0.619 MB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.1812, allocations: 8.344 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.1813, allocations: 36.27 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.1815, allocations: 86.11 kB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.1818, allocations: 62.22 kB / 382 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.1821, allocations: 320.3 kB / 382.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.1823, allocations: 78.64 kB / 382.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.1825, allocations: 127.2 kB / 382.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.1827, allocations: 114.1 kB / 382.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/0.1827, allocations: 21.88 kB / 382.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.1828, allocations: 27.2 kB / 382.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003164/0.1831, allocations: 474.7 kB / 383.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001251/0.1832, allocations: 308.2 kB / 383.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.1833, allocations: 23.91 kB / 383.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.851e-05/0.1833, allocations: 9.875 kB / 383.4 MB, free: 12.48 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: 54 (54) * Number of variables: 54 (54) Notification: Performance of [SIM] Bindings: time 0.0009621/0.1843, allocations: 1.151 MB / 384.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001214/0.1844, allocations: 135.7 kB / 384.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005216/0.1849, allocations: 0.6149 MB / 385.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001705/0.1851, allocations: 156.2 kB / 385.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001358/0.1864, allocations: 0.9937 MB / 386.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001281/0.1866, allocations: 122.9 kB / 386.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.766e-05/0.1866, allocations: 64.03 kB / 386.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002017/0.1868, allocations: 183.1 kB / 386.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of [SIM] Events: time 5.691e-05/0.1869, allocations: 27.2 kB / 386.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001937/0.1871, allocations: 162.2 kB / 387 MB, free: 10.53 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001556/0.1886, allocations: 1.442 MB / 388.5 MB, free: 9.871 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002646/0.1889, allocations: 332.9 kB / 388.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0004446/0.1893, allocations: 377.8 kB / 389.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0005562/0.1899, allocations: 0.6185 MB / 389.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.701e-05/0.1899, allocations: 26.34 kB / 389.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 8e-05/0.19, allocations: 99.59 kB / 389.9 MB, free: 8.98 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0009475/0.191, allocations: 0.7136 MB / 390.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 7.622e-05/0.191, allocations: 60.8 kB / 390.7 MB, free: 8.797 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.21e-07/0.191, allocations: 5.531 kB / 390.7 MB, free: 8.793 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.14e-06/0.191, allocations: 240 / 390.7 MB, free: 8.793 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.063e-05/0.1911, allocations: 44.86 kB / 390.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.113e-06/0.1911, allocations: 1.281 kB / 390.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0004247/0.1915, allocations: 298 kB / 391 MB, free: 8.68 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002673/0.1918, allocations: 326 kB / 391.3 MB, free: 8.422 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: ........... 27 (scalar:27, 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: ........... 43 (scalar:43, 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 4.129e-05/0.1918, allocations: 35 kB / 391.4 MB, free: 8.402 MB / 302.1 MB Notification: Performance of SimCode: time 0.001085/0.1929, allocations: 0.8852 MB / 392.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of Templates: time 0.005511/0.1984, allocations: 1.918 MB / 394.2 MB, free: 7.711 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.429576250258833]