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.FrameTorques2.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.FrameTorques2,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.FrameTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.155/2.155, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.0004357, allocations: 12 kB / 314.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2931, allocations: 54.86 MB / 369.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.4434, allocations: 99.64 MB / 468.9 MB, free: 8.949 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.4437, allocations: 79.95 kB / 469 MB, free: 8.871 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8458/1.289, allocations: 169.9 MB / 0.624 GB, free: 7.555 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.884e-06/1.29, allocations: 0 / 0.624 GB, free: 7.555 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008496/1.29, allocations: 168 kB / 0.6241 GB, free: 7.391 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: 2948 * Number of variables: 2948 Notification: Performance of Generate backend data structure: time 0.052/1.342, allocations: 9.041 MB / 0.6329 GB, free: 14.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.342, allocations: 12.02 kB / 0.633 GB, free: 14.24 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.065/1.407, allocations: 12.08 MB / 0.6448 GB, free: 2.133 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03423/1.442, allocations: 10.98 MB / 0.6555 GB, free: 7.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000955/1.443, allocations: 0.6494 MB / 0.6561 GB, free: 6.418 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003793/1.447, allocations: 0.855 MB / 0.6569 GB, free: 5.562 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05814/1.505, allocations: 19.99 MB / 0.6765 GB, free: 36 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.2935/1.798, allocations: 104.4 kB / 0.6766 GB, free: 74.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003485/1.802, allocations: 403.8 kB / 0.677 GB, free: 74.38 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003976/1.806, allocations: 1.817 MB / 0.6787 GB, free: 74.36 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04277/1.849, allocations: 16.28 MB / 0.6946 GB, free: 74.29 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1079/1.957, allocations: 82.1 MB / 0.7748 GB, free: 26.03 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02594/1.983, allocations: 8.143 MB / 0.7828 GB, free: 23.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008605/1.983, allocations: 0.6684 MB / 0.7834 GB, free: 22.84 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.142e-05/1.984, allocations: 78.16 kB / 0.7835 GB, free: 22.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=311): time 8.169e-06/1.984, allocations: 0 / 0.7835 GB, free: 22.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=335): time 0.1052/2.089, allocations: 30.93 MB / 0.8137 GB, free: 4.234 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/2.089, allocations: 295.7 kB / 0.814 GB, free: 3.883 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01436/2.103, allocations: 6.875 MB / 0.8207 GB, free: 14.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006651/2.104, allocations: 76.27 kB / 0.8208 GB, free: 14.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006045/2.11, allocations: 5.534 MB / 0.8262 GB, free: 9.117 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002017/2.112, allocations: 1.267 MB / 0.8274 GB, free: 7.996 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009469/2.113, allocations: 192 kB / 0.8276 GB, free: 7.809 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007738/2.114, allocations: 0.7257 MB / 0.8283 GB, free: 7.195 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008419/2.122, allocations: 3.518 MB / 0.8317 GB, free: 4.242 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01423/2.137, allocations: 9.194 MB / 0.8407 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/2.149, allocations: 5.56 MB / 0.8461 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001818/2.149, allocations: 60 kB / 0.8462 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.03444/2.183, allocations: 13.08 MB / 0.859 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001741/2.184, allocations: 89.25 kB / 0.8591 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003215/2.184, allocations: 200 kB / 0.8592 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003557/2.187, allocations: 1.058 MB / 0.8603 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/2.198, allocations: 2.248 MB / 0.8625 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3261/2.524, allocations: 11.47 MB / 0.8737 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009884/2.534, allocations: 0.5257 MB / 0.8742 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001849/2.536, allocations: 0.5642 MB / 0.8747 GB, free: 106.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1179): * Single equations (assignments): 1172 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009136/2.545, allocations: 3.883 MB / 0.8785 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001715/2.547, allocations: 0.6816 MB / 0.8792 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/2.561, allocations: 6.03 MB / 0.8851 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-05/2.561, allocations: 41.61 kB / 0.8851 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.118e-05/2.561, allocations: 14.78 kB / 0.8851 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.204e-05/2.562, allocations: 14.53 kB / 0.8851 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03921/2.601, allocations: 15.1 MB / 0.8999 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.724e-05/2.601, allocations: 3.688 kB / 0.8999 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004016/2.605, allocations: 0.5542 MB / 0.9004 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002658/2.608, allocations: 0.7054 MB / 0.9011 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006263/2.608, allocations: 60.25 kB / 0.9012 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/2.622, allocations: 10.32 MB / 0.9113 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/2.622, allocations: 0 / 0.9113 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02031/2.642, allocations: 10.2 MB / 0.9212 GB, free: 98.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004028/2.646, allocations: 1.194 MB / 0.9224 GB, free: 98.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002003/2.648, allocations: 52.81 kB / 0.9224 GB, free: 98.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004884/2.653, allocations: 200.5 kB / 0.9226 GB, free: 97.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009237/2.654, allocations: 192.7 kB / 0.9228 GB, free: 97.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003811/2.654, allocations: 87.92 kB / 0.9229 GB, free: 97.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01232/2.667, allocations: 4.918 MB / 0.9277 GB, free: 96.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.63e-06/2.667, allocations: 0 / 0.9277 GB, free: 96.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0123/2.679, allocations: 1.87 MB / 0.9295 GB, free: 96.15 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000989/2.68, allocations: 219.5 kB / 0.9297 GB, free: 96.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01756/2.698, allocations: 8.995 MB / 0.9385 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.094e-06/2.698, allocations: 0 / 0.9385 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006274/2.704, allocations: 3.24 MB / 0.9417 GB, free: 91.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006236/2.71, allocations: 0.9285 MB / 0.9426 GB, free: 91.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.043/2.753, allocations: 22.34 MB / 0.9644 GB, free: 80.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01346/2.767, allocations: 6.13 MB / 0.9704 GB, free: 77.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002621/2.77, allocations: 0.5149 MB / 0.9709 GB, free: 77.04 MB / 0.5105 GB Notification: Performance of SimCode: time 1.892e-06/2.77, allocations: 0 / 0.9709 GB, free: 77.04 MB / 0.5105 GB Notification: Performance of Templates: time 0.7147/3.484, allocations: 244.7 MB / 1.21 GB, free: 4.777 MB / 0.5105 GB