Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001559/0.001559, allocations: 110.1 kB / 21.99 MB, free: 4.551 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.001765/0.001765, allocations: 218 kB / 25.3 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 207.7 MB / 236.2 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.693e-05, allocations: 6.219 kB / 348.5 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004026/0.004053, allocations: 2.4 MB / 350.9 MB, free: 7.055 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007679/0.004821, allocations: 374.7 kB / 351.3 MB, free: 6.688 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.00494, allocations: 7.938 kB / 351.3 MB, free: 6.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.005107, allocations: 47.52 kB / 351.3 MB, free: 6.633 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.005308, allocations: 103.1 kB / 351.4 MB, free: 6.531 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.005633, allocations: 91.83 kB / 351.5 MB, free: 6.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004864/0.006119, allocations: 422.3 kB / 351.9 MB, free: 6.027 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.006334, allocations: 71.58 kB / 352 MB, free: 5.957 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.006538, allocations: 147.5 kB / 352.1 MB, free: 5.812 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.006745, allocations: 143.3 kB / 352.3 MB, free: 5.672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.403e-05/0.006799, allocations: 32 kB / 352.3 MB, free: 5.641 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.757e-05/0.006857, allocations: 28 kB / 352.3 MB, free: 5.613 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0005978/0.007455, allocations: 0.6188 MB / 353 MB, free: 4.988 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003066/0.007761, allocations: 386.9 kB / 353.3 MB, free: 4.605 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.007824, allocations: 32 kB / 353.4 MB, free: 4.574 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.817e-05/0.007882, allocations: 11.98 kB / 353.4 MB, free: 4.562 MB / 286.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.001623/0.009505, allocations: 1.485 MB / 354.9 MB, free: 2.945 MB / 286.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003327/0.009838, allocations: 217.1 kB / 355.1 MB, free: 2.723 MB / 286.1 MB Notification: Performance of [SIM] Early Inline: time 0.0007919/0.01063, allocations: 0.7925 MB / 355.9 MB, free: 1.902 MB / 286.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003051/0.01094, allocations: 180.3 kB / 356 MB, free: 1.68 MB / 286.1 MB Notification: Performance of [SIM] Alias: time 0.002384/0.01332, allocations: 1.5 MB / 357.5 MB, free: 60 kB / 286.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002612/0.01358, allocations: 181.8 kB / 357.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001152/0.0137, allocations: 104.2 kB / 357.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003531/0.01405, allocations: 256.7 kB / 358.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.391e-05/0.01414, allocations: 55.83 kB / 358.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004041/0.01455, allocations: 291.5 kB / 358.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001877/0.01642, allocations: 1.368 MB / 359.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005955/0.01702, allocations: 0.5658 MB / 360.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0009153/0.01793, allocations: 0.5132 MB / 360.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0009958/0.01893, allocations: 0.9106 MB / 361.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.884e-05/0.01898, allocations: 30.73 kB / 361.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001605/0.01914, allocations: 159.8 kB / 362 MB, free: 11.38 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001401/0.02054, allocations: 0.8979 MB / 362.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.838e-05/0.02058, allocations: 28 kB / 362.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.61e-07/0.02058, allocations: 0 / 362.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004739/0.02105, allocations: 287.2 kB / 363.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.526e-06/0.02106, allocations: 0 / 363.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.104e-05/0.02111, allocations: 48 kB / 363.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.708e-06/0.02112, allocations: 0 / 363.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.00174/0.02286, allocations: 1.128 MB / 364.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0008177/0.02368, allocations: 0.6838 MB / 365 MB, free: 8.23 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.0001483/0.02383, allocations: 41.64 kB / 365.1 MB, free: 8.195 MB / 302.1 MB Notification: Performance of SimCode: time 0.001688/0.02552, allocations: 1.332 MB / 366.4 MB, free: 6.84 MB / 302.1 MB Notification: Performance of Templates: time 0.009673/0.03519, allocations: 3.996 MB / 370.4 MB, free: 2.844 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.8504309200216085] Failed to read output from testmodel.py, exit status != 0: ['time', 'elastoGap1.v_rel', 'elastoGap2.s_rel', 'springDamper1.v_rel', 'springDamper2.s_rel'] 0.044170473993290216 0.057913863 0.046966604 Calling exit ...