Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 107.3 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.00136/0.00136, allocations: 211.8 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.232/1.232, allocations: 230.4 MB / 251.3 MB, free: 8.691 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.331e-05, allocations: 2.281 kB / 368.8 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.1354/0.1354, allocations: 15.93 MB / 384.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008087/0.1435, allocations: 5.155 MB / 389.9 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.1451, allocations: 115.8 kB / 390 MB, free: 3.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005939/0.151, allocations: 4.483 MB / 394.5 MB, free: 1.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006693/0.1577, allocations: 2.568 MB / 397.1 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002496/0.1602, allocations: 1.157 MB / 398.2 MB, free: 14.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.1706, allocations: 8.766 MB / 407 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003285/0.1739, allocations: 2.776 MB / 409.8 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.1771, allocations: 2.277 MB / 412.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005339/0.1824, allocations: 4.144 MB / 416.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005406/0.183, allocations: 312 kB / 416.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.1852, allocations: 1.158 MB / 417.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.005048/0.1903, allocations: 6.127 MB / 423.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.002842/0.1931, allocations: 3.907 MB / 427.7 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008001/0.1939, allocations: 494.4 kB / 428.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0006054/0.1945, allocations: 135 kB / 428.3 MB, free: 4.941 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2058 (726) * Number of variables: 2008 (664) Notification: Performance of Bindings: time 0.01374/0.2083, allocations: 14.34 MB / 442.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.001356/0.2096, allocations: 1.515 MB / 444.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of Early Inline: time 0.7099/0.9195, allocations: 346.4 MB / 0.772 GB, free: 79.83 MB / 0.5294 GB Notification: Performance of Simplify 1: time 0.07035/0.9899, allocations: 54.88 MB / 0.8256 GB, free: 78.17 MB / 0.5294 GB Notification: Performance of Alias: time 0.1388/1.129, allocations: 114 MB / 0.9369 GB, free: 4.906 MB / 0.545 GB Notification: Performance of Simplify 2: time 0.2432/1.372, allocations: 54.61 MB / 0.9902 GB, free: 119.3 MB / 0.545 GB Notification: Performance of Remove Stream: time 0.05752/1.429, allocations: 37.95 MB / 1.027 GB, free: 111.7 MB / 0.545 GB Notification: Performance of Detect States: time 0.07783/1.507, allocations: 73.69 MB / 1.099 GB, free: 50.84 MB / 0.545 GB Notification: Performance of Events: time 0.5825/2.09, allocations: 289.5 MB / 1.382 GB, free: 199.1 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.00985/2.1, allocations: 10.85 MB / 1.393 GB, free: 196.4 MB / 0.5762 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (25|38) Unmatched Variables ***************************** [ALGB] (3) Real[3] b1.a_0 (start = {0.0, 0.0, 0.0}) [ALGB] (3) flow Real[3] world.frame_b.t slice: {1, 2} [ALGB] (1) Real rev1.a (start = 0.0) [ALGB] (1) protected Real rev1.constantTorque.w [DER-] (1) Real $DER.j5.constantTorque.phi [DER-] (1) Real $DER.j3.constantTorque.phi [DER-] (1) Real $DER.j1.constantTorque.phi [ALGB] (3) flow Real[3] j1.frame_b.f slice: {0, 1} [ALGB] (1) Real j4.a (start = 0.0) [ALGB] (1) Real j2.a (start = 0.0) [ALGB] (3) flow Real[3] b1.frameTranslation.frame_a.t slice: {0, 1} [ALGB] (3) flow Real[3] b3.frame_a.f [ALGB] (3) flow Real[3] b2.frame_a.f slice: {2} [DER-] (1) Real $DER.j1.w [ALGB] (3) flow Real[3] world.frame_b.f slice: {1} [DER-] (1) Real $DER.rev.constantTorque.phi [DER-] (1) Real $DER.j3.w [ALGB] (1) protected Real j4.constantTorque.w [ALGB] (3) flow Real[3] b3.frame_a.t slice: {1} [DER-] (1) Real $DER.rev.w [ALGB] (3) flow Real[3] b2.frame_a.t [DER-] (1) Real $DER.j5.w [ALGB] (3) Real[3] b1.body.z_a (fixed = {false for $i1 in 1:3}, start = Modelica.Mechanics.MultiBody.Frames.resolve2(b1.body.R_start, b1.body.z_0_start)) slice: {0} [ALGB] (3) Real[3] b3.a_0 (start = {0.0, 0.0, 0.0}) [ALGB] (3) Real[3] b2.a_0 (start = {0.0, 0.0, 0.0}) (27|38) Unmatched Equations ***************************** [SCAL] (1) b1.r_0[3] = b1.body.r_0[3] ($RES_SIM_431) [SCAL] (1) b1.r_0[2] = b1.body.r_0[2] ($RES_SIM_433) [SCAL] (1) b1.r_0[1] = b1.body.r_0[1] ($RES_SIM_435) [SCAL] (1) j1.constantTorque.phi = j1.phi ($RES_SIM_184) [SCAL] (1) b2.r_0[3] = b2.body.r_0[3] ($RES_SIM_376) [SCAL] (1) b2.r_0[2] = b2.body.r_0[2] ($RES_SIM_378) [SCAL] (1) b2.r_0[1] = b2.body.r_0[1] ($RES_SIM_380) [SCAL] (1) j5.constantTorque.phi = j5.angle ($RES_SIM_19) [SCAL] (1) j4.constantTorque.phi = j4.angle ($RES_SIM_37) [SCAL] (1) j3.constantTorque.phi = j3.angle ($RES_SIM_55) [FOR-] (3) ($RES_SIM_788) [----] for $i1 in 1:3 loop [----] [SCAL] (1) world.frame_b.r_0[$i1] = 0.0 ($RES_SIM_789) [----] end for; slice: {0} [SCAL] (1) rev1.constantTorque.phi = rev1.angle ($RES_SIM_73) [ARRY] (3) b2.body.w_a = b2.body.frame_a.R.w ($RES_SIM_129) [SCAL] (1) rev.constantTorque.phi = rev.angle ($RES_SIM_91) [SCAL] (1) b1.frame_a.R.w[3] = b1.body.frame_a.R.w[3] ($RES_SIM_405) [SCAL] (1) b1.frame_a.R.w[2] = b1.body.frame_a.R.w[2] ($RES_SIM_406) [SCAL] (1) b1.frame_a.R.w[1] = b1.body.frame_a.R.w[1] ($RES_SIM_407) [SCAL] (1) b0.frame_a.r_0[3] = b1.r_0[3] ($RES_SIM_249) [SCAL] (1) b3.r_0[3] = b3.body.r_0[3] ($RES_SIM_333) [SCAL] (1) b3.r_0[2] = b3.body.r_0[2] ($RES_SIM_335) [SCAL] (1) b3.r_0[1] = b3.body.r_0[1] ($RES_SIM_337) [RECD] (12) j2.frame_b.R = j2.frame_a.R ($RES_SIM_162) slice: {1, 2, 3, 4, 5, 6, 7} [ARRY] (9) b1.frameTranslation.frame_b.R.T = b1.frame_b.R.T ($RES_SIM_423) slice: {5, 6, 7, 8} [SCAL] (1) b0.frame_a.r_0[3] = world.frame_b.r_0[3] ($RES_SIM_250) [SCAL] (1) b0.frame_a.r_0[2] = b1.r_0[2] ($RES_SIM_251) [SCAL] (1) b0.frame_a.r_0[2] = world.frame_b.r_0[2] ($RES_SIM_252) [SCAL] (1) b0.frame_a.r_0[1] = b1.r_0[1] ($RES_SIM_253)