Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 104 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 190.7 kB / 24.53 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 225.7 MB / 253.4 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.125e-05, allocations: 2.281 kB / 371.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003888/0.003909, allocations: 2.41 MB / 374.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007707/0.00468, allocations: 394.5 kB / 374.5 MB, free: 6.371 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.0048, allocations: 7.938 kB / 374.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.004969, allocations: 47.52 kB / 374.6 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.005165, allocations: 103.1 kB / 374.7 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.005472, allocations: 91.83 kB / 374.7 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.005928, allocations: 422.3 kB / 375.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.006129, allocations: 63.64 kB / 375.2 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.006295, allocations: 147.5 kB / 375.4 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.006482, allocations: 139.4 kB / 375.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.006529, allocations: 28 kB / 375.5 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.035e-05/0.006589, allocations: 32 kB / 375.6 MB, free: 5.301 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005679/0.007157, allocations: 0.6189 MB / 376.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002932/0.00745, allocations: 382.9 kB / 376.6 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.134e-05/0.007511, allocations: 32 kB / 376.6 MB, free: 4.266 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.71e-05/0.007549, allocations: 12 kB / 376.6 MB, free: 4.254 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: 70 (70) * Number of variables: 70 (70) Notification: Performance of [SIM] Bindings: time 0.001706/0.009255, allocations: 1.489 MB / 378.1 MB, free: 2.633 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002976/0.009552, allocations: 209.1 kB / 378.3 MB, free: 2.418 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.000832/0.01038, allocations: 0.7962 MB / 379.1 MB, free: 1.594 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002992/0.01068, allocations: 184.3 kB / 379.3 MB, free: 1.363 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.2362/0.2468, allocations: 1.496 MB / 380.8 MB, free: 16.85 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003029/0.2471, allocations: 180.1 kB / 380.9 MB, free: 16.75 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001151/0.2473, allocations: 98.95 kB / 381 MB, free: 16.7 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003367/0.2476, allocations: 255.5 kB / 381.3 MB, free: 16.59 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001009/0.2477, allocations: 47.36 kB / 381.3 MB, free: 16.58 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000408/0.2481, allocations: 303.6 kB / 381.6 MB, free: 16.56 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002113/0.2502, allocations: 1.368 MB / 383 MB, free: 16.27 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005551/0.2508, allocations: 0.5697 MB / 383.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001114/0.2519, allocations: 0.4976 MB / 384.1 MB, free: 16.09 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001174/0.2531, allocations: 0.9203 MB / 385 MB, free: 15.99 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.905e-05/0.2531, allocations: 26.48 kB / 385 MB, free: 15.98 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001839/0.2533, allocations: 158.7 kB / 385.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001588/0.2549, allocations: 0.9126 MB / 386.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.807e-05/0.2549, allocations: 27.02 kB / 386.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.212e-06/0.2549, allocations: 0 / 386.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004607/0.2554, allocations: 302.6 kB / 386.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.581e-06/0.2554, allocations: 0 / 386.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.189e-05/0.2554, allocations: 48.59 kB / 386.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.055e-05/0.2554, allocations: 1.312 kB / 386.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001491/0.2569, allocations: 1.12 MB / 387.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0006501/0.2576, allocations: 0.6875 MB / 388.3 MB, free: 14.68 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, elastoGap1.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: ........... 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 60 (scalar:60, 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.0001274/0.2577, allocations: 39.92 kB / 388.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of SimCode: time 0.001667/0.2594, allocations: 1.327 MB / 389.6 MB, free: 14 MB / 302.1 MB Notification: Performance of Templates: time 0.008981/0.2683, allocations: 4 MB / 393.6 MB, free: 13.09 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.890088026004378] Failed to read output from testmodel.py, exit status != 0: ['time', 'elastoGap1.v_rel', 'elastoGap2.s_rel', 'springDamper1.v_rel', 'springDamper2.s_rel'] 0.27651904994854704 0.287760089 0.278019934 Calling exit ...