Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 108.5 kB / 19.05 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 210.5 kB / 20.03 MB, free: 2.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.231/1.231, allocations: 230.4 MB / 251.3 MB, free: 8.703 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.316e-05, allocations: 2.281 kB / 368.8 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.1342/0.1342, allocations: 10.3 MB / 379.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005581/0.1398, allocations: 3.907 MB / 383 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007609/0.1405, allocations: 57.72 kB / 383.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002937/0.1435, allocations: 2.105 MB / 385.2 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003057/0.1465, allocations: 1.646 MB / 386.8 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.1478, allocations: 0.6855 MB / 387.5 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00378/0.1516, allocations: 3.657 MB / 391.2 MB, free: 4.695 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.153, allocations: 1.49 MB / 392.7 MB, free: 3.938 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.1542, allocations: 1.174 MB / 393.8 MB, free: 3.258 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/0.1555, allocations: 1.56 MB / 395.4 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.1558, allocations: 160.5 kB / 395.6 MB, free: 2.301 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.1574, allocations: 0.9793 MB / 396.5 MB, free: 1.859 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00187/0.1592, allocations: 3.414 MB / 400 MB, free: 15.46 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.00146/0.1607, allocations: 2.199 MB / 402.2 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000388/0.1611, allocations: 282.2 kB / 402.4 MB, free: 13.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0003417/0.1614, allocations: 99.47 kB / 402.5 MB, free: 13.63 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 (480) * Number of variables: 1301 (425) Notification: Performance of Bindings: time 0.007732/0.1692, allocations: 8.326 MB / 410.9 MB, free: 6.289 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0008397/0.17, allocations: 0.9219 MB / 411.8 MB, free: 5.363 MB / 318.1 MB Notification: Performance of Early Inline: time 0.7065/0.8765, allocations: 342.6 MB / 0.7367 GB, free: 87.2 MB / 0.5137 GB Notification: Performance of Simplify 1: time 0.0702/0.9467, allocations: 54.36 MB / 0.7898 GB, free: 83.92 MB / 0.5137 GB Notification: Performance of Alias: time 0.1361/1.083, allocations: 109.1 MB / 0.8963 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of Simplify 2: time 0.2453/1.328, allocations: 54.15 MB / 0.9492 GB, free: 119.1 MB / 0.5294 GB Notification: Performance of Remove Stream: time 0.053/1.381, allocations: 37.58 MB / 0.9859 GB, free: 116.1 MB / 0.5294 GB Notification: Performance of Detect States: time 0.08117/1.462, allocations: 72.99 MB / 1.057 GB, free: 69.22 MB / 0.5294 GB Notification: Performance of Events: time 0.5632/2.025, allocations: 289.2 MB / 1.34 GB, free: 200.2 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0109/2.036, allocations: 9.502 MB / 1.349 GB, free: 198.5 MB / 0.545 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (5|6) Unmatched Variables *************************** [ALGB] (1) Real prismatic.a (start = 0.0) [ALGB] (3) flow Real[3] prismatic.frame_b.t slice: {0, 1} [ALGB] (1) protected Real revolute.constantTorque.w [ALGB] (3) flow Real[3] prismatic.frame_a.f slice: {2} [ALGB] (1) Real revolute.a (start = 0.0) (5|6) Unmatched Equations *************************** [SCAL] (1) revolute.constantTorque.phi = revolute.angle ($RES_SIM_26) [SCAL] (1) spring1.frame_a.R.T[2, 1] = bar1.frame_b.R.T[2, 1] ($RES_SIM_197) [FOR-] (3) ($RES_SIM_524) [----] for $i1 in 1:3 loop [----] [SCAL] (1) bar1.shape.r[$i1] = 0.0 ($RES_SIM_525) [----] end for; slice: {1, 2} [SCAL] (1) spring1.frame_a.R.T[1, 3] = bar1.frame_b.R.T[1, 3] ($RES_SIM_200) [SCAL] (1) spring1.frame_a.R.T[1, 2] = bar1.frame_b.R.T[1, 2] ($RES_SIM_203)