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.FrameForcesAndTorques.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 1.802/1.802, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.788e-05/2.802e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08456/0.08461, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3976/0.4823, allocations: 96.04 MB / 422.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.4826, allocations: 76.7 kB / 422.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7902/1.273, allocations: 138.3 MB / 0.5478 GB, free: 75.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.714e-06/1.273, allocations: 0 / 0.5478 GB, free: 75.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004076/1.273, allocations: 136.7 kB / 0.5479 GB, free: 75.29 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: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.0225/1.296, allocations: 6.784 MB / 0.5545 GB, free: 72.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/1.296, allocations: 7.688 kB / 0.5545 GB, free: 72.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03803/1.334, allocations: 7.179 MB / 0.5615 GB, free: 72.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03235/1.366, allocations: 7.544 MB / 0.5689 GB, free: 71.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008816/1.367, allocations: 0.5128 MB / 0.5694 GB, free: 71.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004374/1.372, allocations: 0.6892 MB / 0.5701 GB, free: 71.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06418/1.436, allocations: 17.1 MB / 0.5868 GB, free: 67.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004166/1.436, allocations: 85.19 kB / 0.5869 GB, free: 67.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002714/1.439, allocations: 331.1 kB / 0.5872 GB, free: 67.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002892/1.442, allocations: 1.619 MB / 0.5888 GB, free: 67.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03547/1.478, allocations: 14.14 MB / 0.6026 GB, free: 64.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.104/1.582, allocations: 72.24 MB / 0.6731 GB, free: 188 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02901/1.611, allocations: 7.137 MB / 0.6801 GB, free: 9.609 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007437/1.618, allocations: 3.927 MB / 0.6839 GB, free: 5.676 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3603/1.978, allocations: 9.472 MB / 0.6932 GB, free: 84.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/1.979, allocations: 64.69 kB / 0.6932 GB, free: 84.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=297): time 7.356e-06/1.979, allocations: 0 / 0.6932 GB, free: 84.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=339): time 0.0942/2.073, allocations: 27.69 MB / 0.7203 GB, free: 79.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/2.073, allocations: 244.2 kB / 0.7205 GB, free: 79.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01256/2.086, allocations: 5.885 MB / 0.7263 GB, free: 78.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007722/2.086, allocations: 78.27 kB / 0.7263 GB, free: 78.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00366/2.09, allocations: 4.566 MB / 0.7308 GB, free: 76.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001754/2.092, allocations: 1.268 MB / 0.732 GB, free: 75.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/2.093, allocations: 182.9 kB / 0.7322 GB, free: 75.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007331/2.094, allocations: 0.6905 MB / 0.7329 GB, free: 75.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008244/2.102, allocations: 3.649 MB / 0.7364 GB, free: 75.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01068/2.113, allocations: 8.677 MB / 0.7449 GB, free: 68.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/2.124, allocations: 5.567 MB / 0.7503 GB, free: 67.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001497/2.124, allocations: 51.59 kB / 0.7504 GB, free: 67.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03118/2.155, allocations: 13.41 MB / 0.7635 GB, free: 63.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/2.155, allocations: 82.12 kB / 0.7636 GB, free: 63.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002002/2.155, allocations: 175.2 kB / 0.7637 GB, free: 63.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005521/2.161, allocations: 1.702 MB / 0.7654 GB, free: 63.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01064/2.172, allocations: 2.113 MB / 0.7675 GB, free: 62.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/2.19, allocations: 11.38 MB / 0.7786 GB, free: 56.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0105/2.2, allocations: 0.5225 MB / 0.7791 GB, free: 56.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001936/2.202, allocations: 0.5231 MB / 0.7796 GB, free: 56.58 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 806 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1089): * Single equations (assignments): 1084 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002288/2.205, allocations: 0.7773 MB / 0.7804 GB, free: 55.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001395/2.206, allocations: 0.5879 MB / 0.7809 GB, free: 55.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/2.223, allocations: 7.438 MB / 0.7882 GB, free: 50.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.17e-05/2.223, allocations: 38.38 kB / 0.7882 GB, free: 50.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.963e-05/2.223, allocations: 12 kB / 0.7883 GB, free: 50.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.216e-05/2.223, allocations: 15.38 kB / 0.7883 GB, free: 50.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03692/2.26, allocations: 15.99 MB / 0.8039 GB, free: 37.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-05/2.26, allocations: 4 kB / 0.8039 GB, free: 37.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004227/2.264, allocations: 0.6271 MB / 0.8045 GB, free: 36.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004693/2.269, allocations: 1.419 MB / 0.8059 GB, free: 35.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007506/2.27, allocations: 65.48 kB / 0.806 GB, free: 35.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01641/2.286, allocations: 10.6 MB / 0.8163 GB, free: 26.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.816e-06/2.286, allocations: 11.94 kB / 0.8163 GB, free: 26.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02233/2.309, allocations: 12.58 MB / 0.8286 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003826/2.312, allocations: 1.207 MB / 0.8298 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001995/2.314, allocations: 59.75 kB / 0.8298 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004761/2.319, allocations: 227.1 kB / 0.83 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/2.32, allocations: 204.9 kB / 0.8302 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003672/2.321, allocations: 89.47 kB / 0.8303 GB, free: 13.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009607/2.33, allocations: 4.222 MB / 0.8345 GB, free: 9.703 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.171e-06/2.33, allocations: 0 / 0.8345 GB, free: 9.703 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01047/2.341, allocations: 1.698 MB / 0.8361 GB, free: 8.012 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 274 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/2.342, allocations: 219.3 kB / 0.8363 GB, free: 7.805 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0178/2.36, allocations: 9.037 MB / 0.8451 GB, free: 15.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/2.36, allocations: 8.188 kB / 0.8452 GB, free: 15.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008985/2.369, allocations: 3.656 MB / 0.8487 GB, free: 12.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005347/2.374, allocations: 0.7126 MB / 0.8494 GB, free: 11.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2989/2.673, allocations: 14.48 MB / 0.8636 GB, free: 90.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01364/2.687, allocations: 5.18 MB / 0.8686 GB, free: 89.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00302/2.69, allocations: 480.6 kB / 0.8691 GB, free: 89.64 MB / 458.7 MB Notification: Performance of SimCode: time 2.182e-06/2.69, allocations: 2.906 kB / 0.8691 GB, free: 89.64 MB / 458.7 MB Notification: Performance of Templates: time 0.2249/2.915, allocations: 152.1 MB / 1.018 GB, free: 7.543 MB / 474.7 MB