Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 2.229/2.229, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004385/0.0004387, allocations: 12 kB / 314.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2809, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.1133/0.3943, allocations: 79.99 MB / 449.2 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04511/0.4395, allocations: 17.98 MB / 467.2 MB, free: 8.492 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01545/0.455, allocations: 399.1 kB / 467.5 MB, free: 8.102 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01237/0.4674, allocations: 4.106 MB / 471.7 MB, free: 3.977 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3183/0.7858, allocations: 11.42 MB / 483.1 MB, free: 3.902 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00492/0.7907, allocations: 0.9259 MB / 484 MB, free: 3.895 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.03403/0.8248, allocations: 18.56 MB / 0.4908 GB, free: 1.953 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01115/0.836, allocations: 7.353 MB / 0.498 GB, free: 68 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004514/0.8406, allocations: 1.746 MB / 0.4997 GB, free: 0 / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004645/0.8452, allocations: 2.313 MB / 0.5019 GB, free: 15.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001217/0.8465, allocations: 243.6 kB / 0.5022 GB, free: 15.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/0.8498, allocations: 1.157 MB / 0.5033 GB, free: 15.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003662/0.8535, allocations: 2.67 MB / 0.5059 GB, free: 14.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001954/0.8555, allocations: 1.388 MB / 0.5072 GB, free: 13.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01377/0.8693, allocations: 9.324 MB / 0.5163 GB, free: 5.629 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.8693, allocations: 0 / 0.5163 GB, free: 5.629 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.902e-06/0.8693, allocations: 0 / 0.5163 GB, free: 5.629 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002773/0.8696, allocations: 0 / 0.5163 GB, free: 5.629 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02073/0.8904, allocations: 7.26 MB / 0.5234 GB, free: 14.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.8904, allocations: 8.031 kB / 0.5234 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05612/0.9466, allocations: 8.323 MB / 0.5316 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0134/0.96, allocations: 4.857 MB / 0.5363 GB, free: 3.848 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004052/0.9605, allocations: 401.1 kB / 0.5367 GB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00228/0.9628, allocations: 0.5205 MB / 0.5372 GB, free: 3.289 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04083/1.004, allocations: 17.06 MB / 0.5539 GB, free: 6.039 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002523/1.004, allocations: 69.72 kB / 0.5539 GB, free: 6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001052/1.005, allocations: 245.9 kB / 0.5542 GB, free: 5.934 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005865/1.011, allocations: 3.025 MB / 0.5571 GB, free: 3.469 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03918/1.05, allocations: 14.41 MB / 0.5712 GB, free: 9.312 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1045/1.155, allocations: 62.46 MB / 0.6322 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02553/1.18, allocations: 6.974 MB / 0.639 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02355/1.204, allocations: 9.511 MB / 0.6483 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.797e-05/1.204, allocations: 73.72 kB / 0.6484 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=297): time 8.099e-06/1.204, allocations: 0 / 0.6484 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339): time 0.679/1.883, allocations: 34.1 MB / 0.6817 GB, free: 210 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.365e-05/1.883, allocations: 239.4 kB / 0.6819 GB, free: 209.8 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01882/1.902, allocations: 6.954 MB / 0.6887 GB, free: 207.3 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/1.903, allocations: 76.83 kB / 0.6888 GB, free: 207.3 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00524/1.908, allocations: 4.545 MB / 0.6932 GB, free: 203.7 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00252/1.911, allocations: 1.266 MB / 0.6944 GB, free: 202.7 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001493/1.912, allocations: 175.1 kB / 0.6946 GB, free: 202.6 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001088/1.914, allocations: 0.6902 MB / 0.6953 GB, free: 202.1 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01347/1.927, allocations: 3.813 MB / 0.699 GB, free: 200.8 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.017/1.944, allocations: 8.841 MB / 0.7076 GB, free: 192.8 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01966/1.964, allocations: 5.675 MB / 0.7132 GB, free: 189.1 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001458/1.964, allocations: 52 kB / 0.7132 GB, free: 189 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.03111/1.995, allocations: 13.78 MB / 0.7267 GB, free: 175.8 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/1.995, allocations: 88.2 kB / 0.7268 GB, free: 175.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001854/1.996, allocations: 176 kB / 0.7269 GB, free: 175.6 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005633/2.001, allocations: 1.804 MB / 0.7287 GB, free: 173.8 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008941/2.01, allocations: 2.086 MB / 0.7307 GB, free: 171.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01853/2.029, allocations: 12.39 MB / 0.7428 GB, free: 159 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008676/2.038, allocations: 0.5193 MB / 0.7433 GB, free: 158.5 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0016/2.039, allocations: 0.5162 MB / 0.7438 GB, free: 158 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1084): * Single equations (assignments): 1077 * Array equations: 5 * 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.007059/2.046, allocations: 3.283 MB / 0.747 GB, free: 154.7 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001327/2.048, allocations: 0.5809 MB / 0.7476 GB, free: 154.1 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01786/2.066, allocations: 7.706 MB / 0.7551 GB, free: 146.4 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.134e-05/2.066, allocations: 36 kB / 0.7552 GB, free: 146.3 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.422e-05/2.066, allocations: 11.98 kB / 0.7552 GB, free: 146.3 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.455e-05/2.066, allocations: 15.94 kB / 0.7552 GB, free: 146.3 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03858/2.104, allocations: 16.36 MB / 0.7712 GB, free: 130 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.146e-05/2.104, allocations: 8.562 kB / 0.7712 GB, free: 130 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003891/2.108, allocations: 0.5811 MB / 0.7717 GB, free: 129.4 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005143/2.114, allocations: 1.528 MB / 0.7732 GB, free: 127.8 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007912/2.114, allocations: 65.62 kB / 0.7733 GB, free: 127.8 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01835/2.133, allocations: 11.58 MB / 0.7846 GB, free: 115.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.601e-06/2.133, allocations: 11.94 kB / 0.7846 GB, free: 115.9 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02333/2.156, allocations: 12.15 MB / 0.7965 GB, free: 103.6 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003643/2.16, allocations: 1.235 MB / 0.7977 GB, free: 102.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001742/2.162, allocations: 59.95 kB / 0.7977 GB, free: 102.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004336/2.166, allocations: 228.9 kB / 0.798 GB, free: 102.1 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/2.167, allocations: 205.9 kB / 0.7982 GB, free: 101.9 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004421/2.167, allocations: 89.47 kB / 0.7982 GB, free: 101.8 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.008836/2.176, allocations: 4.503 MB / 0.8026 GB, free: 97.32 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.351e-06/2.176, allocations: 0 / 0.8026 GB, free: 97.32 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.009869/2.186, allocations: 1.732 MB / 0.8043 GB, free: 95.59 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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.001161/2.187, allocations: 219.4 kB / 0.8045 GB, free: 95.38 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01747/2.205, allocations: 9.325 MB / 0.8136 GB, free: 86.05 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 9.944e-06/2.205, allocations: 4 kB / 0.8137 GB, free: 86.05 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.007806/2.213, allocations: 3.803 MB / 0.8174 GB, free: 82.22 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00461/2.217, allocations: 0.7156 MB / 0.8181 GB, free: 81.51 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03513/2.253, allocations: 19.85 MB / 0.8375 GB, free: 61.56 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009433/2.262, allocations: 5.178 MB / 0.8425 GB, free: 56.35 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002782/2.265, allocations: 487.3 kB / 0.843 GB, free: 55.87 MB / 0.5262 GB Notification: Performance of SimCode: time 1.979e-06/2.265, allocations: 0 / 0.843 GB, free: 55.87 MB / 0.5262 GB Notification: Performance of Templates: time 0.4869/2.752, allocations: 153.1 MB / 0.9925 GB, free: 99.55 MB / 0.5262 GB