Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForces.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadModel(ModelicaTest): time 2.197/2.197, allocations: 235 MB / 248.1 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.792e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3178, allocations: 54.85 MB / 364.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.4697, allocations: 100.6 MB / 465.1 MB, free: 11.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.4701, allocations: 75.97 kB / 465.2 MB, free: 11.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6777/1.148, allocations: 110.8 MB / 0.5625 GB, free: 104.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.148, allocations: 0 / 0.5625 GB, free: 104.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003264/1.148, allocations: 101.9 kB / 0.5626 GB, free: 104.2 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.01663/1.165, allocations: 5.343 MB / 0.5678 GB, free: 102 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.165, allocations: 7.531 kB / 0.5679 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03721/1.202, allocations: 6.929 MB / 0.5746 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02029/1.222, allocations: 6.786 MB / 0.5812 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004635/1.223, allocations: 400.2 kB / 0.5816 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002255/1.225, allocations: 0.5332 MB / 0.5821 GB, free: 99.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03071/1.256, allocations: 12.89 MB / 0.5947 GB, free: 93.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003264/1.256, allocations: 81.8 kB / 0.5948 GB, free: 93.05 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002021/1.258, allocations: 257.5 kB / 0.5951 GB, free: 92.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002038/1.26, allocations: 1.202 MB / 0.5962 GB, free: 92.69 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02484/1.285, allocations: 10.22 MB / 0.6062 GB, free: 83.72 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06778/1.353, allocations: 58.37 MB / 0.6632 GB, free: 23.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/1.367, allocations: 4.654 MB / 0.6678 GB, free: 19.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003637/1.371, allocations: 2.213 MB / 0.6699 GB, free: 16.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/1.385, allocations: 6.854 MB / 0.6766 GB, free: 9.992 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/1.386, allocations: 51.88 kB / 0.6767 GB, free: 9.934 MB / 458.7 MB Notification: Performance of pre-optimization done (n=181): time 6.228e-06/1.386, allocations: 0 / 0.6767 GB, free: 9.934 MB / 458.7 MB Notification: Performance of matching and sorting (n=193): time 0.04747/1.433, allocations: 13.35 MB / 0.6897 GB, free: 12.49 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/1.433, allocations: 201.2 kB / 0.6899 GB, free: 12.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01314/1.446, allocations: 5.085 MB / 0.6949 GB, free: 7.191 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003814/1.447, allocations: 49.7 kB / 0.6949 GB, free: 7.137 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00426/1.451, allocations: 3.827 MB / 0.6986 GB, free: 3.316 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001191/1.452, allocations: 0.7556 MB / 0.6994 GB, free: 2.566 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007181/1.453, allocations: 140 kB / 0.6995 GB, free: 2.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008686/1.454, allocations: 0.6083 MB / 0.7001 GB, free: 1.812 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2833/1.737, allocations: 2.204 MB / 0.7023 GB, free: 109.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007739/1.745, allocations: 6.617 MB / 0.7087 GB, free: 103.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007963/1.753, allocations: 3.802 MB / 0.7124 GB, free: 103.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002396/1.753, allocations: 44.22 kB / 0.7125 GB, free: 103.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.0232/1.777, allocations: 8.773 MB / 0.721 GB, free: 102.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001792/1.777, allocations: 72.31 kB / 0.7211 GB, free: 102.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002992/1.777, allocations: 156 kB / 0.7213 GB, free: 102.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/1.779, allocations: 0.5879 MB / 0.7218 GB, free: 102.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007162/1.786, allocations: 1.617 MB / 0.7234 GB, free: 102.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007741/1.794, allocations: 5.595 MB / 0.7289 GB, free: 99.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007536/1.802, allocations: 379.9 kB / 0.7292 GB, free: 99.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/1.803, allocations: 437.2 kB / 0.7297 GB, free: 99.96 MB / 474.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.001637/1.805, allocations: 0.6488 MB / 0.7303 GB, free: 99.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009906/1.806, allocations: 490 kB / 0.7308 GB, free: 99.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006749/1.813, allocations: 2.967 MB / 0.7337 GB, free: 99.03 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-05/1.813, allocations: 26.83 kB / 0.7337 GB, free: 99.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.813, allocations: 3.781 kB / 0.7337 GB, free: 99.02 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.07e-05/1.813, allocations: 10.78 kB / 0.7337 GB, free: 99.02 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02103/1.834, allocations: 8.123 MB / 0.7416 GB, free: 96.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-05/1.834, allocations: 5.5 kB / 0.7416 GB, free: 96.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002141/1.836, allocations: 290.2 kB / 0.7419 GB, free: 96.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/1.838, allocations: 348.7 kB / 0.7422 GB, free: 95.92 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003646/1.838, allocations: 35.19 kB / 0.7423 GB, free: 95.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006281/1.844, allocations: 4.934 MB / 0.7471 GB, free: 92.28 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.844, allocations: 3.938 kB / 0.7471 GB, free: 92.28 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009894/1.854, allocations: 5.927 MB / 0.7529 GB, free: 89.54 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002509/1.857, allocations: 0.7881 MB / 0.7537 GB, free: 89.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001252/1.858, allocations: 30.75 kB / 0.7537 GB, free: 89.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003218/1.861, allocations: 93.42 kB / 0.7538 GB, free: 89.03 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005278/1.862, allocations: 120.8 kB / 0.7539 GB, free: 89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/1.862, allocations: 58.25 kB / 0.7539 GB, free: 88.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008748/1.871, allocations: 3.62 MB / 0.7575 GB, free: 87.76 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.375e-06/1.871, allocations: 0 / 0.7575 GB, free: 87.76 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008572/1.879, allocations: 1.193 MB / 0.7587 GB, free: 87.62 MB / 474.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.0006754/1.88, allocations: 181 kB / 0.7588 GB, free: 87.49 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01098/1.891, allocations: 5.535 MB / 0.7642 GB, free: 85.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.891, allocations: 3.75 kB / 0.7642 GB, free: 85.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003068/1.894, allocations: 1.651 MB / 0.7658 GB, free: 84.65 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004083/1.898, allocations: 0.6016 MB / 0.7664 GB, free: 84.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/1.922, allocations: 9.953 MB / 0.7762 GB, free: 80.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008738/1.931, allocations: 4.124 MB / 0.7802 GB, free: 77.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/1.933, allocations: 368.8 kB / 0.7805 GB, free: 77.43 MB / 474.7 MB Notification: Performance of SimCode: time 1.921e-06/1.933, allocations: 0 / 0.7805 GB, free: 77.43 MB / 474.7 MB Notification: Performance of Templates: time 0.4482/2.381, allocations: 115 MB / 0.8929 GB, free: 133.1 MB / 0.4948 GB