Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.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.001511/0.001511, 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.00174/0.00174, allocations: 218.1 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.CompareBrakingTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|inertia1.w|inertia2.w|inertia3.w|inertia4.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") translateModel(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|inertia1.w|inertia2.w|inertia3.w|inertia4.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.589e-05, allocations: 5.375 kB / 378.9 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque): time 0.003347/0.003373, allocations: 2.138 MB / 381.1 MB, free: 364 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1843/0.1876, allocations: 0.7152 MB / 381.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.1878, allocations: 6.625 kB / 381.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.188, allocations: 35.72 kB / 381.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.1883, allocations: 90.66 kB / 381.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1887, allocations: 111.9 kB / 382 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004224/0.1891, allocations: 370 kB / 382.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.1893, allocations: 45.2 kB / 382.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.1895, allocations: 156 kB / 382.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.1897, allocations: 119.8 kB / 382.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.1897, allocations: 19.5 kB / 382.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.465e-05/0.1898, allocations: 21.34 kB / 382.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000341/0.1901, allocations: 476 kB / 383.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001749/0.1903, allocations: 299.9 kB / 383.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.1903, allocations: 25.06 kB / 383.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.514e-05/0.1904, allocations: 15.42 kB / 383.5 MB, free: 12.45 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: 52 (52) * Number of variables: 52 (52) Notification: Performance of [SIM] Bindings: time 0.001049/0.1914, allocations: 1.141 MB / 384.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001825/0.1916, allocations: 141.8 kB / 384.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004822/0.1921, allocations: 0.514 MB / 385.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002179/0.1923, allocations: 157.3 kB / 385.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001503/0.1938, allocations: 1.017 MB / 386.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001257/0.1939, allocations: 107.7 kB / 386.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.331e-05/0.194, allocations: 74.81 kB / 386.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000247/0.1943, allocations: 214.5 kB / 386.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.464e-05/0.1943, allocations: 30.33 kB / 386.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002312/0.1945, allocations: 201.6 kB / 387.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.00146/0.196, allocations: 1.574 MB / 388.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002429/0.1963, allocations: 297.3 kB / 389 MB, free: 9.195 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0005055/0.1968, allocations: 375.6 kB / 389.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0004294/0.1972, allocations: 0.4973 MB / 389.8 MB, free: 8.66 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.574e-05/0.1972, allocations: 24.94 kB / 389.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 7.174e-05/0.1973, allocations: 88.94 kB / 390 MB, free: 8.59 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.00114/0.1984, allocations: 0.8114 MB / 390.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.586e-05/0.1985, allocations: 36.34 kB / 390.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.21e-07/0.1985, allocations: 0 / 390.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.691e-06/0.1985, allocations: 1.562 kB / 390.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 8.256e-06/0.1985, allocations: 16.06 kB / 390.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.716e-06/0.1985, allocations: 2.656 kB / 390.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0003814/0.1989, allocations: 270.6 kB / 391.1 MB, free: 8.277 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0004395/0.1993, allocations: 0.8311 MB / 391.9 MB, free: 7.422 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: ............... 3 * 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: ............................. 8 (8) {inertia1.w, signTorque.phi, inertia2.phi, inertia2.w, inertia3.w, quadraticSpeedDependentTorque.phi, inertia4.w, inverseSpeedDependentTorque.phi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$FUN_2, $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: ........... 34 (scalar:34, 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: ........... 56 (scalar:56, 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.0001106/0.1994, allocations: 39.03 kB / 392 MB, free: 7.395 MB / 302.1 MB Notification: Performance of SimCode: time 0.001005/0.2004, allocations: 0.9119 MB / 392.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of Templates: time 0.005439/0.2059, allocations: 1.934 MB / 394.8 MB, free: 6.617 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/CompareBrakingTorque/CompareBrakingTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.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.569338347762823]