Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.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.001418/0.001418, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001542/0.001542, allocations: 211.2 kB / 24.55 MB, free: 3.723 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.558/1.558, allocations: 230.6 MB / 258.3 MB, free: 7.766 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.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.073e-05, allocations: 2.281 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003703/0.003723, allocations: 2.461 MB / 381.5 MB, free: 16 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2273/0.231, allocations: 0.7037 MB / 382.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.2312, allocations: 7.031 kB / 382.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.2314, allocations: 53.89 kB / 382.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.2316, allocations: 107 kB / 382.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.232, allocations: 95.17 kB / 382.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005859/0.2326, allocations: 434.8 kB / 382.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002299/0.2328, allocations: 79.89 kB / 383 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.233, allocations: 155 kB / 383.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.2333, allocations: 144.4 kB / 383.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.035e-05/0.2333, allocations: 30.22 kB / 383.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.241e-05/0.2334, allocations: 30.41 kB / 383.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006903/0.2341, allocations: 0.6399 MB / 384 MB, free: 12.49 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002945/0.2344, allocations: 410.5 kB / 384.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.233e-05/0.2345, allocations: 32.5 kB / 384.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.597e-05/0.2345, allocations: 12.53 kB / 384.4 MB, free: 12.24 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.001583/0.2361, allocations: 1.549 MB / 385.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002846/0.2364, allocations: 215.6 kB / 386.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008038/0.2372, allocations: 0.7835 MB / 386.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003167/0.2375, allocations: 201.4 kB / 387.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002378/0.2399, allocations: 1.514 MB / 388.7 MB, free: 10 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002428/0.2402, allocations: 200.5 kB / 388.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 9.721e-05/0.2403, allocations: 97.58 kB / 388.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003235/0.2406, allocations: 262.1 kB / 389.2 MB, free: 9.566 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.724e-05/0.2407, allocations: 43.56 kB / 389.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003996/0.2411, allocations: 310.6 kB / 389.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.00204/0.2431, allocations: 1.423 MB / 391 MB, free: 8.945 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005301/0.2436, allocations: 0.5605 MB / 391.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0008739/0.2445, allocations: 0.5571 MB / 392.1 MB, free: 8.355 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0008993/0.2454, allocations: 0.9239 MB / 393 MB, free: 7.891 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.226e-05/0.2455, allocations: 30.89 kB / 393 MB, free: 7.867 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001635/0.2456, allocations: 156.1 kB / 393.2 MB, free: 7.785 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001613/0.2472, allocations: 1.004 MB / 394.2 MB, free: 7.566 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.251e-05/0.2473, allocations: 32.16 kB / 394.2 MB, free: 7.543 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 6.91e-07/0.2473, allocations: 1.094 kB / 394.2 MB, free: 7.543 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005384/0.2478, allocations: 301.5 kB / 394.5 MB, free: 7.426 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.763e-06/0.2478, allocations: 0.5 kB / 394.5 MB, free: 7.426 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.723e-05/0.2478, allocations: 52.41 kB / 394.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.366e-05/0.2479, allocations: 2.281 kB / 394.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001828/0.2497, allocations: 1.143 MB / 395.7 MB, free: 7.004 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0008641/0.2505, allocations: 0.715 MB / 396.4 MB, free: 6.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) {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.0001434/0.2507, allocations: 33.11 kB / 396.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of SimCode: time 0.002005/0.2527, allocations: 1.362 MB / 397.8 MB, free: 5.812 MB / 302.1 MB Notification: Performance of Templates: time 0.009334/0.262, allocations: 3.974 MB / 401.8 MB, free: 3.941 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.703382221981883] Failed to read output from testmodel.py, exit status != 0: ['time', 'elastoGap1.v_rel', 'elastoGap2.s_rel', 'springDamper1.v_rel', 'springDamper2.s_rel'] 0.26975182903697714 0.28388377000000004 0.046213641 Calling exit ...