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.ForcesAndTorques.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.ForcesAndTorques,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.ForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 2.293/2.293, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.296e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3219, allocations: 54.86 MB / 364.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.4805, allocations: 104 MB / 468.5 MB, free: 8.453 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.4807, allocations: 75.95 kB / 468.6 MB, free: 8.379 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8281/1.309, allocations: 148.8 MB / 0.6029 GB, free: 90.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.512e-06/1.309, allocations: 4 kB / 0.6029 GB, free: 90.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004052/1.309, allocations: 152 kB / 0.603 GB, free: 90.42 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: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.02417/1.334, allocations: 7.385 MB / 0.6102 GB, free: 82.96 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.334, allocations: 8.031 kB / 0.6103 GB, free: 82.95 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03845/1.372, allocations: 7.319 MB / 0.6174 GB, free: 75.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02292/1.395, allocations: 7.881 MB / 0.6251 GB, free: 67.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007041/1.396, allocations: 0.5855 MB / 0.6257 GB, free: 67.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003552/1.399, allocations: 0.7654 MB / 0.6264 GB, free: 66.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04712/1.447, allocations: 18.84 MB / 0.6448 GB, free: 45.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004278/1.447, allocations: 95.12 kB / 0.6449 GB, free: 45.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002953/1.45, allocations: 367.8 kB / 0.6453 GB, free: 45.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003261/1.453, allocations: 1.833 MB / 0.6471 GB, free: 43.64 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03879/1.492, allocations: 15.36 MB / 0.6621 GB, free: 28.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4137/1.906, allocations: 81.73 MB / 0.7419 GB, free: 45.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02896/1.935, allocations: 8.66 MB / 0.7503 GB, free: 44.38 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007814/1.943, allocations: 4.62 MB / 0.7548 GB, free: 44.33 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02568/1.968, allocations: 11.7 MB / 0.7663 GB, free: 42.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/1.968, allocations: 71.09 kB / 0.7663 GB, free: 42.26 MB / 474.7 MB Notification: Performance of pre-optimization done (n=347): time 8.776e-06/1.968, allocations: 0 / 0.7663 GB, free: 42.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=389): time 0.1044/2.073, allocations: 31.52 MB / 0.7971 GB, free: 33.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.782e-05/2.073, allocations: 252.2 kB / 0.7973 GB, free: 33.62 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01358/2.087, allocations: 6.481 MB / 0.8037 GB, free: 31.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008095/2.087, allocations: 90.86 kB / 0.8038 GB, free: 31.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00363/2.091, allocations: 5.012 MB / 0.8087 GB, free: 27.24 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001865/2.093, allocations: 1.444 MB / 0.8101 GB, free: 26.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/2.094, allocations: 199.2 kB / 0.8103 GB, free: 26.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006622/2.095, allocations: 0.7292 MB / 0.811 GB, free: 25.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008437/2.103, allocations: 4.015 MB / 0.8149 GB, free: 24.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01154/2.115, allocations: 9.594 MB / 0.8243 GB, free: 13.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/2.126, allocations: 6.147 MB / 0.8303 GB, free: 8.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001462/2.126, allocations: 56 kB / 0.8303 GB, free: 8.875 MB / 474.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.03865/2.165, allocations: 14.92 MB / 0.8449 GB, free: 13.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000198/2.165, allocations: 92.22 kB / 0.845 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003336/2.166, allocations: 197.9 kB / 0.8452 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006163/2.172, allocations: 1.719 MB / 0.8468 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01221/2.184, allocations: 2.433 MB / 0.8492 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02381/2.208, allocations: 11.53 MB / 0.8605 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/2.219, allocations: 0.5774 MB / 0.861 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002365/2.221, allocations: 0.5753 MB / 0.8616 GB, free: 14.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * Number of states: 0 () * Number of discrete variables: 66 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1225): * Single equations (assignments): 1220 * 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.003949/2.225, allocations: 0.8575 MB / 0.8624 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003819/2.229, allocations: 0.644 MB / 0.8631 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04825/2.277, allocations: 8.126 MB / 0.871 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001652/2.277, allocations: 43.98 kB / 0.871 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.17e-05/2.277, allocations: 12 kB / 0.8711 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001572/2.278, allocations: 19.89 kB / 0.8711 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06792/2.346, allocations: 18.2 MB / 0.8889 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.237e-05/2.346, allocations: 11.98 kB / 0.8889 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005668/2.351, allocations: 0.7694 MB / 0.8896 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005618/2.357, allocations: 1.42 MB / 0.891 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009713/2.358, allocations: 72 kB / 0.8911 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02259/2.381, allocations: 10.6 MB / 0.9014 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.692e-05/2.381, allocations: 11.94 kB / 0.9014 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3319/2.713, allocations: 14.36 MB / 0.9155 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004636/2.717, allocations: 1.315 MB / 0.9167 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002238/2.72, allocations: 72.09 kB / 0.9168 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005483/2.725, allocations: 258.6 kB / 0.9171 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001324/2.727, allocations: 236 kB / 0.9173 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006529/2.727, allocations: 110.3 kB / 0.9174 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01239/2.74, allocations: 4.648 MB / 0.9219 GB, free: 146 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.226e-06/2.74, allocations: 0.875 kB / 0.9219 GB, free: 146 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01283/2.752, allocations: 1.871 MB / 0.9238 GB, free: 146 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (329): * Single equations (assignments): 324 * 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.001252/2.754, allocations: 230.3 kB / 0.924 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01961/2.773, allocations: 9.946 MB / 0.9337 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/2.773, allocations: 0 / 0.9337 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008903/2.782, allocations: 3.967 MB / 0.9376 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005872/2.788, allocations: 0.7738 MB / 0.9383 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03893/2.827, allocations: 16.03 MB / 0.954 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01264/2.84, allocations: 5.639 MB / 0.9595 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003133/2.843, allocations: 0.512 MB / 0.96 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of SimCode: time 2.199e-06/2.843, allocations: 2.594 kB / 0.96 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.5436/3.387, allocations: 167 MB / 1.123 GB, free: 149.6 MB / 0.5261 GB