Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForces.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadModel(ModelicaTest): time 1.816/1.816, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009124/0.0009125, allocations: 12 kB / 282.5 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3031, allocations: 48.7 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.07668/0.3798, allocations: 59.98 MB / 391.2 MB, free: 2.438 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03473/0.4146, allocations: 13.9 MB / 405.1 MB, free: 4.496 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01189/0.4265, allocations: 295.3 kB / 405.3 MB, free: 4.207 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009462/0.436, allocations: 3.076 MB / 408.4 MB, free: 1.117 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02899/0.465, allocations: 8.708 MB / 417.1 MB, free: 8.387 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004149/0.4692, allocations: 0.8035 MB / 417.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.03796/0.5072, allocations: 17.9 MB / 435.8 MB, free: 5.656 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00959/0.5169, allocations: 5.478 MB / 441.3 MB, free: 108 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.5193, allocations: 1.37 MB / 442.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/0.5223, allocations: 1.838 MB / 444.5 MB, free: 12.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000638/0.523, allocations: 184 kB / 444.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002543/0.5256, allocations: 1.12 MB / 445.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002654/0.5282, allocations: 2.135 MB / 448 MB, free: 9.445 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.5296, allocations: 1.084 MB / 449 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.5398, allocations: 7.334 MB / 456.4 MB, free: 1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.575e-06/0.5398, allocations: 0 / 456.4 MB, free: 1 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5399, allocations: 3.938 kB / 456.4 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001319/0.54, allocations: 0 / 456.4 MB, free: 0.9961 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.01512/0.5551, allocations: 5.703 MB / 462.1 MB, free: 11.22 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.5552, allocations: 12.03 kB / 462.1 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05273/0.6079, allocations: 8.079 MB / 470.2 MB, free: 3.109 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2356/0.8436, allocations: 4.24 MB / 474.4 MB, free: 118.1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003147/0.844, allocations: 298.1 kB / 474.7 MB, free: 118 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/0.8452, allocations: 398.7 kB / 475.1 MB, free: 117.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02554/0.8708, allocations: 12.65 MB / 487.7 MB, free: 111.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001927/0.871, allocations: 60.27 kB / 487.8 MB, free: 111.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007181/0.8718, allocations: 189 kB / 488 MB, free: 111.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003909/0.8757, allocations: 2.292 MB / 490.3 MB, free: 111 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02532/0.901, allocations: 10.37 MB / 0.4889 GB, free: 103.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06039/0.9615, allocations: 48.42 MB / 0.5362 GB, free: 54.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/0.9751, allocations: 4.674 MB / 0.5408 GB, free: 49.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01315/0.9883, allocations: 6.976 MB / 0.5476 GB, free: 42.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.9884, allocations: 55.88 kB / 0.5476 GB, free: 42.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=181): time 5.906e-06/0.9884, allocations: 0 / 0.5476 GB, free: 42.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=193): time 0.05103/1.039, allocations: 16.44 MB / 0.5637 GB, free: 25.58 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/1.04, allocations: 213.1 kB / 0.5639 GB, free: 25.33 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009873/1.049, allocations: 6.045 MB / 0.5698 GB, free: 19.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003475/1.05, allocations: 53.7 kB / 0.5698 GB, free: 19.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002572/1.052, allocations: 3.788 MB / 0.5735 GB, free: 15.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000861/1.053, allocations: 0.7594 MB / 0.5743 GB, free: 14.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004419/1.054, allocations: 140 kB / 0.5744 GB, free: 14.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000371/1.054, allocations: 0.6084 MB / 0.575 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004454/1.059, allocations: 2.352 MB / 0.5773 GB, free: 11.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006804/1.065, allocations: 6.753 MB / 0.5839 GB, free: 2.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007409/1.073, allocations: 3.892 MB / 0.5877 GB, free: 14.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001328/1.073, allocations: 44 kB / 0.5877 GB, free: 14.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=923) (initialization): time 0.0233/1.096, allocations: 9.127 MB / 0.5967 GB, free: 5.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/1.097, allocations: 72 kB / 0.5967 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002321/1.097, allocations: 156 kB / 0.5969 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002493/1.099, allocations: 0.7369 MB / 0.5976 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006981/1.106, allocations: 1.641 MB / 0.5992 GB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/1.117, allocations: 6.437 MB / 0.6055 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00673/1.124, allocations: 391.4 kB / 0.6059 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/1.125, allocations: 443.9 kB / 0.6063 GB, free: 11.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 709 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (863): * Single equations (assignments): 856 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006078/1.131, allocations: 2.607 MB / 0.6088 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/1.133, allocations: 489.7 kB / 0.6093 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008071/1.141, allocations: 3.229 MB / 0.6124 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.619e-05/1.141, allocations: 20 kB / 0.6125 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/1.141, allocations: 8 kB / 0.6125 GB, free: 5.094 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-05/1.141, allocations: 15.89 kB / 0.6125 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2573/1.398, allocations: 8.558 MB / 0.6208 GB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/1.398, allocations: 2.812 kB / 0.6208 GB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002567/1.401, allocations: 371.5 kB / 0.6212 GB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/1.403, allocations: 490.2 kB / 0.6217 GB, free: 128.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002999/1.403, allocations: 34.89 kB / 0.6217 GB, free: 128.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008302/1.412, allocations: 5.798 MB / 0.6274 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.592e-06/1.412, allocations: 7.531 kB / 0.6274 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/1.423, allocations: 5.814 MB / 0.633 GB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002382/1.426, allocations: 0.821 MB / 0.6339 GB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008985/1.427, allocations: 31.45 kB / 0.6339 GB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0025/1.429, allocations: 107.1 kB / 0.634 GB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004395/1.43, allocations: 103.5 kB / 0.6341 GB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/1.43, allocations: 60.14 kB / 0.6341 GB, free: 122.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008099/1.438, allocations: 3.912 MB / 0.638 GB, free: 120.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.692e-06/1.438, allocations: 0 / 0.638 GB, free: 120.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007224/1.445, allocations: 1.231 MB / 0.6392 GB, free: 120.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000662/1.446, allocations: 177.1 kB / 0.6393 GB, free: 120.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01101/1.457, allocations: 5.758 MB / 0.645 GB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.516e-06/1.457, allocations: 8.094 kB / 0.645 GB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003355/1.46, allocations: 1.747 MB / 0.6467 GB, free: 117.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00368/1.464, allocations: 0.5922 MB / 0.6472 GB, free: 117.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02476/1.489, allocations: 14.08 MB / 0.661 GB, free: 108.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007094/1.496, allocations: 4.132 MB / 0.665 GB, free: 104.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/1.498, allocations: 375.4 kB / 0.6654 GB, free: 103.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.713e-06/1.498, allocations: 0 / 0.6654 GB, free: 103.8 MB / 426.7 MB Notification: Performance of Templates: time 0.3905/1.888, allocations: 115.8 MB / 0.7784 GB, free: 141.3 MB / 442.7 MB