Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.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.00171/0.00171, 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.002169/0.002169, allocations: 211 kB / 24.55 MB, free: 3.828 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.553/1.553, allocations: 230.7 MB / 258.3 MB, free: 7.742 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.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction") translateModel(Modelica.Mechanics.Translational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.365e-05, allocations: 2.281 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.2054/0.2054, allocations: 2.889 MB / 381.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002696/0.2081, allocations: 1.305 MB / 383.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004207/0.2085, allocations: 8 kB / 383.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006131/0.2092, allocations: 100.4 kB / 383.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004808/0.2096, allocations: 123.5 kB / 383.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.2109, allocations: 438.7 kB / 383.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.2122, allocations: 0.8849 MB / 384.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.2124, allocations: 72.64 kB / 384.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000846/0.2132, allocations: 385.5 kB / 385.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00225/0.2155, allocations: 1.441 MB / 386.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002897/0.2158, allocations: 68.97 kB / 386.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.2163, allocations: 132.8 kB / 386.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001045/0.2173, allocations: 1.089 MB / 387.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002756/0.2176, allocations: 0.5294 MB / 388.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.2177, allocations: 39.38 kB / 388.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.715e-05/0.2178, allocations: 24.14 kB / 388.5 MB, free: 11.02 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: 90 (89) * Number of variables: 90 (89) Notification: Performance of [SIM] Bindings: time 0.002267/0.2201, allocations: 2.376 MB / 390.9 MB, free: 9.457 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006037/0.2207, allocations: 0.4974 MB / 391.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002207/0.2229, allocations: 2.163 MB / 393.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005896/0.2235, allocations: 362.7 kB / 393.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00352/0.227, allocations: 2.385 MB / 396.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005442/0.2275, allocations: 323.7 kB / 396.6 MB, free: 6.359 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002038/0.2277, allocations: 195.1 kB / 396.8 MB, free: 6.18 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005794/0.2283, allocations: 0.5442 MB / 397.4 MB, free: 5.672 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0006853/0.229, allocations: 0.5583 MB / 397.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008659/0.2299, allocations: 0.8632 MB / 398.8 MB, free: 4.75 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.003748/0.2336, allocations: 2.987 MB / 401.8 MB, free: 3.332 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001547/0.2352, allocations: 2.107 MB / 403.9 MB, free: 1.809 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002179/0.2373, allocations: 0.7851 MB / 404.7 MB, free: 1.238 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002569/0.2399, allocations: 3.048 MB / 407.7 MB, free: 14.95 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001024/0.24, allocations: 38.34 kB / 407.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0004844/0.2405, allocations: 458.5 kB / 408.2 MB, free: 14.54 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.003042/0.2435, allocations: 2.143 MB / 410.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.001177/0.2447, allocations: 0.8499 MB / 411.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.563e-06/0.2447, allocations: 3.938 kB / 411.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005765/0.2453, allocations: 387.5 kB / 411.6 MB, free: 12.04 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.444e-06/0.2453, allocations: 3.938 kB / 411.6 MB, free: 12.03 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0009216/0.2462, allocations: 0.6381 MB / 412.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 1.522e-05/0.2462, allocations: 7.938 kB / 412.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.002566/0.2488, allocations: 1.894 MB / 414.1 MB, free: 9.5 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.003657/0.2525, allocations: 3.426 MB / 417.5 MB, free: 5.691 MB / 318.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: ............... 2 * 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: ............................. 6 (6) {stop1.s, stop1.v, stop2.s, stop2.v, mass.s, supportFriction.v_relfric} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 47 (47) {stop1.free, stop1.startForward, stop1.startBackward, stop1.locked, stop1.mode, stop1.stopped, stop2.free, stop2.startForward, stop2.startBackward, stop2.locked, stop2.mode, stop2.stopped, supportFriction.startForward, supportFriction.startBackward, supportFriction.locked, supportFriction.mode, $FUN_9, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $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: ........... 54 (scalar:54, 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: ... 3 (linear: 3, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 76 (scalar:76, 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: ... 3 (linear: 3, nonlinear:0) Notification: Performance of backend: time 9.804e-05/0.2525, allocations: 58.78 kB / 417.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of SimCode: time 0.006493/0.259, allocations: 3.395 MB / 421 MB, free: 2.41 MB / 318.1 MB Notification: Performance of Templates: time 0.01915/0.2782, allocations: 10.16 MB / 431.2 MB, free: 8.258 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.19535829796223] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass.s', 'mass.v', 'stop1.s', 'stop1.v', 'stop2.s', 'stop2.v', 'stop1.mode', 'stop1.startBackward', 'stop1.startForward', 'stop2.mode', 'stop2.startBackward', 'stop2.startForward', 'supportFriction.mode', 'supportFriction.startBackward', 'supportFriction.startForward'] 0.28715100500267 0.30054437199999995 0.07968438800000001 Calling exit ...