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.001497/0.001497, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.00161/0.00161, allocations: 212 kB / 24.55 MB, free: 3.824 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.507/1.507, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.65e-05/2.65e-05, allocations: 5.375 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003661/0.003688, allocations: 2.221 MB / 381.3 MB, free: 212 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2205/0.2242, allocations: 0.7153 MB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.2244, allocations: 6.781 kB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.2246, allocations: 43.09 kB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.2249, allocations: 90.25 kB / 382.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.2252, allocations: 114.9 kB / 382.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004874/0.2257, allocations: 381.6 kB / 382.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.226, allocations: 45.69 kB / 382.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.2263, allocations: 157.9 kB / 382.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.2265, allocations: 110.1 kB / 382.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.2266, allocations: 21.03 kB / 382.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.578e-05/0.2266, allocations: 20.75 kB / 382.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004122/0.227, allocations: 495.8 kB / 383.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000177/0.2272, allocations: 323.7 kB / 383.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.414e-05/0.2273, allocations: 25.12 kB / 383.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.886e-05/0.2273, allocations: 7.516 kB / 383.8 MB, free: 12.43 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.001156/0.2285, allocations: 1.186 MB / 385 MB, free: 11.76 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002043/0.2287, allocations: 159.9 kB / 385.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005716/0.2292, allocations: 0.5558 MB / 385.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002509/0.2295, allocations: 164.4 kB / 385.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002132/0.2316, allocations: 1.378 MB / 387.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001512/0.2318, allocations: 131.8 kB / 387.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 7.134e-05/0.2318, allocations: 72.36 kB / 387.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002759/0.2321, allocations: 216.3 kB / 387.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.841e-05/0.2322, allocations: 31.98 kB / 387.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002734/0.2325, allocations: 214.6 kB / 387.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001964/0.2344, allocations: 1.624 MB / 389.5 MB, free: 9.102 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003977/0.2348, allocations: 381.9 kB / 389.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0006442/0.2355, allocations: 379.2 kB / 390.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0006442/0.2361, allocations: 0.5818 MB / 390.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.092e-05/0.2362, allocations: 22.47 kB / 390.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 9.512e-05/0.2362, allocations: 104.2 kB / 390.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001313/0.2376, allocations: 0.8085 MB / 391.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.723e-05/0.2376, allocations: 34.94 kB / 391.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 8.52e-07/0.2376, allocations: 0 / 391.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002487/0.2378, allocations: 180.3 kB / 392 MB, free: 7.973 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.642e-06/0.2379, allocations: 1.156 kB / 392 MB, free: 7.973 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.771e-05/0.2379, allocations: 34.19 kB / 392 MB, free: 7.949 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.461e-05/0.2379, allocations: 5.562 kB / 392 MB, free: 7.945 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0008673/0.2388, allocations: 0.5801 MB / 392.6 MB, free: 7.758 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0006839/0.2394, allocations: 1.377 MB / 394 MB, free: 6.363 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.0001268/0.2396, allocations: 41.23 kB / 394 MB, free: 6.336 MB / 302.1 MB Notification: Performance of SimCode: time 0.00181/0.2414, allocations: 1.155 MB / 395.1 MB, free: 5.695 MB / 302.1 MB Notification: Performance of Templates: time 0.008211/0.2496, allocations: 2.713 MB / 397.9 MB, free: 5.141 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] [Calling os._exit(0), Time elapsed: 4.816237816005014] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.v', 'mass2.v', 'mass3.v', 'mass4.v'] 0.2580945009831339 0.273707346 0.042962675000000006 Calling exit ...