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.ForceAndTorque.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.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadModel(Modelica): time 1.892/1.892, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003338, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09003/0.09038, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.07444/0.1649, allocations: 47.5 MB / 356.6 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03039/0.1953, allocations: 11.28 MB / 367.9 MB, free: 5.414 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008754/0.2041, allocations: 231.4 kB / 368.1 MB, free: 5.188 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008126/0.2123, allocations: 2.403 MB / 370.5 MB, free: 2.773 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.287/0.4993, allocations: 6.893 MB / 377.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003899/0.5032, allocations: 0.6325 MB / 378 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02697/0.5303, allocations: 9.899 MB / 387.9 MB, free: 9.074 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008778/0.5391, allocations: 5.062 MB / 393 MB, free: 8.574 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.5413, allocations: 1.141 MB / 394.1 MB, free: 8.547 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00244/0.5438, allocations: 1.489 MB / 395.6 MB, free: 8.223 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000682/0.5445, allocations: 161.4 kB / 395.8 MB, free: 8.223 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.5469, allocations: 0.9864 MB / 396.7 MB, free: 8 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001983/0.5489, allocations: 1.791 MB / 398.5 MB, free: 7.637 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.5501, allocations: 0.9459 MB / 399.5 MB, free: 7.605 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008254/0.5583, allocations: 6.409 MB / 405.9 MB, free: 4.156 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5584, allocations: 0 / 405.9 MB, free: 4.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5584, allocations: 0 / 405.9 MB, free: 4.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002251/0.5586, allocations: 0 / 405.9 MB, free: 4.156 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1734 * Number of variables: 1734 Notification: Performance of Generate backend data structure: time 0.01538/0.574, allocations: 4.879 MB / 410.8 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.5741, allocations: 8.031 kB / 410.8 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04955/0.6237, allocations: 5.127 MB / 415.9 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.6339, allocations: 3.083 MB / 419 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/0.6342, allocations: 269.5 kB / 419.2 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001839/0.6361, allocations: 348.1 kB / 419.6 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03261/0.6687, allocations: 11.75 MB / 431.3 MB, free: 404 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001696/0.6689, allocations: 45.66 kB / 431.4 MB, free: 384 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008323/0.6698, allocations: 168.2 kB / 431.6 MB, free: 332 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005793/0.6756, allocations: 2.225 MB / 433.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03195/0.7076, allocations: 9.978 MB / 443.8 MB, free: 7.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0865/0.7941, allocations: 44.32 MB / 488.1 MB, free: 32 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02393/0.8181, allocations: 5.407 MB / 493.5 MB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02196/0.8401, allocations: 8.049 MB / 0.4898 GB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.551e-05/0.8402, allocations: 58.59 kB / 0.4898 GB, free: 2.258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=216): time 7.134e-06/0.8403, allocations: 4 kB / 0.4898 GB, free: 2.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=237): time 0.09349/0.9338, allocations: 20.7 MB / 0.51 GB, free: 13.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.9339, allocations: 176.2 kB / 0.5102 GB, free: 13.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/0.9448, allocations: 4.84 MB / 0.5149 GB, free: 8.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006819/0.9455, allocations: 61.7 kB / 0.515 GB, free: 8.273 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003964/0.9495, allocations: 3.399 MB / 0.5183 GB, free: 4.891 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001719/0.9513, allocations: 0.8963 MB / 0.5192 GB, free: 4.004 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007512/0.952, allocations: 128 kB / 0.5193 GB, free: 3.879 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005637/0.9526, allocations: 0.5871 MB / 0.5199 GB, free: 3.285 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00727/0.9599, allocations: 2.562 MB / 0.5224 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2641/1.224, allocations: 6.425 MB / 0.5287 GB, free: 151.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00977/1.234, allocations: 3.996 MB / 0.5326 GB, free: 150.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002101/1.234, allocations: 38.72 kB / 0.5326 GB, free: 150.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=871) (initialization): time 0.02806/1.262, allocations: 9.605 MB / 0.542 GB, free: 147 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/1.262, allocations: 66.64 kB / 0.5421 GB, free: 147 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002318/1.263, allocations: 134.8 kB / 0.5422 GB, free: 147 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004036/1.267, allocations: 0.9725 MB / 0.5431 GB, free: 146.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009694/1.276, allocations: 1.574 MB / 0.5447 GB, free: 146.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/1.288, allocations: 6.252 MB / 0.5508 GB, free: 143.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007383/1.296, allocations: 373.1 kB / 0.5511 GB, free: 143.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001413/1.297, allocations: 407.9 kB / 0.5515 GB, free: 143.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 39 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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 (813): * Single equations (assignments): 807 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00587/1.303, allocations: 2.368 MB / 0.5538 GB, free: 142.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/1.304, allocations: 417.8 kB / 0.5542 GB, free: 142.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/1.316, allocations: 4.386 MB / 0.5585 GB, free: 139.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.713e-05/1.316, allocations: 15.25 kB / 0.5585 GB, free: 139.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/1.316, allocations: 0 / 0.5585 GB, free: 139.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00283/1.319, allocations: 0.8331 MB / 0.5593 GB, free: 139.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001182/1.32, allocations: 40.83 kB / 0.5594 GB, free: 139.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003254/1.323, allocations: 137.9 kB / 0.5595 GB, free: 139.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005463/1.324, allocations: 142.9 kB / 0.5596 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0143/1.338, allocations: 4.943 MB / 0.5645 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01358/1.352, allocations: 6.883 MB / 0.5712 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00376/1.356, allocations: 1.851 MB / 0.573 GB, free: 125.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006133/1.362, allocations: 3.076 MB / 0.576 GB, free: 122.8 MB / 426.7 MB Notification: Performance of Backend: time 1.022e-06/1.362, allocations: 0 / 0.576 GB, free: 122.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01288/1.375, allocations: 4.791 MB / 0.5807 GB, free: 118 MB / 426.7 MB Notification: Performance of SimCode: time 0.02446/1.399, allocations: 12.3 MB / 0.5927 GB, free: 105.7 MB / 426.7 MB Notification: Performance of Templates: time 0.1374/1.537, allocations: 53.13 MB / 0.6446 GB, free: 52.61 MB / 426.7 MB