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.FreeBody.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.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 1.658/1.658, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.000336, allocations: 8 kB / 233.9 MB, free: 296 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07734/0.0777, allocations: 38.77 MB / 272.6 MB, free: 9.434 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2488/0.3266, allocations: 31.3 MB / 303.9 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02189/0.3485, allocations: 7.925 MB / 311.9 MB, free: 8.609 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006904/0.3555, allocations: 157.8 kB / 312 MB, free: 8.582 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005839/0.3614, allocations: 1.556 MB / 313.6 MB, free: 7.625 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01793/0.3793, allocations: 4.547 MB / 318.1 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.3824, allocations: 0.5131 MB / 318.6 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005021/0.3874, allocations: 1.971 MB / 320.6 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00713/0.3946, allocations: 3.672 MB / 324.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.3965, allocations: 0.8993 MB / 325.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/0.3985, allocations: 1.129 MB / 326.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004945/0.399, allocations: 116 kB / 326.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.4013, allocations: 0.8503 MB / 327.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001783/0.4031, allocations: 1.317 MB / 328.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009612/0.4041, allocations: 0.7221 MB / 329.3 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007387/0.4115, allocations: 4.693 MB / 334 MB, free: 4.844 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4116, allocations: 3.938 kB / 334 MB, free: 4.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4116, allocations: 0 / 334 MB, free: 4.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001338/0.4117, allocations: 0 / 334 MB, free: 4.84 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1295 * Number of variables: 1295 Notification: Performance of Generate backend data structure: time 0.01012/0.4218, allocations: 3.461 MB / 337.5 MB, free: 1.312 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.4219, allocations: 8.031 kB / 337.5 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01309/0.435, allocations: 2.148 MB / 339.6 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006296/0.4413, allocations: 2.205 MB / 341.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.4416, allocations: 201.2 kB / 342 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00145/0.4431, allocations: 367.6 kB / 342.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02213/0.4652, allocations: 8.674 MB / 351.1 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.4654, allocations: 43.59 kB / 351.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005764/0.466, allocations: 131.8 kB / 351.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004192/0.4702, allocations: 1.61 MB / 352.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02282/0.4931, allocations: 7.353 MB / 360.2 MB, free: 9.871 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06216/0.5553, allocations: 34.5 MB / 394.7 MB, free: 6.348 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01371/0.569, allocations: 3.175 MB / 397.9 MB, free: 3.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01472/0.5838, allocations: 6.042 MB / 403.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.473e-05/0.5839, allocations: 47.12 kB / 403.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 5.2e-06/0.5839, allocations: 0 / 403.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=119): time 0.04252/0.6265, allocations: 10.61 MB / 414.6 MB, free: 1.887 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.6266, allocations: 141.1 kB / 414.7 MB, free: 1.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2226/0.8492, allocations: 3.627 MB / 418.3 MB, free: 112.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000346/0.8496, allocations: 41.08 kB / 418.4 MB, free: 112.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002436/0.852, allocations: 2.759 MB / 421.1 MB, free: 110.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008208/0.8529, allocations: 0.5034 MB / 421.6 MB, free: 110.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004493/0.8534, allocations: 105.2 kB / 421.7 MB, free: 110.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000369/0.8537, allocations: 0.5287 MB / 422.3 MB, free: 110.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004624/0.8584, allocations: 1.772 MB / 424 MB, free: 109.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006694/0.8651, allocations: 5.166 MB / 429.2 MB, free: 104.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006967/0.8721, allocations: 2.955 MB / 432.1 MB, free: 103.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001364/0.8723, allocations: 34.03 kB / 432.2 MB, free: 103.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.02169/0.894, allocations: 7.537 MB / 439.7 MB, free: 100.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.8942, allocations: 57.69 kB / 439.8 MB, free: 100.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007172/0.9014, allocations: 2.253 MB / 442 MB, free: 99.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005857/0.9073, allocations: 1.263 MB / 443.3 MB, free: 99.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006452/0.9138, allocations: 1.211 MB / 444.5 MB, free: 99.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007919/0.9217, allocations: 5.057 MB / 449.6 MB, free: 95.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00557/0.9273, allocations: 319 kB / 449.9 MB, free: 95.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006245/0.928, allocations: 331.6 kB / 450.2 MB, free: 95.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 33 (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 (650): * Single equations (assignments): 643 * 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.003402/0.9314, allocations: 1.829 MB / 452 MB, free: 93.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006885/0.9321, allocations: 292.2 kB / 452.3 MB, free: 93.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007101/0.9392, allocations: 2.39 MB / 454.7 MB, free: 91.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/0.9393, allocations: 7.984 kB / 454.7 MB, free: 91.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.9393, allocations: 0 / 454.7 MB, free: 91.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009271/0.9402, allocations: 361.1 kB / 455.1 MB, free: 90.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006533/0.9409, allocations: 31.98 kB / 455.1 MB, free: 90.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/0.943, allocations: 95.23 kB / 455.2 MB, free: 90.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/0.9433, allocations: 83.95 kB / 455.3 MB, free: 90.59 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008639/0.9519, allocations: 3.05 MB / 458.3 MB, free: 87.54 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006246/0.9582, allocations: 3.712 MB / 462 MB, free: 83.8 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001717/0.96, allocations: 0.9568 MB / 463 MB, free: 82.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004004/0.964, allocations: 2.268 MB / 465.3 MB, free: 80.59 MB / 346.7 MB Notification: Performance of Backend: time 8.82e-07/0.964, allocations: 0 / 465.3 MB, free: 80.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01301/0.977, allocations: 4.201 MB / 469.5 MB, free: 76.37 MB / 346.7 MB Notification: Performance of SimCode: time 0.02086/0.998, allocations: 9.634 MB / 479.1 MB, free: 66.69 MB / 346.7 MB Notification: Performance of Templates: time 0.09476/1.093, allocations: 36.46 MB / 0.5035 GB, free: 30.31 MB / 346.7 MB