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.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 1.824/1.824, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.279e-05/3.288e-05, allocations: 4 kB / 277.8 MB, free: 15.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08673/0.08679, allocations: 48.71 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3662/0.453, allocations: 93.96 MB / 420.5 MB, free: 13.87 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.4533, allocations: 73.66 kB / 420.6 MB, free: 13.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4567/0.9101, allocations: 114.4 MB / 0.5225 GB, free: 2.129 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.018e-06/0.9101, allocations: 0 / 0.5225 GB, free: 2.129 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003479/0.9105, allocations: 104 kB / 0.5226 GB, free: 2.027 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: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.2696/1.18, allocations: 5.462 MB / 0.5279 GB, free: 77.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.18, allocations: 7.719 kB / 0.5279 GB, free: 77.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06491/1.245, allocations: 6.949 MB / 0.5347 GB, free: 77.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04047/1.286, allocations: 6.853 MB / 0.5414 GB, free: 76.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005715/1.286, allocations: 417.9 kB / 0.5418 GB, free: 76.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002357/1.289, allocations: 0.5423 MB / 0.5423 GB, free: 76.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03536/1.324, allocations: 13.25 MB / 0.5553 GB, free: 73.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005373/1.325, allocations: 81.55 kB / 0.5553 GB, free: 73.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00321/1.328, allocations: 267 kB / 0.5556 GB, free: 73.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003671/1.332, allocations: 1.253 MB / 0.5568 GB, free: 73.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04078/1.372, allocations: 10.5 MB / 0.5671 GB, free: 73.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09185/1.464, allocations: 59.63 MB / 0.6253 GB, free: 30.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01492/1.479, allocations: 4.608 MB / 0.6298 GB, free: 28.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003797/1.483, allocations: 2.207 MB / 0.632 GB, free: 27.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01376/1.497, allocations: 6.509 MB / 0.6383 GB, free: 24.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/1.497, allocations: 54.84 kB / 0.6384 GB, free: 24.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=183): time 1.033e-05/1.497, allocations: 3.469 kB / 0.6384 GB, free: 24.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=195): time 0.07507/1.572, allocations: 14.54 MB / 0.6526 GB, free: 12.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.789e-05/1.572, allocations: 234.1 kB / 0.6528 GB, free: 12.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0175/1.59, allocations: 5.156 MB / 0.6578 GB, free: 7.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004715/1.59, allocations: 53.7 kB / 0.6579 GB, free: 7.531 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004642/1.595, allocations: 3.932 MB / 0.6617 GB, free: 3.949 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001515/1.597, allocations: 0.7679 MB / 0.6625 GB, free: 3.277 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001453/1.598, allocations: 143.9 kB / 0.6626 GB, free: 3.137 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001345/1.6, allocations: 0.613 MB / 0.6632 GB, free: 2.605 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009249/1.609, allocations: 2.242 MB / 0.6654 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02237/1.631, allocations: 7.322 MB / 0.6726 GB, free: 9.484 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008297/1.64, allocations: 3.857 MB / 0.6763 GB, free: 6.172 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001435/1.64, allocations: 48 kB / 0.6764 GB, free: 6.125 MB / 442.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.02263/1.662, allocations: 8.936 MB / 0.6851 GB, free: 14.24 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/1.663, allocations: 75.95 kB / 0.6852 GB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002298/1.663, allocations: 160 kB / 0.6853 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/1.665, allocations: 0.6073 MB / 0.6859 GB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007323/1.672, allocations: 1.642 MB / 0.6875 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009447/1.682, allocations: 5.721 MB / 0.6931 GB, free: 6.418 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007564/1.689, allocations: 379.6 kB / 0.6935 GB, free: 6.047 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001517/1.691, allocations: 452 kB / 0.6939 GB, free: 5.605 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 42 (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],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (882): * Single equations (assignments): 877 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002004/1.693, allocations: 0.6556 MB / 0.6945 GB, free: 4.945 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/1.694, allocations: 497.6 kB / 0.695 GB, free: 4.453 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007775/1.702, allocations: 3.03 MB / 0.698 GB, free: 1.406 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-05/1.702, allocations: 20 kB / 0.698 GB, free: 1.387 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/1.702, allocations: 8 kB / 0.698 GB, free: 1.379 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.275e-05/1.702, allocations: 7.969 kB / 0.698 GB, free: 1.371 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2787/1.981, allocations: 8.439 MB / 0.7062 GB, free: 96.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/1.981, allocations: 3.062 kB / 0.7062 GB, free: 96.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002439/1.983, allocations: 325.3 kB / 0.7066 GB, free: 96.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/1.985, allocations: 364.9 kB / 0.7069 GB, free: 96.81 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003446/1.985, allocations: 34.75 kB / 0.7069 GB, free: 96.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00712/1.992, allocations: 5.069 MB / 0.7119 GB, free: 94.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.209e-06/1.993, allocations: 3.438 kB / 0.7119 GB, free: 94.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/2.004, allocations: 6.09 MB / 0.7178 GB, free: 92.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002579/2.007, allocations: 0.8032 MB / 0.7186 GB, free: 92.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/2.008, allocations: 37.69 kB / 0.7187 GB, free: 92.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003114/2.011, allocations: 98.36 kB / 0.7188 GB, free: 92.83 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005034/2.012, allocations: 117.2 kB / 0.7189 GB, free: 92.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/2.012, allocations: 56.75 kB / 0.7189 GB, free: 92.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008785/2.021, allocations: 3.67 MB / 0.7225 GB, free: 92.63 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.367e-06/2.021, allocations: 0 / 0.7225 GB, free: 92.63 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008064/2.029, allocations: 1.222 MB / 0.7237 GB, free: 92.63 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * 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 {(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.000643/2.03, allocations: 175.6 kB / 0.7239 GB, free: 92.54 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01081/2.041, allocations: 5.624 MB / 0.7294 GB, free: 92.28 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.531e-06/2.041, allocations: 0 / 0.7294 GB, free: 92.28 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003055/2.044, allocations: 1.685 MB / 0.731 GB, free: 92.04 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004189/2.048, allocations: 0.6072 MB / 0.7316 GB, free: 92.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/2.071, allocations: 10.23 MB / 0.7416 GB, free: 90.01 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008179/2.08, allocations: 4.238 MB / 0.7457 GB, free: 89.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001625/2.081, allocations: 374.2 kB / 0.7461 GB, free: 89.18 MB / 458.7 MB Notification: Performance of SimCode: time 3.054e-06/2.081, allocations: 0 / 0.7461 GB, free: 89.18 MB / 458.7 MB Notification: Performance of Templates: time 0.1627/2.244, allocations: 118 MB / 0.8613 GB, free: 6.836 MB / 458.7 MB