Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.BodyShape.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 234.9 MB / 251.1 MB, free: 9.488 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004501/0.0004503, allocations: 8 kB / 314.9 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4122, allocations: 54.87 MB / 369.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.0633/0.4756, allocations: 37.84 MB / 407.7 MB, free: 4.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02993/0.5056, allocations: 9.44 MB / 417.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00926/0.5149, allocations: 191.5 kB / 417.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007578/0.5226, allocations: 1.898 MB / 419.2 MB, free: 9.188 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02397/0.5466, allocations: 5.474 MB / 424.7 MB, free: 3.699 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004096/0.5508, allocations: 0.5849 MB / 425.2 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006761/0.5576, allocations: 2.411 MB / 427.7 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008837/0.5665, allocations: 4.005 MB / 431.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/0.5692, allocations: 1.001 MB / 432.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002958/0.5722, allocations: 1.277 MB / 433.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008773/0.5732, allocations: 140 kB / 434.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003085/0.5763, allocations: 0.9401 MB / 435 MB, free: 9.258 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002926/0.5792, allocations: 1.562 MB / 436.6 MB, free: 7.691 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.5807, allocations: 0.8233 MB / 437.4 MB, free: 6.859 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009886/0.5906, allocations: 5.394 MB / 442.8 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5907, allocations: 0 / 442.8 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.997e-06/0.5907, allocations: 0 / 442.8 MB, free: 1.453 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002586/0.591, allocations: 0 / 442.8 MB, free: 1.453 MB / 362.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.01304/0.604, allocations: 3.991 MB / 446.8 MB, free: 13.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.6041, allocations: 8.031 kB / 446.8 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0153/0.6194, allocations: 2.295 MB / 449.1 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008573/0.6281, allocations: 2.702 MB / 451.8 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/0.6284, allocations: 238 kB / 452 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002087/0.6305, allocations: 399.5 kB / 452.4 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02893/0.6595, allocations: 10.03 MB / 462.4 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001799/0.6597, allocations: 39.59 kB / 462.5 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007642/0.6605, allocations: 155.9 kB / 462.6 MB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005308/0.6658, allocations: 1.841 MB / 464.5 MB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0317/0.6976, allocations: 8.474 MB / 473 MB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4034/1.101, allocations: 39.22 MB / 0.5002 GB, free: 60.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01454/1.116, allocations: 3.593 MB / 0.5037 GB, free: 58.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01518/1.131, allocations: 7.197 MB / 0.5107 GB, free: 51.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/1.131, allocations: 47.56 kB / 0.5108 GB, free: 51.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 6.062e-06/1.131, allocations: 0 / 0.5108 GB, free: 51.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=149): time 0.05792/1.189, allocations: 13.96 MB / 0.5244 GB, free: 37.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/1.189, allocations: 141.5 kB / 0.5245 GB, free: 37.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007457/1.197, allocations: 4.132 MB / 0.5286 GB, free: 32.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005211/1.197, allocations: 46.95 kB / 0.5286 GB, free: 32.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002365/1.2, allocations: 3.072 MB / 0.5316 GB, free: 29.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009782/1.201, allocations: 0.605 MB / 0.5322 GB, free: 29.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004854/1.201, allocations: 116 kB / 0.5323 GB, free: 29.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003365/1.201, allocations: 0.5627 MB / 0.5329 GB, free: 28.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004701/1.206, allocations: 1.956 MB / 0.5348 GB, free: 26.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007432/1.214, allocations: 5.739 MB / 0.5404 GB, free: 18.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007739/1.221, allocations: 3.269 MB / 0.5436 GB, free: 15.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001312/1.222, allocations: 43.95 kB / 0.5436 GB, free: 15.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=774) (initialization): time 0.034/1.256, allocations: 9.016 MB / 0.5524 GB, free: 6.605 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/1.256, allocations: 65.56 kB / 0.5525 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01878/1.275, allocations: 3.351 MB / 0.5557 GB, free: 3.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0192/1.294, allocations: 2.297 MB / 0.558 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007639/1.302, allocations: 1.368 MB / 0.5593 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01684/1.318, allocations: 6.652 MB / 0.5658 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006253/1.325, allocations: 339.4 kB / 0.5661 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009543/1.326, allocations: 368 kB / 0.5665 GB, free: 7.875 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): 3 * Torn equation systems: 1 * 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: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00503/1.331, allocations: 2.052 MB / 0.5685 GB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008584/1.332, allocations: 331.7 kB / 0.5688 GB, free: 5.484 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.003374/1.335, allocations: 1.195 MB / 0.57 GB, free: 4.281 MB / 410.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.