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.FrameForces2.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.FrameForces2,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.FrameForces2") Notification: Performance of loadModel(ModelicaTest): time 2.163/2.163, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.862e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3223, allocations: 54.85 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.4723, allocations: 99.37 MB / 463.9 MB, free: 13.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.4726, allocations: 73.97 kB / 464 MB, free: 13.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8743/1.347, allocations: 162.7 MB / 0.612 GB, free: 80.46 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.172e-06/1.347, allocations: 0 / 0.612 GB, free: 80.46 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000449/1.347, allocations: 164 kB / 0.6121 GB, free: 80.3 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: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.04199/1.389, allocations: 8.021 MB / 0.62 GB, free: 72.19 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.24e-05/1.39, allocations: 8.031 kB / 0.62 GB, free: 72.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09116/1.481, allocations: 12.03 MB / 0.6317 GB, free: 60.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02861/1.509, allocations: 10.8 MB / 0.6423 GB, free: 49.24 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006603/1.51, allocations: 0.6096 MB / 0.6429 GB, free: 48.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003275/1.513, allocations: 0.8121 MB / 0.6436 GB, free: 47.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0468/1.56, allocations: 19.11 MB / 0.6623 GB, free: 27.19 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004834/1.561, allocations: 107 kB / 0.6624 GB, free: 27.08 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002519/1.563, allocations: 383.8 kB / 0.6628 GB, free: 26.71 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002984/1.566, allocations: 1.724 MB / 0.6645 GB, free: 24.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03796/1.604, allocations: 15.48 MB / 0.6796 GB, free: 9.469 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6949/2.299, allocations: 79.62 MB / 0.7573 GB, free: 35.38 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02787/2.327, allocations: 8.185 MB / 0.7653 GB, free: 34.66 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006668/2.334, allocations: 4.084 MB / 0.7693 GB, free: 34.62 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008529/2.335, allocations: 0.6656 MB / 0.77 GB, free: 34.05 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.982e-05/2.335, allocations: 73.38 kB / 0.77 GB, free: 34.02 MB / 474.8 MB Notification: Performance of pre-optimization done (n=307): time 9.042e-06/2.335, allocations: 0 / 0.77 GB, free: 34.02 MB / 474.8 MB Notification: Performance of matching and sorting (n=331): time 0.09324/2.428, allocations: 25.9 MB / 0.7953 GB, free: 27.77 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.324e-05/2.428, allocations: 292 kB / 0.7956 GB, free: 27.45 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01515/2.443, allocations: 6.641 MB / 0.8021 GB, free: 26.88 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006827/2.444, allocations: 82.91 kB / 0.8022 GB, free: 26.81 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004225/2.448, allocations: 5.302 MB / 0.8074 GB, free: 22.63 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001656/2.45, allocations: 1.25 MB / 0.8086 GB, free: 21.72 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009662/2.451, allocations: 189.7 kB / 0.8088 GB, free: 21.57 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0006879/2.452, allocations: 0.7088 MB / 0.8095 GB, free: 21.09 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0073/2.459, allocations: 3.368 MB / 0.8127 GB, free: 19.94 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01045/2.47, allocations: 8.864 MB / 0.8214 GB, free: 11.43 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/2.48, allocations: 5.401 MB / 0.8267 GB, free: 9.75 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001613/2.48, allocations: 55.22 kB / 0.8267 GB, free: 9.75 MB / 474.8 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.0286/2.509, allocations: 12.53 MB / 0.839 GB, free: 4.012 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001596/2.509, allocations: 94.5 kB / 0.8391 GB, free: 3.926 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002411/2.509, allocations: 192 kB / 0.8392 GB, free: 3.738 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003373/2.513, allocations: 1.01 MB / 0.8402 GB, free: 2.895 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009811/2.522, allocations: 2.157 MB / 0.8423 GB, free: 1.02 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01884/2.541, allocations: 11.03 MB / 0.8531 GB, free: 6.566 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/2.552, allocations: 0.513 MB / 0.8536 GB, free: 6.113 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00218/2.554, allocations: 0.5527 MB / 0.8541 GB, free: 5.574 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 882 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 (1149): * Single equations (assignments): 1142 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003034/2.557, allocations: 0.8219 MB / 0.8549 GB, free: 4.75 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0018/2.559, allocations: 0.6595 MB / 0.8556 GB, free: 4.082 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01927/2.578, allocations: 6.056 MB / 0.8615 GB, free: 15.69 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.87e-05/2.578, allocations: 36 kB / 0.8615 GB, free: 15.66 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-05/2.578, allocations: 8 kB / 0.8615 GB, free: 15.65 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.341e-05/2.578, allocations: 18.95 kB / 0.8616 GB, free: 15.64 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04344/2.622, allocations: 14.63 MB / 0.8758 GB, free: 3.777 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.821e-05/2.622, allocations: 0 / 0.8758 GB, free: 3.777 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003946/2.626, allocations: 0.5284 MB / 0.8764 GB, free: 3.344 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002873/2.629, allocations: 0.666 MB / 0.877 GB, free: 2.832 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007251/2.63, allocations: 59.38 kB / 0.8771 GB, free: 2.777 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01629/2.646, allocations: 9.87 MB / 0.8867 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.15e-06/2.646, allocations: 7.938 kB / 0.8867 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0219/2.668, allocations: 9.907 MB / 0.8964 GB, free: 328 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3125/2.98, allocations: 1.167 MB / 0.8975 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001934/2.982, allocations: 56.62 kB / 0.8976 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004889/2.987, allocations: 192.9 kB / 0.8978 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000917/2.988, allocations: 199.2 kB / 0.898 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003519/2.989, allocations: 83.84 kB / 0.898 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01228/3.001, allocations: 4.745 MB / 0.9027 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.464e-06/3.001, allocations: 0 / 0.9027 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01195/3.013, allocations: 1.81 MB / 0.9044 GB, free: 124.4 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 () * 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%) 10,(1,100.0%) 10,(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.000951/3.014, allocations: 208 kB / 0.9046 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01846/3.032, allocations: 8.64 MB / 0.9131 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.605e-06/3.032, allocations: 0.75 kB / 0.9131 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006071/3.038, allocations: 3.141 MB / 0.9161 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006451/3.045, allocations: 0.913 MB / 0.917 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03623/3.081, allocations: 15.43 MB / 0.9321 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01278/3.094, allocations: 5.899 MB / 0.9379 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002716/3.097, allocations: 0.5064 MB / 0.9384 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.818e-06/3.097, allocations: 0 / 0.9384 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.6212/3.718, allocations: 235.4 MB / 1.168 GB, free: 99.44 MB / 0.5105 GB