Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake.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.001417/0.001417, allocations: 107.6 kB / 21.26 MB, free: 0.5586 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.001631/0.001631, allocations: 219 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.534/1.534, allocations: 230.5 MB / 258.2 MB, free: 7.727 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.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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Brake") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/2.898e-05, allocations: 4.391 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.2071/0.2071, allocations: 2.426 MB / 381.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2084, allocations: 0.5635 MB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.2086, allocations: 3.219 kB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.2089, allocations: 68.25 kB / 382.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.2092, allocations: 141.4 kB / 382.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.2095, allocations: 167.2 kB / 382.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005975/0.2101, allocations: 0.5574 MB / 382.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.2103, allocations: 48.62 kB / 383 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.2106, allocations: 237.4 kB / 383.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.2109, allocations: 230.2 kB / 383.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.126e-05/0.211, allocations: 41.59 kB / 383.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.2112, allocations: 98.39 kB / 383.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005699/0.2117, allocations: 0.7666 MB / 384.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001922/0.2119, allocations: 419.8 kB / 384.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.516e-05/0.212, allocations: 26.62 kB / 384.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.868e-05/0.212, allocations: 14.25 kB / 384.8 MB, free: 12.23 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.001589/0.2136, allocations: 1.732 MB / 386.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000417/0.2141, allocations: 349.2 kB / 386.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009938/0.215, allocations: 1.177 MB / 388.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003509/0.2154, allocations: 238.7 kB / 388.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00202/0.2174, allocations: 1.597 MB / 389.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002405/0.2177, allocations: 189.2 kB / 390.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001233/0.2178, allocations: 128.2 kB / 390.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004409/0.2182, allocations: 372.7 kB / 390.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0003963/0.2186, allocations: 284.8 kB / 390.8 MB, free: 8.605 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006443/0.2193, allocations: 0.5544 MB / 391.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.004052/0.2233, allocations: 3.044 MB / 394.4 MB, free: 7.281 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001171/0.2245, allocations: 1.203 MB / 395.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002227/0.2267, allocations: 0.6296 MB / 396.3 MB, free: 6.273 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001384/0.2281, allocations: 1.63 MB / 397.9 MB, free: 5.426 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.538e-05/0.2282, allocations: 34.03 kB / 397.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000223/0.2284, allocations: 272.7 kB / 398.2 MB, free: 5.234 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002382/0.2308, allocations: 1.807 MB / 400 MB, free: 4.605 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0007543/0.2315, allocations: 0.5337 MB / 400.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.282e-06/0.2315, allocations: 1.406 kB / 400.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004366/0.232, allocations: 300.4 kB / 400.8 MB, free: 4.23 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.615e-06/0.232, allocations: 2.031 kB / 400.8 MB, free: 4.23 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0006839/0.2327, allocations: 0.5056 MB / 401.3 MB, free: 4.02 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.097e-05/0.2327, allocations: 3.125 kB / 401.3 MB, free: 4.02 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001456/0.2341, allocations: 1.231 MB / 402.6 MB, free: 3.379 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.002551/0.2367, allocations: 2.797 MB / 405.4 MB, free: 1.246 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 6.022e-05/0.2367, allocations: 41.05 kB / 405.4 MB, free: 1.215 MB / 302.1 MB Notification: Performance of SimCode: time 0.004636/0.2414, allocations: 2.338 MB / 407.7 MB, free: 15.62 MB / 318.1 MB Notification: Performance of Templates: time 0.01358/0.255, allocations: 7.472 MB / 415.2 MB, free: 8.242 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.002690484980121] 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.26427309098653495 0.27791666000000004 0.062678838 Calling exit ...