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.FrameForces.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.FrameForces,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.FrameForces") Notification: Performance of loadModel(ModelicaTest): time 2.051/2.051, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.985e-05/1.998e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2605, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1397/0.4002, allocations: 93.11 MB / 413.1 MB, free: 3.316 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.4005, allocations: 71.97 kB / 413.2 MB, free: 3.246 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5895/0.99, allocations: 108.4 MB / 0.5094 GB, free: 51.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.506e-06/0.9901, allocations: 0 / 0.5094 GB, free: 51.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002734/0.9904, allocations: 100 kB / 0.5095 GB, free: 51.23 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: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.01516/1.006, allocations: 5.341 MB / 0.5147 GB, free: 45.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.006, allocations: 8.031 kB / 0.5147 GB, free: 45.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03406/1.04, allocations: 6.928 MB / 0.5215 GB, free: 38.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01852/1.058, allocations: 6.782 MB / 0.5281 GB, free: 32.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/1.059, allocations: 172 kB / 0.5282 GB, free: 31.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002079/1.061, allocations: 311.9 kB / 0.5285 GB, free: 31.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01466/1.075, allocations: 7.229 MB / 0.5356 GB, free: 24.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02268/1.098, allocations: 11.39 MB / 0.5467 GB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002462/1.098, allocations: 79.27 kB / 0.5468 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001229/1.1, allocations: 36 kB / 0.5468 GB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001832/1.101, allocations: 1.211 MB / 0.548 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3433/1.445, allocations: 56.14 MB / 0.6028 GB, free: 50.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004987/1.45, allocations: 3.454 MB / 0.6062 GB, free: 49.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003227/1.453, allocations: 2.088 MB / 0.6083 GB, free: 49.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/1.453, allocations: 34.52 kB / 0.6083 GB, free: 49.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/1.453, allocations: 50.44 kB / 0.6083 GB, free: 49.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 6.648e-06/1.453, allocations: 3.906 kB / 0.6083 GB, free: 49.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=197): time 0.04087/1.494, allocations: 17.31 MB / 0.6252 GB, free: 46.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/1.494, allocations: 202.3 kB / 0.6254 GB, free: 46.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00721/1.502, allocations: 4.054 MB / 0.6294 GB, free: 46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003407/1.502, allocations: 29.45 kB / 0.6294 GB, free: 45.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002493/1.504, allocations: 3.971 MB / 0.6333 GB, free: 43.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008422/1.505, allocations: 0.7534 MB / 0.634 GB, free: 43.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004371/1.506, allocations: 2.219 kB / 0.634 GB, free: 43.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004332/1.506, allocations: 0.616 MB / 0.6346 GB, free: 42.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003892/1.51, allocations: 2.163 MB / 0.6368 GB, free: 42.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006034/1.516, allocations: 6.694 MB / 0.6433 GB, free: 35.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00642/1.523, allocations: 3.791 MB / 0.647 GB, free: 34.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/1.523, allocations: 44.25 kB / 0.647 GB, free: 34.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=956) (initialization): time 0.01829/1.541, allocations: 8.085 MB / 0.6549 GB, free: 32.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.541, allocations: 73.62 kB / 0.655 GB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001695/1.541, allocations: 167.1 kB / 0.6552 GB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/1.543, allocations: 0.5831 MB / 0.6557 GB, free: 32.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006342/1.549, allocations: 1.684 MB / 0.6574 GB, free: 31.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007179/1.557, allocations: 5.407 MB / 0.6627 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006749/1.563, allocations: 241.4 kB / 0.6629 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/1.565, allocations: 458 kB / 0.6633 GB, free: 27.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 744 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (906): * Single equations (assignments): 901 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001108/1.566, allocations: 0.5098 MB / 0.6638 GB, free: 26.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008819/1.567, allocations: 422.5 kB / 0.6642 GB, free: 26.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005662/1.573, allocations: 2.934 MB / 0.6671 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.38e-05/1.573, allocations: 21.25 kB / 0.6671 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/1.573, allocations: 7.953 kB / 0.6671 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.827e-05/1.573, allocations: 14.59 kB / 0.6671 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/1.589, allocations: 7.32 MB / 0.6743 GB, free: 17.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/1.589, allocations: 0 / 0.6743 GB, free: 17.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/1.591, allocations: 298.8 kB / 0.6746 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/1.592, allocations: 334.7 kB / 0.6749 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002552/1.593, allocations: 11.38 kB / 0.6749 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005675/1.598, allocations: 4.736 MB / 0.6795 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.206e-06/1.598, allocations: 8 kB / 0.6795 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00921/1.608, allocations: 5.53 MB / 0.6849 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/1.61, allocations: 0.7046 MB / 0.6856 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008644/1.611, allocations: 6.312 kB / 0.6856 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/1.613, allocations: 64.08 kB / 0.6857 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004058/1.614, allocations: 110.5 kB / 0.6858 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/1.614, allocations: 50.23 kB / 0.6858 GB, free: 7.043 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005666/1.619, allocations: 2.745 MB / 0.6885 GB, free: 4.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.537e-06/1.619, allocations: 3.938 kB / 0.6885 GB, free: 4.656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008162/1.628, allocations: 1.031 MB / 0.6895 GB, free: 3.633 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (156): * Single equations (assignments): 151 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006542/1.628, allocations: 146.1 kB / 0.6897 GB, free: 3.492 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01029/1.639, allocations: 5.316 MB / 0.6949 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.639, allocations: 7.734 kB / 0.6949 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00342/1.642, allocations: 1.655 MB / 0.6965 GB, free: 13.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/1.646, allocations: 490.1 kB / 0.6969 GB, free: 12.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02582/1.671, allocations: 9.818 MB / 0.7065 GB, free: 4.035 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009629/1.681, allocations: 4.135 MB / 0.7106 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/1.683, allocations: 343.4 kB / 0.7109 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of SimCode: time 2.108e-06/1.683, allocations: 0 / 0.7109 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of Templates: time 0.4318/2.115, allocations: 111 MB / 0.8193 GB, free: 118.7 MB / 474.7 MB