Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.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.001658/0.001658, 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.001582/0.001582, 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.591/1.591, 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.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.225e-05, allocations: 5.234 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.2271/0.2272, allocations: 2.466 MB / 381.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.2287, allocations: 0.7023 MB / 382.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.2288, allocations: 9.219 kB / 382.2 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.229, allocations: 50.67 kB / 382.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.2292, allocations: 107.5 kB / 382.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.2295, allocations: 93.42 kB / 382.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004456/0.23, allocations: 437.2 kB / 382.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.2301, allocations: 79.09 kB / 383 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.2303, allocations: 153.9 kB / 383.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.2305, allocations: 148.8 kB / 383.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.756e-05/0.2306, allocations: 30.22 kB / 383.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.562e-05/0.2307, allocations: 34.69 kB / 383.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004548/0.2311, allocations: 0.6402 MB / 384 MB, free: 12.45 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001987/0.2313, allocations: 410 kB / 384.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.2314, allocations: 33.56 kB / 384.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.319e-05/0.2314, allocations: 13.3 kB / 384.4 MB, free: 12.2 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: 72 (72) * Number of variables: 72 (72) Notification: Performance of [SIM] Bindings: time 0.001358/0.2328, allocations: 1.538 MB / 385.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002416/0.233, allocations: 222.6 kB / 386.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006701/0.2337, allocations: 0.7798 MB / 386.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003007/0.234, allocations: 206.3 kB / 387.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002196/0.2362, allocations: 1.507 MB / 388.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002338/0.2364, allocations: 195.1 kB / 388.8 MB, free: 9.816 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.554e-05/0.2365, allocations: 98.41 kB / 388.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000317/0.2368, allocations: 266.5 kB / 389.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.596e-05/0.2369, allocations: 40.98 kB / 389.2 MB, free: 9.5 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003828/0.2373, allocations: 312.7 kB / 389.5 MB, free: 9.371 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001829/0.2391, allocations: 1.432 MB / 391 MB, free: 8.891 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004929/0.2396, allocations: 0.5616 MB / 391.5 MB, free: 8.609 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0008514/0.2405, allocations: 0.5404 MB / 392.1 MB, free: 8.293 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0009175/0.2414, allocations: 0.926 MB / 393 MB, free: 7.816 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.688e-05/0.2414, allocations: 23.73 kB / 393 MB, free: 7.797 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001355/0.2416, allocations: 166 kB / 393.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001369/0.2429, allocations: 0.9985 MB / 394.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.556e-05/0.243, allocations: 32.66 kB / 394.2 MB, free: 7.457 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.202e-06/0.243, allocations: 1.125 kB / 394.2 MB, free: 7.457 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004261/0.2434, allocations: 303.2 kB / 394.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.554e-06/0.2434, allocations: 0.5 kB / 394.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.045e-05/0.2434, allocations: 52.75 kB / 394.6 MB, free: 7.293 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.052e-05/0.2434, allocations: 3.312 kB / 394.6 MB, free: 7.293 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001512/0.2449, allocations: 1.15 MB / 395.7 MB, free: 6.883 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0006688/0.2456, allocations: 0.6969 MB / 396.4 MB, free: 6.379 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) {springDamper2.s_rel, mass1.v, elastoGap2.s_rel, mass2.v} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {elastoGap1.contact, elastoGap2.contact, $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: ........... 47 (scalar:47, 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: ........... 64 (scalar:64, 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.0001248/0.2457, allocations: 35.14 kB / 396.4 MB, free: 6.352 MB / 302.1 MB Notification: Performance of SimCode: time 0.00159/0.2473, allocations: 1.358 MB / 397.8 MB, free: 5.695 MB / 302.1 MB Notification: Performance of Templates: time 0.01035/0.2577, allocations: 3.983 MB / 401.8 MB, free: 3.781 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.829303679056466] Failed to read output from testmodel.py, exit status != 0: ['time', 'elastoGap1.v_rel', 'elastoGap2.s_rel', 'springDamper1.v_rel', 'springDamper2.s_rel'] 0.26595738698961213 0.28049417399999993 0.045941241 Calling exit ...