Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.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.002201/0.002201, 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.003269/0.003269, allocations: 211 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.524/1.524, allocations: 230.7 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.Brake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake") translateModel(Modelica.Mechanics.Translational.Examples.Brake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.626e-05, allocations: 2.281 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.005164/0.005191, allocations: 2.436 MB / 381.5 MB, free: 40 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2384/0.2436, allocations: 0.5578 MB / 382 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.2438, allocations: 7.344 kB / 382 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.2441, allocations: 73.19 kB / 382.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.2445, allocations: 130.3 kB / 382.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.2448, allocations: 173.5 kB / 382.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006769/0.2455, allocations: 0.5553 MB / 383 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.2457, allocations: 51.53 kB / 383 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.246, allocations: 232.7 kB / 383.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.2463, allocations: 235.8 kB / 383.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.937e-05/0.2464, allocations: 40.78 kB / 383.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.2466, allocations: 91.59 kB / 383.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005842/0.2472, allocations: 0.7697 MB / 384.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002461/0.2474, allocations: 412.9 kB / 384.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.693e-05/0.2475, allocations: 27.88 kB / 384.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.412e-05/0.2475, allocations: 20.86 kB / 384.8 MB, free: 12.29 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: 73 (71) * Number of variables: 73 (71) Notification: Performance of [SIM] Bindings: time 0.001887/0.2494, allocations: 1.729 MB / 386.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004411/0.2499, allocations: 355.4 kB / 386.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001188/0.2511, allocations: 1.173 MB / 388.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003882/0.2514, allocations: 228.5 kB / 388.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002339/0.2538, allocations: 1.601 MB / 389.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002751/0.2541, allocations: 192.5 kB / 390.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001457/0.2542, allocations: 129.7 kB / 390.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005014/0.2547, allocations: 370.8 kB / 390.6 MB, free: 8.871 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0004458/0.2551, allocations: 292.4 kB / 390.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007573/0.2559, allocations: 0.5529 MB / 391.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.004574/0.2605, allocations: 3.037 MB / 394.4 MB, free: 7.449 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001433/0.2619, allocations: 1.208 MB / 395.6 MB, free: 6.836 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002355/0.2643, allocations: 0.6289 MB / 396.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001547/0.2658, allocations: 1.635 MB / 397.9 MB, free: 5.617 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.984e-05/0.2659, allocations: 35.78 kB / 397.9 MB, free: 5.594 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000249/0.2661, allocations: 272.8 kB / 398.2 MB, free: 5.43 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002563/0.2687, allocations: 1.811 MB / 400 MB, free: 4.82 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0007596/0.2695, allocations: 0.5352 MB / 400.6 MB, free: 4.605 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.042e-06/0.2695, allocations: 1.312 kB / 400.6 MB, free: 4.605 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004428/0.2699, allocations: 291.8 kB / 400.8 MB, free: 4.453 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.192e-06/0.2699, allocations: 2.094 kB / 400.8 MB, free: 4.453 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0007013/0.2706, allocations: 0.513 MB / 401.4 MB, free: 4.238 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.17e-05/0.2706, allocations: 3.219 kB / 401.4 MB, free: 4.238 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001561/0.2722, allocations: 1.221 MB / 402.6 MB, free: 3.605 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.00299/0.2752, allocations: 2.79 MB / 405.4 MB, free: 1.484 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) {brake.s_b, brake.v_relfric, brake1.v_relfric, mass2.s} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 33 (33) {brake.free, brake.startForward, brake.startBackward, brake.locked, brake.mode, brake1.free, brake1.startForward, brake1.startBackward, brake1.locked, brake1.mode, $FUN_4, $FUN_8, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 45 (scalar:45, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 62 (scalar:62, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 8.17e-05/0.2753, allocations: 55.72 kB / 405.4 MB, free: 1.438 MB / 302.1 MB Notification: Performance of SimCode: time 0.005206/0.2805, allocations: 2.362 MB / 407.8 MB, free: 15.87 MB / 318.1 MB Notification: Performance of Templates: time 0.01474/0.2952, allocations: 7.463 MB / 415.3 MB, free: 8.535 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.1744663220015354] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.s', 'mass1.v', 'mass2.s', 'mass2.v', 'brake.mode', 'brake.startBackward', 'brake.startForward', 'brake1.mode', 'brake1.startBackward', 'brake1.startForward'] 0.3048757030046545 0.31882896099999997 0.06817687800000001 Calling exit ...