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.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.25/2.25, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.434e-05/5.455e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3635, allocations: 54.85 MB / 364.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.5177, allocations: 101.3 MB / 465.8 MB, free: 11.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.518, allocations: 76.81 kB / 465.9 MB, free: 11.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7421/1.26, allocations: 133 MB / 0.5849 GB, free: 100.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.522e-06/1.26, allocations: 0 / 0.5849 GB, free: 100.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003247/1.26, allocations: 127.7 kB / 0.585 GB, free: 100.9 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: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.02073/1.281, allocations: 6.429 MB / 0.5913 GB, free: 97.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.281, allocations: 7.719 kB / 0.5913 GB, free: 97.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03781/1.319, allocations: 7.136 MB / 0.5982 GB, free: 93.67 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02011/1.339, allocations: 7.247 MB / 0.6053 GB, free: 87.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005051/1.34, allocations: 0.5037 MB / 0.6058 GB, free: 87.37 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002687/1.343, allocations: 0.6677 MB / 0.6064 GB, free: 86.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04008/1.383, allocations: 16.61 MB / 0.6227 GB, free: 68.74 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003901/1.383, allocations: 83.19 kB / 0.6227 GB, free: 68.66 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002705/1.386, allocations: 323.8 kB / 0.6231 GB, free: 68.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002663/1.388, allocations: 1.562 MB / 0.6246 GB, free: 66.78 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03307/1.422, allocations: 13.77 MB / 0.638 GB, free: 53 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3766/1.798, allocations: 70.13 MB / 0.7065 GB, free: 95.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02593/1.824, allocations: 7.837 MB / 0.7142 GB, free: 94.62 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006838/1.831, allocations: 3.881 MB / 0.718 GB, free: 94.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/1.831, allocations: 59.11 kB / 0.718 GB, free: 94.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/1.831, allocations: 67.12 kB / 0.7181 GB, free: 94.55 MB / 474.7 MB Notification: Performance of pre-optimization done (n=290): time 9.095e-06/1.831, allocations: 0 / 0.7181 GB, free: 94.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=332): time 0.101/1.932, allocations: 28.25 MB / 0.7457 GB, free: 90.79 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/1.933, allocations: 216.9 kB / 0.7459 GB, free: 90.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01217/1.945, allocations: 5.572 MB / 0.7513 GB, free: 89.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007522/1.946, allocations: 71.33 kB / 0.7514 GB, free: 89.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003212/1.949, allocations: 4.376 MB / 0.7557 GB, free: 86.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001685/1.951, allocations: 1.243 MB / 0.7569 GB, free: 85.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000984/1.952, allocations: 169.9 kB / 0.757 GB, free: 85.17 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006585/1.952, allocations: 0.6785 MB / 0.7577 GB, free: 84.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007732/1.96, allocations: 3.709 MB / 0.7613 GB, free: 83.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01048/1.97, allocations: 8.518 MB / 0.7696 GB, free: 75.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/1.981, allocations: 5.553 MB / 0.7751 GB, free: 74.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001427/1.982, allocations: 50.09 kB / 0.7751 GB, free: 74.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.03098/2.013, allocations: 13.35 MB / 0.7881 GB, free: 68.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/2.013, allocations: 80 kB / 0.7882 GB, free: 68.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001994/2.013, allocations: 168.6 kB / 0.7884 GB, free: 68.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005257/2.018, allocations: 1.678 MB / 0.79 GB, free: 66.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009496/2.028, allocations: 2.092 MB / 0.7921 GB, free: 65.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/2.045, allocations: 11.36 MB / 0.8032 GB, free: 54.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01022/2.055, allocations: 0.5323 MB / 0.8037 GB, free: 54.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001907/2.057, allocations: 0.5001 MB / 0.8042 GB, free: 54.05 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 51 (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 (1047): * Single equations (assignments): 1042 * 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.002789/2.06, allocations: 0.7497 MB / 0.8049 GB, free: 53.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001603/2.062, allocations: 0.5515 MB / 0.8054 GB, free: 52.74 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01742/2.079, allocations: 7.423 MB / 0.8127 GB, free: 46.67 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-05/2.079, allocations: 39.94 kB / 0.8127 GB, free: 46.63 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.918e-05/2.079, allocations: 10.52 kB / 0.8127 GB, free: 46.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.531e-05/2.079, allocations: 21.3 kB / 0.8128 GB, free: 46.62 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03987/2.119, allocations: 16.26 MB / 0.8286 GB, free: 32.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.585e-05/2.119, allocations: 4.375 kB / 0.8286 GB, free: 32.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004512/2.124, allocations: 0.6513 MB / 0.8293 GB, free: 32.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004752/2.129, allocations: 1.415 MB / 0.8307 GB, free: 30.79 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008889/2.13, allocations: 61.3 kB / 0.8307 GB, free: 30.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01684/2.147, allocations: 10.59 MB / 0.8411 GB, free: 19.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.392e-06/2.147, allocations: 7.938 kB / 0.8411 GB, free: 19.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02364/2.17, allocations: 12.7 MB / 0.8535 GB, free: 6.902 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004057/2.174, allocations: 1.197 MB / 0.8546 GB, free: 5.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002093/2.176, allocations: 66.19 kB / 0.8547 GB, free: 5.617 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004854/2.181, allocations: 271.6 kB / 0.855 GB, free: 5.352 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/2.182, allocations: 201.8 kB / 0.8552 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006238/2.183, allocations: 91.38 kB / 0.8552 GB, free: 5.066 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009241/2.192, allocations: 3.944 MB / 0.8591 GB, free: 1.121 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.234e-06/2.192, allocations: 0 / 0.8591 GB, free: 1.121 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01039/2.203, allocations: 1.673 MB / 0.8607 GB, free: 15.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (278): * Single equations (assignments): 273 * 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.001093/2.204, allocations: 206.1 kB / 0.8609 GB, free: 15.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02102/2.225, allocations: 9.179 MB / 0.8699 GB, free: 6.062 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.932e-06/2.225, allocations: 0 / 0.8699 GB, free: 6.062 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009569/2.235, allocations: 3.809 MB / 0.8736 GB, free: 2.223 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004881/2.24, allocations: 0.6649 MB / 0.8743 GB, free: 1.578 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3314/2.571, allocations: 14.15 MB / 0.8881 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0118/2.583, allocations: 4.989 MB / 0.893 GB, free: 127 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002935/2.586, allocations: 460.3 kB / 0.8934 GB, free: 127 MB / 0.4948 GB Notification: Performance of SimCode: time 1.795e-06/2.586, allocations: 3.031 kB / 0.8934 GB, free: 127 MB / 0.4948 GB Notification: Performance of Templates: time 0.2083/2.794, allocations: 147.3 MB / 1.037 GB, free: 28.47 MB / 0.4948 GB