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.FrameForcesAndTorques.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 1.914/1.914, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.45e-05/1.461e-05, allocations: 0 / 271.3 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2611, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.4087, allocations: 95.38 MB / 415.4 MB, free: 1.043 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.409, allocations: 75.95 kB / 415.5 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6779/1.087, allocations: 135.1 MB / 0.5377 GB, free: 22.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.884e-06/1.087, allocations: 0 / 0.5377 GB, free: 22.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003582/1.087, allocations: 143.9 kB / 0.5378 GB, free: 22.16 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.02117/1.108, allocations: 6.78 MB / 0.5444 GB, free: 15.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/1.109, allocations: 12.03 kB / 0.5444 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03736/1.146, allocations: 7.186 MB / 0.5514 GB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02072/1.167, allocations: 7.508 MB / 0.5588 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004054/1.167, allocations: 232 kB / 0.559 GB, free: 276 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00286/1.17, allocations: 411.9 kB / 0.5594 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02456/1.195, allocations: 9.81 MB / 0.569 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03759/1.232, allocations: 14.8 MB / 0.5834 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003828/1.233, allocations: 87.12 kB / 0.5835 GB, free: 5.793 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002065/1.235, allocations: 48 kB / 0.5836 GB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003254/1.238, allocations: 1.621 MB / 0.5851 GB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3436/1.582, allocations: 69.43 MB / 0.6529 GB, free: 28.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008055/1.59, allocations: 5.581 MB / 0.6584 GB, free: 27.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00553/1.595, allocations: 3.752 MB / 0.6621 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/1.596, allocations: 62.38 kB / 0.6621 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/1.596, allocations: 67.94 kB / 0.6622 GB, free: 26.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=296): time 8.468e-06/1.596, allocations: 0 / 0.6622 GB, free: 26.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=339): time 0.07761/1.673, allocations: 28.74 MB / 0.6902 GB, free: 14.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/1.673, allocations: 238.5 kB / 0.6905 GB, free: 14.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009175/1.683, allocations: 4.549 MB / 0.6949 GB, free: 12.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000707/1.683, allocations: 27.67 kB / 0.6949 GB, free: 12.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00327/1.687, allocations: 4.801 MB / 0.6996 GB, free: 7.914 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0016/1.688, allocations: 1.223 MB / 0.7008 GB, free: 6.812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00097/1.689, allocations: 0 / 0.7008 GB, free: 6.812 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000704/1.69, allocations: 0.7101 MB / 0.7015 GB, free: 6.211 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00706/1.697, allocations: 3.568 MB / 0.705 GB, free: 3.023 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01389/1.711, allocations: 8.855 MB / 0.7137 GB, free: 8.547 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/1.723, allocations: 5.537 MB / 0.7191 GB, free: 4.105 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001955/1.723, allocations: 52 kB / 0.7191 GB, free: 4.055 MB / 426.7 MB Notification: Performance of matching and sorting (n=1210) (initialization): time 0.03346/1.757, allocations: 12.58 MB / 0.7314 GB, free: 9.336 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000179/1.757, allocations: 90.08 kB / 0.7315 GB, free: 9.254 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002908/1.757, allocations: 188 kB / 0.7317 GB, free: 9.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00581/1.763, allocations: 1.711 MB / 0.7333 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/1.773, allocations: 2.209 MB / 0.7355 GB, free: 5.898 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02089/1.794, allocations: 10.78 MB / 0.746 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009189/1.804, allocations: 359.5 kB / 0.7464 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002288/1.806, allocations: 0.5448 MB / 0.7469 GB, free: 11.49 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (1138): * Single equations (assignments): 1133 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003194/1.809, allocations: 0.5744 MB / 0.7475 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/1.811, allocations: 0.5051 MB / 0.7479 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03756/1.848, allocations: 6.935 MB / 0.7547 GB, free: 4.832 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001596/1.849, allocations: 36 kB / 0.7548 GB, free: 4.797 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.601e-05/1.849, allocations: 14.95 kB / 0.7548 GB, free: 4.785 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001282/1.849, allocations: 16.94 kB / 0.7548 GB, free: 4.781 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3306/2.179, allocations: 14.87 MB / 0.7693 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.856e-05/2.18, allocations: 3.625 kB / 0.7693 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004118/2.184, allocations: 0.6129 MB / 0.7699 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00472/2.188, allocations: 1.412 MB / 0.7713 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007688/2.189, allocations: 17.25 kB / 0.7713 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01605/2.205, allocations: 9.879 MB / 0.7809 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/2.205, allocations: 15.38 kB / 0.781 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02331/2.229, allocations: 12.11 MB / 0.7928 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003317/2.232, allocations: 1.076 MB / 0.7938 GB, free: 101.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00153/2.234, allocations: 10.25 kB / 0.7938 GB, free: 101.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004662/2.238, allocations: 185.1 kB / 0.794 GB, free: 101.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001515/2.24, allocations: 204.7 kB / 0.7942 GB, free: 101.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008975/2.241, allocations: 87.33 kB / 0.7943 GB, free: 101.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01108/2.252, allocations: 3.056 MB / 0.7973 GB, free: 101.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.611e-06/2.252, allocations: 0 / 0.7973 GB, free: 101.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01896/2.271, allocations: 1.465 MB / 0.7987 GB, free: 101.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 280 * 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.001539/2.273, allocations: 157.4 kB / 0.7989 GB, free: 101 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02887/2.301, allocations: 8.994 MB / 0.8076 GB, free: 99.71 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/2.302, allocations: 3.312 kB / 0.8077 GB, free: 99.71 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01253/2.314, allocations: 3.558 MB / 0.8111 GB, free: 98.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006792/2.321, allocations: 0.5162 MB / 0.8116 GB, free: 98.13 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0534/2.374, allocations: 14.24 MB / 0.8255 GB, free: 92.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01937/2.394, allocations: 5.183 MB / 0.8306 GB, free: 91.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005158/2.399, allocations: 449.7 kB / 0.831 GB, free: 90.73 MB / 458.7 MB Notification: Performance of SimCode: time 1.997e-06/2.399, allocations: 3.375 kB / 0.831 GB, free: 90.73 MB / 458.7 MB Notification: Performance of Templates: time 0.4677/2.867, allocations: 146.6 MB / 0.9742 GB, free: 96.47 MB / 458.7 MB