Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.00136/0.00136, 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.001484/0.001484, allocations: 218.9 kB / 24.49 MB, free: 3.93 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|mass1.v|mass2.v|mass3.v|mass4.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|mass1.v|mass2.v|mass3.v|mass4.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.439e-05, allocations: 2.281 kB / 378.9 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003613/0.003637, allocations: 2.215 MB / 381.1 MB, free: 308 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1577/0.1614, allocations: 0.7203 MB / 381.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.1615, allocations: 10.16 kB / 381.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.1617, allocations: 37.95 kB / 381.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.162, allocations: 92.09 kB / 382 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.1623, allocations: 113.3 kB / 382.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000365/0.1627, allocations: 378.5 kB / 382.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.1628, allocations: 47.27 kB / 382.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.1631, allocations: 155.4 kB / 382.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.1632, allocations: 130 kB / 382.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.1633, allocations: 20.69 kB / 382.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.661e-05/0.1633, allocations: 22.88 kB / 382.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000355/0.1637, allocations: 0.49 MB / 383.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000145/0.1638, allocations: 311.2 kB / 383.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.1639, allocations: 26.44 kB / 383.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.202e-05/0.1639, allocations: 12.02 kB / 383.7 MB, free: 12.97 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.001003/0.1649, allocations: 1.191 MB / 384.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001846/0.1651, allocations: 150.8 kB / 385 MB, free: 12.12 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005199/0.1656, allocations: 0.5625 MB / 385.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003164/0.1659, allocations: 173 kB / 385.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001787/0.1677, allocations: 1.317 MB / 387.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001273/0.1678, allocations: 131.8 kB / 387.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.765e-05/0.1679, allocations: 74.25 kB / 387.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002246/0.1681, allocations: 220 kB / 387.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.607e-05/0.1682, allocations: 35 kB / 387.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002145/0.1684, allocations: 209.9 kB / 387.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001446/0.1699, allocations: 1.599 MB / 389.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003053/0.1702, allocations: 387.8 kB / 389.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0005391/0.1707, allocations: 401.7 kB / 390.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0005074/0.1712, allocations: 0.586 MB / 390.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.574e-05/0.1712, allocations: 26.25 kB / 390.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 7.765e-05/0.1713, allocations: 102.1 kB / 390.8 MB, free: 8.508 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.00105/0.1724, allocations: 0.8137 MB / 391.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.276e-05/0.1724, allocations: 31.72 kB / 391.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.31e-07/0.1724, allocations: 0 / 391.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.011e-06/0.1724, allocations: 1.125 kB / 391.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 8.125e-06/0.1724, allocations: 17.59 kB / 391.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.063e-05/0.1724, allocations: 5.062 kB / 391.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0004454/0.1729, allocations: 340.5 kB / 392 MB, free: 8.184 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0003656/0.1732, allocations: 0.8207 MB / 392.8 MB, free: 7.34 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) {mass1.v, signForce.s, mass2.v, linearSpeedDependentForce.s, mass3.v, quadraticSpeedDependentForce.s, mass4.s, mass4.v} * 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.0001016/0.1733, allocations: 38.58 kB / 392.9 MB, free: 7.32 MB / 302.1 MB Notification: Performance of SimCode: time 0.001072/0.1744, allocations: 1.006 MB / 393.9 MB, free: 6.762 MB / 302.1 MB Notification: Performance of Templates: time 0.007142/0.1815, allocations: 2.324 MB / 396.2 MB, free: 6.5 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/CompareBrakingForce/CompareBrakingForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.560078379232436]