Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadModel(Modelica): time 1.688/1.688, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07774/0.07812, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.02245/0.1006, allocations: 14.53 MB / 287.2 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.1125, allocations: 4.539 MB / 291.7 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.1149, allocations: 67.81 kB / 291.8 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.1173, allocations: 0.6921 MB / 292.5 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008383/0.1257, allocations: 2.283 MB / 294.7 MB, free: 5.352 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.1274, allocations: 379.3 kB / 295.1 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003621/0.1311, allocations: 1.478 MB / 296.6 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003599/0.1347, allocations: 1.842 MB / 298.4 MB, free: 1.613 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.1359, allocations: 0.6112 MB / 299 MB, free: 1 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.1375, allocations: 0.8683 MB / 299.9 MB, free: 132 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004088/0.1379, allocations: 84 kB / 300 MB, free: 48 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2142/0.3521, allocations: 0.8173 MB / 300.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00178/0.354, allocations: 0.9184 MB / 301.7 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.3552, allocations: 0.5089 MB / 302.2 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006278/0.3615, allocations: 3.238 MB / 305.5 MB, free: 10.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3616, allocations: 0 / 305.5 MB, free: 10.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.3616, allocations: 0 / 305.5 MB, free: 10.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001768/0.3618, allocations: 0 / 305.5 MB, free: 10.5 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.009145/0.3709, allocations: 2.54 MB / 308 MB, free: 9.234 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.371, allocations: 8.812 kB / 308 MB, free: 9.234 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01326/0.3843, allocations: 2.054 MB / 310.1 MB, free: 9.062 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004894/0.3892, allocations: 1.589 MB / 311.7 MB, free: 8.688 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.3894, allocations: 128.6 kB / 311.8 MB, free: 8.684 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001588/0.391, allocations: 252.4 kB / 312 MB, free: 8.664 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/0.4076, allocations: 6.56 MB / 318.6 MB, free: 6.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/0.4077, allocations: 35.27 kB / 318.6 MB, free: 6.422 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004198/0.4082, allocations: 83.95 kB / 318.7 MB, free: 6.422 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003378/0.4116, allocations: 1.344 MB / 320.1 MB, free: 6.125 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01709/0.4287, allocations: 5.956 MB / 326 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04657/0.4753, allocations: 25.2 MB / 351.2 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/0.4871, allocations: 2.545 MB / 353.8 MB, free: 9.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009451/0.4965, allocations: 3.543 MB / 357.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/0.4967, allocations: 46.56 kB / 357.4 MB, free: 5.953 MB / 282.7 MB Notification: Performance of pre-optimization done (n=105): time 5.48e-06/0.4967, allocations: 0 / 357.4 MB, free: 5.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=112): time 0.05363/0.5503, allocations: 9.856 MB / 367.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.878e-05/0.5504, allocations: 137.1 kB / 367.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006579/0.557, allocations: 2.816 MB / 370.2 MB, free: 8.914 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003882/0.5575, allocations: 44.44 kB / 370.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002379/0.5599, allocations: 2.064 MB / 372.3 MB, free: 6.816 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009351/0.5609, allocations: 464.5 kB / 372.7 MB, free: 6.367 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000539/0.5614, allocations: 84 kB / 372.8 MB, free: 6.285 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004261/0.5619, allocations: 499.7 kB / 373.3 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004662/0.5665, allocations: 1.512 MB / 374.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007393/0.574, allocations: 4.272 MB / 379.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006625/0.5806, allocations: 2.483 MB / 381.6 MB, free: 12.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.569e-05/0.5808, allocations: 32 kB / 381.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.02414/0.6049, allocations: 6.803 MB / 388.4 MB, free: 5.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.6051, allocations: 48.19 kB / 388.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01072/0.6158, allocations: 2.351 MB / 390.8 MB, free: 3.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009654/0.6255, allocations: 1.61 MB / 392.4 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005795/0.6314, allocations: 0.9786 MB / 393.4 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01802/0.6495, allocations: 7.615 MB / 401 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004906/0.6544, allocations: 263.7 kB / 401.3 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/0.6555, allocations: 276 kB / 401.5 MB, free: 8.18 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.00394/0.6595, allocations: 1.393 MB / 402.9 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006675/0.6601, allocations: 229 kB / 403.1 MB, free: 6.551 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.002626/0.6628, allocations: 0.8439 MB / 404 MB, free: 5.703 MB / 330.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.