Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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) 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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadModel(Modelica): time 1.695/1.695, allocations: 171.2 MB / 187.3 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003468, allocations: 8 kB / 233.8 MB, free: 3.066 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08305/0.08343, allocations: 38.79 MB / 272.6 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.02264/0.1061, allocations: 14.52 MB / 287.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.1181, allocations: 4.531 MB / 291.6 MB, free: 9.074 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/0.1204, allocations: 67.81 kB / 291.7 MB, free: 9.008 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.1225, allocations: 0.6883 MB / 292.4 MB, free: 8.316 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008468/0.131, allocations: 2.287 MB / 294.7 MB, free: 6.023 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.1327, allocations: 379.4 kB / 295 MB, free: 5.652 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003619/0.1363, allocations: 1.486 MB / 296.5 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003491/0.1399, allocations: 1.838 MB / 298.4 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.141, allocations: 0.6073 MB / 299 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.1426, allocations: 0.8722 MB / 299.8 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003664/0.1429, allocations: 84 kB / 299.9 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.237/0.38, allocations: 0.8222 MB / 300.8 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001713/0.3818, allocations: 0.916 MB / 301.7 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007711/0.3826, allocations: 0.5046 MB / 302.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006309/0.3889, allocations: 3.24 MB / 305.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3889, allocations: 0 / 305.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.075e-06/0.389, allocations: 0 / 305.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001865/0.3892, allocations: 0 / 305.4 MB, free: 10.02 MB / 250.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.009137/0.3983, allocations: 2.547 MB / 308 MB, free: 8.758 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.3984, allocations: 9.156 kB / 308 MB, free: 8.758 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0134/0.4118, allocations: 2.051 MB / 310 MB, free: 8.586 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004706/0.4165, allocations: 1.589 MB / 311.6 MB, free: 8.211 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.4167, allocations: 129.5 kB / 311.7 MB, free: 8.207 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/0.418, allocations: 249.5 kB / 312 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/0.4343, allocations: 6.573 MB / 318.6 MB, free: 6.246 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.4345, allocations: 31.98 kB / 318.6 MB, free: 6.238 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004298/0.435, allocations: 85.12 kB / 318.7 MB, free: 6.238 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00344/0.4384, allocations: 1.343 MB / 320 MB, free: 5.941 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/0.4556, allocations: 5.956 MB / 326 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04515/0.5008, allocations: 25.2 MB / 351.2 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/0.5127, allocations: 2.528 MB / 353.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00888/0.5216, allocations: 3.554 MB / 357.2 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.044e-05/0.5218, allocations: 43 kB / 357.3 MB, free: 6.527 MB / 282.7 MB Notification: Performance of pre-optimization done (n=105): time 4.9e-06/0.5218, allocations: 0 / 357.3 MB, free: 6.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=112): time 0.04515/0.5669, allocations: 9.855 MB / 367.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/0.5671, allocations: 137.1 kB / 367.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006835/0.5739, allocations: 2.816 MB / 370.1 MB, free: 9.488 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004932/0.5745, allocations: 45.45 kB / 370.1 MB, free: 9.441 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002331/0.5768, allocations: 2.062 MB / 372.2 MB, free: 7.395 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009083/0.5777, allocations: 461.5 kB / 372.7 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003971/0.5782, allocations: 87.59 kB / 372.7 MB, free: 6.863 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004178/0.5786, allocations: 0.4963 MB / 373.2 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00423/0.5828, allocations: 1.51 MB / 374.7 MB, free: 4.844 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007086/0.5899, allocations: 4.286 MB / 379 MB, free: 15.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00703/0.597, allocations: 2.494 MB / 381.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-05/0.5972, allocations: 28 kB / 381.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.02447/0.6217, allocations: 6.739 MB / 388.3 MB, free: 6.234 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.829e-05/0.6218, allocations: 48.25 kB / 388.3 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01098/0.6328, allocations: 2.347 MB / 390.7 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/0.643, allocations: 1.614 MB / 392.3 MB, free: 2.207 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005964/0.649, allocations: 0.9747 MB / 393.3 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01866/0.6677, allocations: 7.605 MB / 400.9 MB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00496/0.6728, allocations: 271.7 kB / 401.1 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005867/0.6734, allocations: 278 kB / 401.4 MB, free: 8.832 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): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.003471/0.6769, allocations: 1.398 MB / 402.8 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005734/0.6774, allocations: 225 kB / 403 MB, free: 7.203 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.002379/0.6798, allocations: 0.8518 MB / 403.9 MB, free: 6.348 MB / 330.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.