Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 1.961/1.961, allocations: 209.2 MB / 225.4 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004316, allocations: 12 kB / 283.1 MB, free: 9.672 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3751, allocations: 48.7 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.188/0.5632, allocations: 94.09 MB / 425.9 MB, free: 304 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.5635, allocations: 79.95 kB / 426 MB, free: 224 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7742/1.338, allocations: 131.5 MB / 0.5445 GB, free: 52.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.557e-06/1.338, allocations: 0 / 0.5445 GB, free: 52.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004963/1.338, allocations: 124 kB / 0.5446 GB, free: 52.33 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02741/1.366, allocations: 6.805 MB / 0.5512 GB, free: 45.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.366, allocations: 8.031 kB / 0.5512 GB, free: 45.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05023/1.416, allocations: 7.101 MB / 0.5582 GB, free: 38.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02494/1.441, allocations: 7.269 MB / 0.5653 GB, free: 30.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000575/1.442, allocations: 0.4895 MB / 0.5657 GB, free: 30.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003812/1.445, allocations: 0.656 MB / 0.5664 GB, free: 29.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05034/1.496, allocations: 16.59 MB / 0.5826 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004523/1.496, allocations: 75.25 kB / 0.5827 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003241/1.5, allocations: 315.8 kB / 0.583 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003269/1.503, allocations: 1.581 MB / 0.5845 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04605/1.549, allocations: 14.09 MB / 0.5983 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4399/1.989, allocations: 66.15 MB / 0.6629 GB, free: 43.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02991/2.019, allocations: 7.059 MB / 0.6698 GB, free: 42.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03822/2.057, allocations: 15.05 MB / 0.6844 GB, free: 40.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.502e-05/2.057, allocations: 62.56 kB / 0.6845 GB, free: 40.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=306): time 7.434e-06/2.057, allocations: 0 / 0.6845 GB, free: 40.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=348): time 0.1435/2.201, allocations: 31.53 MB / 0.7153 GB, free: 31.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/2.201, allocations: 230.9 kB / 0.7155 GB, free: 31.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01789/2.219, allocations: 5.282 MB / 0.7207 GB, free: 29.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00129/2.22, allocations: 76.11 kB / 0.7208 GB, free: 29.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005371/2.226, allocations: 4.233 MB / 0.7249 GB, free: 26.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002849/2.229, allocations: 1.274 MB / 0.7261 GB, free: 25.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001669/2.23, allocations: 165.5 kB / 0.7263 GB, free: 25.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009857/2.232, allocations: 0.6565 MB / 0.7269 GB, free: 24.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01443/2.246, allocations: 3.614 MB / 0.7305 GB, free: 23.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01782/2.264, allocations: 8.104 MB / 0.7384 GB, free: 16.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01839/2.282, allocations: 5.294 MB / 0.7435 GB, free: 11.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004126/2.283, allocations: 47.95 kB / 0.7436 GB, free: 11.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.05738/2.34, allocations: 12.82 MB / 0.7561 GB, free: 1.086 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000214/2.341, allocations: 72 kB / 0.7562 GB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007392/2.341, allocations: 156 kB / 0.7563 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01839/2.36, allocations: 1.805 MB / 0.7581 GB, free: 0 / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02228/2.382, allocations: 1.955 MB / 0.76 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04539/2.428, allocations: 11.66 MB / 0.7714 GB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03215/2.46, allocations: 497.6 kB / 0.7719 GB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005264/2.465, allocations: 481 kB / 0.7723 GB, free: 3.086 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (996): * Single equations (assignments): 991 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02643/2.492, allocations: 3.088 MB / 0.7753 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005755/2.497, allocations: 0.4977 MB / 0.7758 GB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07845/2.576, allocations: 7.423 MB / 0.7831 GB, free: 9.777 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000211/2.576, allocations: 36 kB / 0.7831 GB, free: 9.742 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.251e-05/2.576, allocations: 8 kB / 0.7831 GB, free: 9.734 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001645/2.576, allocations: 15.23 kB / 0.7831 GB, free: 9.734 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5901/3.167, allocations: 16.02 MB / 0.7988 GB, free: 107.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.954e-05/3.167, allocations: 4.5 kB / 0.7988 GB, free: 107.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008654/3.175, allocations: 0.6033 MB / 0.7994 GB, free: 107.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009681/3.185, allocations: 1.38 MB / 0.8007 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001354/3.187, allocations: 61.45 kB / 0.8008 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03335/3.22, allocations: 10.85 MB / 0.8114 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/3.22, allocations: 8.828 kB / 0.8114 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04587/3.266, allocations: 11.88 MB / 0.823 GB, free: 104.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006135/3.272, allocations: 1.096 MB / 0.8241 GB, free: 104.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003045/3.275, allocations: 63.19 kB / 0.8241 GB, free: 104.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008647/3.284, allocations: 246.1 kB / 0.8244 GB, free: 104.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001909/3.286, allocations: 199.5 kB / 0.8245 GB, free: 104.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008367/3.287, allocations: 98.97 kB / 0.8246 GB, free: 104.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01308/3.3, allocations: 3.313 MB / 0.8279 GB, free: 103.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.863e-06/3.3, allocations: 0 / 0.8279 GB, free: 103.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01727/3.317, allocations: 1.609 MB / 0.8294 GB, free: 103.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (294): * Single equations (assignments): 289 * 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.002022/3.319, allocations: 219.2 kB / 0.8297 GB, free: 103.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02964/3.349, allocations: 8.97 MB / 0.8384 GB, free: 100.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/3.349, allocations: 4 kB / 0.8384 GB, free: 100.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01467/3.364, allocations: 3.776 MB / 0.8421 GB, free: 99.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007249/3.371, allocations: 0.6168 MB / 0.8427 GB, free: 98.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0605/3.432, allocations: 18.88 MB / 0.8611 GB, free: 89.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01552/3.447, allocations: 4.93 MB / 0.866 GB, free: 87.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004604/3.452, allocations: 431.6 kB / 0.8664 GB, free: 87.58 MB / 458.7 MB Notification: Performance of SimCode: time 1.904e-06/3.452, allocations: 0 / 0.8664 GB, free: 87.58 MB / 458.7 MB Notification: Performance of Templates: time 0.7326/4.185, allocations: 141.8 MB / 1.005 GB, free: 96.58 MB / 458.7 MB