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.946/1.946, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.839e-05/2.858e-05, allocations: 4 kB / 277.8 MB, free: 15.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08592/0.08597, allocations: 48.71 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3508/0.4368, allocations: 93.77 MB / 420.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.4371, allocations: 74.02 kB / 420.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4227/0.8599, allocations: 110.7 MB / 0.5187 GB, free: 6.047 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.621e-06/0.8599, allocations: 0 / 0.5187 GB, free: 6.047 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003217/0.8602, allocations: 100 kB / 0.5188 GB, free: 5.949 MB / 426.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.01734/0.8776, allocations: 5.337 MB / 0.524 GB, free: 0.543 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.8777, allocations: 8.031 kB / 0.524 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2752/1.153, allocations: 6.919 MB / 0.5308 GB, free: 80.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02118/1.174, allocations: 6.793 MB / 0.5374 GB, free: 80.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005176/1.175, allocations: 402.6 kB / 0.5378 GB, free: 80.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002208/1.177, allocations: 0.5219 MB / 0.5383 GB, free: 80.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03006/1.207, allocations: 12.89 MB / 0.5509 GB, free: 77.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002835/1.207, allocations: 69.44 kB / 0.5509 GB, free: 77.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001717/1.209, allocations: 259.9 kB / 0.5512 GB, free: 77.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002011/1.211, allocations: 1.209 MB / 0.5524 GB, free: 77.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02518/1.236, allocations: 10.22 MB / 0.5623 GB, free: 77.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06875/1.305, allocations: 58.35 MB / 0.6193 GB, free: 35.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01503/1.32, allocations: 4.64 MB / 0.6238 GB, free: 34.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003685/1.324, allocations: 2.216 MB / 0.626 GB, free: 33.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01423/1.338, allocations: 6.87 MB / 0.6327 GB, free: 29.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/1.338, allocations: 51.28 kB / 0.6328 GB, free: 29.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=181): time 6.492e-06/1.338, allocations: 0 / 0.6328 GB, free: 29.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.04939/1.388, allocations: 13.35 MB / 0.6458 GB, free: 20.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.688e-05/1.388, allocations: 201.2 kB / 0.646 GB, free: 20.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01073/1.399, allocations: 5.087 MB / 0.651 GB, free: 15.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003495/1.399, allocations: 53.64 kB / 0.651 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002851/1.402, allocations: 3.826 MB / 0.6548 GB, free: 12.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009287/1.403, allocations: 0.7614 MB / 0.6555 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006495/1.403, allocations: 136 kB / 0.6556 GB, free: 11.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005118/1.404, allocations: 0.6109 MB / 0.6562 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004401/1.408, allocations: 2.21 MB / 0.6584 GB, free: 9.051 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007013/1.415, allocations: 6.614 MB / 0.6648 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/1.426, allocations: 3.935 MB / 0.6687 GB, free: 13.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/1.426, allocations: 44 kB / 0.6687 GB, free: 13.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02208/1.448, allocations: 8.775 MB / 0.6773 GB, free: 5.945 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/1.448, allocations: 75.95 kB / 0.6774 GB, free: 5.871 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002195/1.449, allocations: 156 kB / 0.6775 GB, free: 5.719 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001882/1.45, allocations: 0.5882 MB / 0.6781 GB, free: 5.215 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007119/1.458, allocations: 1.616 MB / 0.6797 GB, free: 3.797 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2614/1.719, allocations: 5.622 MB / 0.6852 GB, free: 81.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007251/1.726, allocations: 380.6 kB / 0.6855 GB, free: 81.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/1.728, allocations: 439.1 kB / 0.6859 GB, free: 81.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (868): * Single equations (assignments): 863 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001286/1.729, allocations: 0.6518 MB / 0.6866 GB, free: 81.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009355/1.73, allocations: 486.1 kB / 0.687 GB, free: 81.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006418/1.737, allocations: 2.973 MB / 0.6899 GB, free: 81.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.18e-05/1.737, allocations: 22.25 kB / 0.69 GB, free: 81.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/1.737, allocations: 7.812 kB / 0.69 GB, free: 81.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/1.737, allocations: 7.125 kB / 0.69 GB, free: 81.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/1.756, allocations: 8.12 MB / 0.6979 GB, free: 80.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.756, allocations: 3.5 kB / 0.6979 GB, free: 80.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/1.758, allocations: 295.2 kB / 0.6982 GB, free: 80.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/1.76, allocations: 342.2 kB / 0.6985 GB, free: 80.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/1.76, allocations: 34.97 kB / 0.6986 GB, free: 80.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006753/1.767, allocations: 4.949 MB / 0.7034 GB, free: 77.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-06/1.767, allocations: 3.594 kB / 0.7034 GB, free: 77.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/1.778, allocations: 5.913 MB / 0.7092 GB, free: 76.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002495/1.78, allocations: 0.7947 MB / 0.7099 GB, free: 76.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/1.781, allocations: 35.36 kB / 0.71 GB, free: 76.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002865/1.784, allocations: 91.8 kB / 0.7101 GB, free: 76.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003821/1.785, allocations: 116.3 kB / 0.7102 GB, free: 76.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/1.785, allocations: 58.7 kB / 0.7102 GB, free: 76.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007956/1.793, allocations: 3.63 MB / 0.7138 GB, free: 76.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.14e-06/1.793, allocations: 0 / 0.7138 GB, free: 76.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008/1.801, allocations: 1.199 MB / 0.7149 GB, free: 76.4 MB / 442.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 () * 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.0005699/1.801, allocations: 172.8 kB / 0.7151 GB, free: 76.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01019/1.812, allocations: 5.532 MB / 0.7205 GB, free: 76.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.101e-06/1.812, allocations: 0 / 0.7205 GB, free: 76.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002882/1.815, allocations: 1.66 MB / 0.7221 GB, free: 75.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003813/1.818, allocations: 0.5947 MB / 0.7227 GB, free: 75.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02121/1.84, allocations: 9.95 MB / 0.7324 GB, free: 73.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007277/1.847, allocations: 4.133 MB / 0.7365 GB, free: 71.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/1.849, allocations: 371.2 kB / 0.7368 GB, free: 71.95 MB / 442.7 MB Notification: Performance of SimCode: time 1.883e-06/1.849, allocations: 0 / 0.7368 GB, free: 71.95 MB / 442.7 MB Notification: Performance of Templates: time 0.4178/2.266, allocations: 115 MB / 0.8491 GB, free: 99.3 MB / 458.7 MB