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.Worldtorque.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.Worldtorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadModel(ModelicaTest): time 1.86/1.86, allocations: 209.2 MB / 224.8 MB, free: 1.137 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004768, allocations: 16 kB / 282.6 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08593/0.08643, allocations: 48.71 MB / 331.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.347/0.4335, allocations: 92.96 MB / 424.2 MB, free: 8.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.4338, allocations: 75.97 kB / 424.3 MB, free: 8.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7367/1.171, allocations: 142.7 MB / 0.5537 GB, free: 77.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.34e-06/1.171, allocations: 3.984 kB / 0.5537 GB, free: 77.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005414/1.171, allocations: 143.6 kB / 0.5538 GB, free: 77.43 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2467 * Number of variables: 2467 Notification: Performance of Generate backend data structure: time 0.02264/1.194, allocations: 7.464 MB / 0.5611 GB, free: 71.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/1.194, allocations: 12.03 kB / 0.5611 GB, free: 71.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04886/1.243, allocations: 9.53 MB / 0.5704 GB, free: 62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02366/1.266, allocations: 8.882 MB / 0.5791 GB, free: 53.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005684/1.267, allocations: 0.5216 MB / 0.5796 GB, free: 52.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002749/1.27, allocations: 0.6989 MB / 0.5803 GB, free: 51.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03808/1.308, allocations: 16.68 MB / 0.5966 GB, free: 33.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003923/1.308, allocations: 95.12 kB / 0.5967 GB, free: 33.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002238/1.311, allocations: 335.8 kB / 0.597 GB, free: 33.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002465/1.313, allocations: 1.538 MB / 0.5985 GB, free: 31.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03234/1.345, allocations: 13.33 MB / 0.6115 GB, free: 18.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3692/1.715, allocations: 72.54 MB / 0.6824 GB, free: 34.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01872/1.734, allocations: 5.94 MB / 0.6882 GB, free: 33.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002601/1.734, allocations: 48.39 kB / 0.6882 GB, free: 33.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/1.734, allocations: 66.92 kB / 0.6883 GB, free: 33.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 8.492e-06/1.734, allocations: 0 / 0.6883 GB, free: 33.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=267): time 0.07668/1.811, allocations: 22.87 MB / 0.7106 GB, free: 27.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/1.811, allocations: 257.1 kB / 0.7109 GB, free: 27.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01375/1.824, allocations: 6.21 MB / 0.7169 GB, free: 27.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005401/1.825, allocations: 66.58 kB / 0.717 GB, free: 27.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003718/1.829, allocations: 4.783 MB / 0.7217 GB, free: 24.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001319/1.83, allocations: 1.03 MB / 0.7227 GB, free: 23.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008359/1.831, allocations: 171.9 kB / 0.7228 GB, free: 23.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005582/1.832, allocations: 0.6779 MB / 0.7235 GB, free: 23.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006616/1.838, allocations: 2.965 MB / 0.7264 GB, free: 22.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009329/1.848, allocations: 8.217 MB / 0.7344 GB, free: 14.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009543/1.857, allocations: 4.832 MB / 0.7391 GB, free: 13.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001502/1.857, allocations: 55.16 kB / 0.7392 GB, free: 13.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.02591/1.883, allocations: 11.29 MB / 0.7502 GB, free: 9.391 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001597/1.883, allocations: 84.75 kB / 0.7503 GB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002684/1.884, allocations: 183.9 kB / 0.7505 GB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/1.886, allocations: 0.8465 MB / 0.7513 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008758/1.895, allocations: 1.988 MB / 0.7532 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/1.908, allocations: 8.637 MB / 0.7617 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009662/1.917, allocations: 473 kB / 0.7621 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001751/1.919, allocations: 0.521 MB / 0.7626 GB, free: 1.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1056): * Single equations (assignments): 1050 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01296/1.932, allocations: 3.569 MB / 0.7661 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001671/1.934, allocations: 0.5967 MB / 0.7667 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/1.947, allocations: 4.546 MB / 0.7711 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.282e-05/1.947, allocations: 35.94 kB / 0.7712 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.652e-05/1.947, allocations: 4 kB / 0.7712 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-05/1.947, allocations: 20.09 kB / 0.7712 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03338/1.98, allocations: 11.68 MB / 0.7826 GB, free: 1.312 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-05/1.98, allocations: 7.75 kB / 0.7826 GB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003174/1.983, allocations: 441.8 kB / 0.783 GB, free: 0.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002236/1.986, allocations: 0.5273 MB / 0.7835 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005692/1.986, allocations: 46.25 kB / 0.7836 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01526/2.002, allocations: 7.747 MB / 0.7912 GB, free: 9.176 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/2.002, allocations: 4.031 kB / 0.7912 GB, free: 9.172 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02024/2.022, allocations: 8.04 MB / 0.799 GB, free: 2.027 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003709/2.026, allocations: 1.012 MB / 0.8 GB, free: 1.074 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001596/2.027, allocations: 50.17 kB / 0.8 GB, free: 1.031 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003726/2.031, allocations: 142.9 kB / 0.8002 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007131/2.032, allocations: 172.6 kB / 0.8003 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003155/2.032, allocations: 70.48 kB / 0.8004 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.02039/2.053, allocations: 4.934 MB / 0.8052 GB, free: 14.03 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.212e-06/2.053, allocations: 0 / 0.8052 GB, free: 14.03 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01119/2.064, allocations: 1.556 MB / 0.8068 GB, free: 12.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (219): * Single equations (assignments): 213 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.0008734/2.065, allocations: 195.6 kB / 0.8069 GB, free: 12.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01663/2.081, allocations: 7.496 MB / 0.8143 GB, free: 4.801 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.544e-06/2.081, allocations: 4 kB / 0.8143 GB, free: 4.797 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005513/2.087, allocations: 2.538 MB / 0.8167 GB, free: 2.219 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005259/2.092, allocations: 0.7563 MB / 0.8175 GB, free: 1.477 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2971/2.389, allocations: 18.47 MB / 0.8355 GB, free: 120.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01276/2.402, allocations: 5.207 MB / 0.8406 GB, free: 119.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002365/2.405, allocations: 456.6 kB / 0.841 GB, free: 119.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.783e-06/2.405, allocations: 0 / 0.841 GB, free: 119.8 MB / 474.7 MB Notification: Performance of Templates: time 0.5166/2.921, allocations: 177.2 MB / 1.014 GB, free: 125.1 MB / 474.7 MB