Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001593/0.001593, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002114/0.002114, allocations: 219.1 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, allocations: 230.5 MB / 258.2 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.649e-05, allocations: 4.672 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.004422/0.004449, allocations: 2.22 MB / 381.3 MB, free: 80 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2429/0.2473, allocations: 0.717 MB / 382 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.2475, allocations: 9.219 kB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.2477, allocations: 42.89 kB / 382 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.248, allocations: 85.36 kB / 382.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.2484, allocations: 117.9 kB / 382.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.2489, allocations: 381.4 kB / 382.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.2491, allocations: 44.33 kB / 382.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.2494, allocations: 154.2 kB / 382.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.2497, allocations: 113.3 kB / 382.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.2497, allocations: 24.91 kB / 382.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.148e-05/0.2498, allocations: 21.25 kB / 382.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004474/0.2502, allocations: 0.4913 MB / 383.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001848/0.2504, allocations: 312.7 kB / 383.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.2505, allocations: 23.81 kB / 383.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.945e-05/0.2505, allocations: 7.625 kB / 383.8 MB, free: 12.41 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.001229/0.2517, allocations: 1.196 MB / 385 MB, free: 11.75 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002217/0.252, allocations: 147.1 kB / 385.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006997/0.2527, allocations: 0.5634 MB / 385.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002737/0.2529, allocations: 164.4 kB / 385.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00226/0.2552, allocations: 1.37 MB / 387.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001773/0.2554, allocations: 126.4 kB / 387.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 7.57e-05/0.2555, allocations: 76.88 kB / 387.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002728/0.2557, allocations: 220.9 kB / 387.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.463e-05/0.2558, allocations: 31.23 kB / 387.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003012/0.2561, allocations: 217.8 kB / 387.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001927/0.258, allocations: 1.617 MB / 389.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004757/0.2585, allocations: 383.1 kB / 389.8 MB, free: 8.84 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0007235/0.2592, allocations: 377 kB / 390.2 MB, free: 8.586 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0006851/0.2599, allocations: 0.5865 MB / 390.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.731e-05/0.26, allocations: 29.89 kB / 390.8 MB, free: 8.25 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 9.157e-05/0.26, allocations: 98.17 kB / 390.9 MB, free: 8.191 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001368/0.2614, allocations: 0.81 MB / 391.7 MB, free: 8.027 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.5e-05/0.2615, allocations: 32.53 kB / 391.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 9.11e-07/0.2615, allocations: 7.875 kB / 391.8 MB, free: 7.996 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003125/0.2618, allocations: 171.5 kB / 391.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.562e-06/0.2618, allocations: 0 / 391.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.462e-05/0.2618, allocations: 35 kB / 392 MB, free: 7.879 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.86e-05/0.2618, allocations: 5.312 kB / 392 MB, free: 7.875 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0009848/0.2628, allocations: 0.5849 MB / 392.6 MB, free: 7.688 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0008744/0.2637, allocations: 1.369 MB / 393.9 MB, free: 6.297 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.0001529/0.2638, allocations: 32.59 kB / 394 MB, free: 6.277 MB / 302.1 MB Notification: Performance of SimCode: time 0.001714/0.2655, allocations: 1.155 MB / 395.1 MB, free: 5.637 MB / 302.1 MB Notification: Performance of Templates: time 0.008176/0.2737, allocations: 2.728 MB / 397.9 MB, free: 5.031 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.047200087981764] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.v', 'mass2.v', 'mass3.v', 'mass4.v'] 0.2824977220152505 0.29596176 0.042362009000000006 Calling exit ...