Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.BodyShape.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadModel(ModelicaTest): time 1.966/1.966, allocations: 209.3 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005954/0.0005955, allocations: 16 kB / 283.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3802, allocations: 48.71 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.08363/0.4639, allocations: 37.83 MB / 369.6 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03313/0.4971, allocations: 9.426 MB / 379.1 MB, free: 15.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01101/0.5082, allocations: 191.5 kB / 379.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008021/0.5163, allocations: 1.898 MB / 381.2 MB, free: 13.08 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02399/0.5403, allocations: 5.482 MB / 386.6 MB, free: 7.582 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004134/0.5445, allocations: 0.6084 MB / 387.2 MB, free: 6.973 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006727/0.5513, allocations: 2.403 MB / 389.6 MB, free: 4.562 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008329/0.5597, allocations: 3.997 MB / 393.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.5622, allocations: 1.008 MB / 394.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002516/0.5647, allocations: 1.277 MB / 395.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006194/0.5654, allocations: 132 kB / 396.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.568, allocations: 0.9245 MB / 397 MB, free: 13.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002295/0.5703, allocations: 1.559 MB / 398.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.5716, allocations: 0.8272 MB / 399.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00929/0.5809, allocations: 5.39 MB / 404.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5809, allocations: 0 / 404.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.517e-06/0.581, allocations: 0 / 404.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001805/0.5812, allocations: 0 / 404.8 MB, free: 5.348 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01195/0.5931, allocations: 3.986 MB / 408.7 MB, free: 1.297 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.5932, allocations: 8.031 kB / 408.8 MB, free: 1.289 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/0.6081, allocations: 2.276 MB / 411 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007895/0.616, allocations: 2.69 MB / 413.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003113/0.6164, allocations: 238 kB / 413.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002048/0.6185, allocations: 403.4 kB / 414.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02701/0.6455, allocations: 10.03 MB / 424.4 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000169/0.6457, allocations: 39.59 kB / 424.4 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006556/0.6464, allocations: 147.9 kB / 424.6 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004962/0.6514, allocations: 1.841 MB / 426.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02685/0.6782, allocations: 8.474 MB / 434.9 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07161/0.7499, allocations: 39.23 MB / 474.1 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0156/0.7656, allocations: 3.593 MB / 477.7 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.017/0.7826, allocations: 7.167 MB / 484.9 MB, free: 2.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/0.7827, allocations: 55.55 kB / 484.9 MB, free: 2.688 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.641e-06/0.7827, allocations: 0 / 484.9 MB, free: 2.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=149): time 0.3987/1.181, allocations: 13.95 MB / 498.9 MB, free: 128 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.662e-05/1.182, allocations: 141 kB / 499 MB, free: 127.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007824/1.189, allocations: 4.133 MB / 0.4913 GB, free: 126.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004035/1.19, allocations: 42.77 kB / 0.4914 GB, free: 126.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002328/1.192, allocations: 3.065 MB / 0.4944 GB, free: 124 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009314/1.193, allocations: 0.6109 MB / 0.495 GB, free: 123.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004058/1.194, allocations: 119.4 kB / 0.4951 GB, free: 123.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003216/1.194, allocations: 0.5604 MB / 0.4956 GB, free: 123 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004186/1.198, allocations: 1.929 MB / 0.4975 GB, free: 122.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006127/1.204, allocations: 5.712 MB / 0.5031 GB, free: 116.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006632/1.211, allocations: 3.238 MB / 0.5063 GB, free: 114.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.996e-05/1.211, allocations: 37.28 kB / 0.5063 GB, free: 114.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=774) (initialization): time 0.02195/1.233, allocations: 8.117 MB / 0.5142 GB, free: 108.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.198e-05/1.233, allocations: 67.98 kB / 0.5143 GB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007848/1.241, allocations: 2.439 MB / 0.5167 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006/1.247, allocations: 1.296 MB / 0.5179 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00721/1.254, allocations: 1.368 MB / 0.5193 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007492/1.262, allocations: 4.912 MB / 0.5241 GB, free: 98.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006042/1.268, allocations: 335.4 kB / 0.5244 GB, free: 97.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007817/1.269, allocations: 378.2 kB / 0.5247 GB, free: 97.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (740): * Single equations (assignments): 733 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.004147/1.273, allocations: 2.045 MB / 0.5267 GB, free: 95.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008828/1.274, allocations: 339.7 kB / 0.5271 GB, free: 95.08 MB / 410.7 MB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 98 equation(s) and 92 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/1.277, allocations: 1.195 MB / 0.5282 GB, free: 93.88 MB / 410.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.