Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.09323, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.02329/0.1166, allocations: 14.52 MB / 323.6 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.1287, allocations: 4.57 MB / 328.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002394/0.1312, allocations: 67.81 kB / 328.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.1336, allocations: 0.6844 MB / 328.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008498/0.1421, allocations: 2.287 MB / 331.2 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.1439, allocations: 367.3 kB / 331.6 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003666/0.1476, allocations: 1.478 MB / 333 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003629/0.1513, allocations: 1.826 MB / 334.9 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.1525, allocations: 0.6151 MB / 335.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.1541, allocations: 0.8722 MB / 336.4 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003938/0.1545, allocations: 88 kB / 336.4 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.1568, allocations: 0.8386 MB / 337.3 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.1582, allocations: 0.9156 MB / 338.2 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007032/0.1589, allocations: 0.5001 MB / 338.7 MB, free: 2.598 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005449/0.1643, allocations: 3.25 MB / 341.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1644, allocations: 0 / 341.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1644, allocations: 0 / 341.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001105/0.1645, allocations: 0 / 341.9 MB, free: 15.34 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.008017/0.1726, allocations: 2.551 MB / 344.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.1726, allocations: 8.031 kB / 344.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/0.1864, allocations: 2.079 MB / 346.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004745/0.1912, allocations: 1.585 MB / 348.2 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.1914, allocations: 135.2 kB / 348.3 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/0.1928, allocations: 251.6 kB / 348.5 MB, free: 8.629 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01741/0.2102, allocations: 6.556 MB / 355.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.2104, allocations: 27.8 kB / 355.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004307/0.2108, allocations: 87.89 kB / 355.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003832/0.2146, allocations: 1.339 MB / 356.6 MB, free: 156 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/0.2335, allocations: 5.955 MB / 362.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2889/0.5225, allocations: 25.21 MB / 387.7 MB, free: 43.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/0.5336, allocations: 2.544 MB / 390.3 MB, free: 42.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008223/0.5419, allocations: 3.564 MB / 393.8 MB, free: 40.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.542, allocations: 39.41 kB / 393.9 MB, free: 40.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=105): time 6.181e-06/0.542, allocations: 0 / 393.9 MB, free: 40.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=112): time 0.04055/0.5826, allocations: 9.862 MB / 403.7 MB, free: 35.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.5827, allocations: 141 kB / 403.9 MB, free: 35.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004615/0.5873, allocations: 2.816 MB / 406.7 MB, free: 33.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003043/0.5876, allocations: 37.33 kB / 406.7 MB, free: 33.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.589, allocations: 2.07 MB / 408.8 MB, free: 32.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005695/0.5896, allocations: 466.6 kB / 409.2 MB, free: 31.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/0.5899, allocations: 87.78 kB / 409.3 MB, free: 31.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002521/0.5902, allocations: 0.4889 MB / 409.8 MB, free: 31.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003443/0.5936, allocations: 1.535 MB / 411.4 MB, free: 29.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005578/0.5992, allocations: 4.29 MB / 415.6 MB, free: 24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005455/0.6048, allocations: 2.527 MB / 418.2 MB, free: 21.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.166e-05/0.6049, allocations: 28 kB / 418.2 MB, free: 21.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.0311/0.636, allocations: 7.712 MB / 425.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.458e-05/0.6361, allocations: 48 kB / 426 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01986/0.656, allocations: 3.264 MB / 429.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02161/0.6776, allocations: 2.601 MB / 431.8 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005093/0.6828, allocations: 0.9747 MB / 432.8 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02304/0.7058, allocations: 9.339 MB / 442.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004547/0.7104, allocations: 272.4 kB / 442.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007722/0.7113, allocations: 271.3 kB / 442.7 MB, free: 12.67 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 449 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (528): * Single equations (assignments): 522 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003296/0.7146, allocations: 1.408 MB / 444.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006201/0.7152, allocations: 221.1 kB / 444.3 MB, free: 11.04 MB / 330.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 59 equation(s) and 56 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.7176, allocations: 0.844 MB / 445.1 MB, free: 10.18 MB / 330.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.