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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=1000,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=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 113 kB / 17.75 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 184.7 kB / 18.68 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.091e-05, allocations: 5.797 kB / 351.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.00278/0.002799, allocations: 2.602 MB / 354.5 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005792/0.003389, allocations: 386.5 kB / 354.9 MB, free: 324 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.0035, allocations: 8 kB / 354.9 MB, free: 316 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.003638, allocations: 51.44 kB / 355 MB, free: 264 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.003799, allocations: 99.08 kB / 355.1 MB, free: 164 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.00405, allocations: 83.88 kB / 355.1 MB, free: 80 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.004424, allocations: 426.4 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.00462, allocations: 111.7 kB / 355.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.004765, allocations: 143.5 kB / 355.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.004936, allocations: 155.4 kB / 356 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.004982, allocations: 32 kB / 356 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.192e-05/0.005029, allocations: 28 kB / 356 MB, free: 15.19 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003301/0.005364, allocations: 0.51 MB / 356.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001493/0.005519, allocations: 315.3 kB / 356.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.005592, allocations: 63.81 kB / 356.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.333e-05/0.00563, allocations: 19.94 kB / 356.9 MB, free: 14.28 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 Bindings: time 0.00116/0.006795, allocations: 1.492 MB / 358.4 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FunctionAlias: time 9.069e-05/0.006893, allocations: 75.92 kB / 358.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006451/0.007544, allocations: 0.7687 MB / 359.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simplify1: time 6.392e-05/0.007614, allocations: 67.92 kB / 359.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of Alias: time 0.001554/0.009173, allocations: 1.477 MB / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simplify2: time 4.571e-05/0.009229, allocations: 51.94 kB / 360.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of Events: time 0.0001056/0.00934, allocations: 87.8 kB / 360.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002656/0.009612, allocations: 260.6 kB / 361.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002503/0.00987, allocations: 255.3 kB / 361.4 MB, free: 9.492 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (4|4) Unmatched Variables *************************** [ALGB] (1) Real mass2.a (start = 0.0) slice: {} [ALGB] (1) flow Real rod2.flange_b.f slice: {} [ALGB] (1) Real springDamper1.lossPower slice: {} [ALGB] (1) flow Real fixed.flange.f slice: {} (4|4) Unmatched Equations *************************** [SCAL] (1) springDamper2.s_rel = (0.5 * rod2.L - (-(fixed.s0 + 0.5 * rod2.L))) - (mass1.s + 0.5 * mass1.L) ($RES_SIM_33) slice: {} [SCAL] (1) elastoGap1.s_rel = (mass2.s - 0.5 * mass2.L) - (-(0.5 * rod1.L + (0.5 * rod1.L - fixed.s0))) ($RES_SIM_18) slice: {} [SCAL] (1) springDamper1.s_rel = (mass1.s - 0.5 * mass1.L) - (-(0.5 * rod1.L + (0.5 * rod1.L - fixed.s0))) ($RES_SIM_41) slice: {} [SCAL] (1) elastoGap2.s_rel = (0.5 * rod2.L - (-(fixed.s0 + 0.5 * rod2.L))) - (mass2.s + 0.5 * mass2.L) ($RES_SIM_8) slice: {}