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.Force2.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.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadModel(ModelicaTest): time 2.251/2.251, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004455, allocations: 16 kB / 314.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2759, allocations: 54.88 MB / 369.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force2): time 0.4769/0.7528, allocations: 156.2 MB / 0.5131 GB, free: 15.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.07984/0.8327, allocations: 33.34 MB / 0.5456 GB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03456/0.8673, allocations: 0.76 MB / 0.5464 GB, free: 292 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02518/0.8925, allocations: 8.094 MB / 0.5543 GB, free: 8.328 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07684/0.9694, allocations: 21.95 MB / 0.5757 GB, free: 4.234 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01027/0.9797, allocations: 1.674 MB / 0.5774 GB, free: 2.559 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0787/1.058, allocations: 36.43 MB / 0.6129 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03286/1.091, allocations: 15.58 MB / 0.6282 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006826/1.098, allocations: 3.083 MB / 0.6312 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008235/1.106, allocations: 4.217 MB / 0.6353 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.002509/1.109, allocations: 448 kB / 0.6357 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00457/1.114, allocations: 1.206 MB / 0.6369 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.007751/1.121, allocations: 4.992 MB / 0.6418 GB, free: 428 kB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.004776/1.126, allocations: 2.494 MB / 0.6442 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.02497/1.151, allocations: 16.8 MB / 0.6606 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.142e-06/1.151, allocations: 4 kB / 0.6606 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.09e-06/1.151, allocations: 0 / 0.6606 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004523/1.152, allocations: 0 / 0.6606 GB, free: 13.06 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.6023/1.754, allocations: 13.32 MB / 0.6736 GB, free: 217 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.754, allocations: 9.531 kB / 0.6736 GB, free: 217 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09909/1.853, allocations: 14.93 MB / 0.6882 GB, free: 212.7 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02123/1.875, allocations: 9.172 MB / 0.6972 GB, free: 204.6 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007606/1.875, allocations: 0.7408 MB / 0.6979 GB, free: 203.9 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003386/1.879, allocations: 0.9888 MB / 0.6989 GB, free: 203 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06532/1.944, allocations: 30.06 MB / 0.7282 GB, free: 171.8 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004842/1.945, allocations: 122.9 kB / 0.7283 GB, free: 171.7 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002714/1.947, allocations: 468.1 kB / 0.7288 GB, free: 171.4 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007828/1.955, allocations: 4.992 MB / 0.7336 GB, free: 166.4 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09117/2.046, allocations: 25.1 MB / 0.7582 GB, free: 141.3 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1699/2.216, allocations: 111.5 MB / 0.8671 GB, free: 27.91 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04966/2.266, allocations: 15.08 MB / 0.8818 GB, free: 12.64 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3142/2.58, allocations: 20.28 MB / 0.9016 GB, free: 194.7 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.135e-05/2.58, allocations: 100.3 kB / 0.9017 GB, free: 194.6 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=566): time 1.26e-05/2.58, allocations: 0 / 0.9017 GB, free: 194.6 MB / 0.5262 GB Notification: Performance of matching and sorting (n=650): time 0.2348/2.815, allocations: 73.49 MB / 0.9735 GB, free: 144.7 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/2.815, allocations: 389.5 kB / 0.9738 GB, free: 144.3 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02288/2.838, allocations: 12.5 MB / 0.9861 GB, free: 131.8 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001389/2.84, allocations: 122.3 kB / 0.9862 GB, free: 131.7 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00553/2.845, allocations: 7.835 MB / 0.9938 GB, free: 123.9 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00313/2.848, allocations: 2.38 MB / 0.9961 GB, free: 121.5 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001929/2.85, allocations: 309.6 kB / 0.9964 GB, free: 121.2 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001163/2.852, allocations: 0.9638 MB / 0.9974 GB, free: 120.2 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.014/2.866, allocations: 6.947 MB / 1.004 GB, free: 113.3 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01818/2.884, allocations: 15.23 MB / 1.019 GB, free: 94.29 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/2.902, allocations: 10.07 MB / 1.029 GB, free: 84.46 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002228/2.902, allocations: 82.81 kB / 1.029 GB, free: 84.38 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2005) (initialization): time 0.0519/2.954, allocations: 24.63 MB / 1.053 GB, free: 59.73 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002214/2.954, allocations: 128 kB / 1.053 GB, free: 59.61 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000321/2.954, allocations: 288 kB / 1.053 GB, free: 59.32 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/2.965, allocations: 3.497 MB / 1.057 GB, free: 55.81 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01574/2.981, allocations: 3.692 MB / 1.06 GB, free: 52.11 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.334/3.315, allocations: 24.43 MB / 1.084 GB, free: 164.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01554/3.331, allocations: 0.9146 MB / 1.085 GB, free: 164.6 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003117/3.334, allocations: 0.8767 MB / 1.086 GB, free: 164.5 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1307 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1867): * Single equations (assignments): 1856 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0133/3.347, allocations: 5.656 MB / 1.092 GB, free: 162.3 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002981/3.35, allocations: 1.068 MB / 1.093 GB, free: 162.3 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03488/3.385, allocations: 15.22 MB / 1.107 GB, free: 156.9 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001005/3.385, allocations: 67.22 kB / 1.108 GB, free: 156.9 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.054e-05/3.385, allocations: 22.73 kB / 1.108 GB, free: 156.9 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000137/3.385, allocations: 33.61 kB / 1.108 GB, free: 156.9 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07674/3.462, allocations: 33.23 MB / 1.14 GB, free: 144.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-05/3.462, allocations: 10.41 kB / 1.14 GB, free: 144.7 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00765/3.47, allocations: 1.216 MB / 1.141 GB, free: 143.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009859/3.48, allocations: 3.041 MB / 1.144 GB, free: 140.5 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001578/3.482, allocations: 124 kB / 1.144 GB, free: 140.4 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03582/3.517, allocations: 22.98 MB / 1.167 GB, free: 117.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.284e-05/3.517, allocations: 15.94 kB / 1.167 GB, free: 117.1 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04491/3.562, allocations: 23.51 MB / 1.19 GB, free: 93.84 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007003/3.569, allocations: 2.244 MB / 1.192 GB, free: 91.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003355/3.573, allocations: 120 kB / 1.192 GB, free: 91.73 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008314/3.581, allocations: 450.1 kB / 1.192 GB, free: 91.29 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002077/3.583, allocations: 414.2 kB / 1.193 GB, free: 90.89 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001075/3.584, allocations: 168.8 kB / 1.193 GB, free: 90.72 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01673/3.601, allocations: 8.167 MB / 1.201 GB, free: 82.59 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.224e-06/3.601, allocations: 0 / 1.201 GB, free: 82.59 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01719/3.618, allocations: 3.136 MB / 1.204 GB, free: 79.46 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.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 (559): * Single equations (assignments): 552 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(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.001877/3.62, allocations: 313.6 kB / 1.204 GB, free: 79.16 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.03146/3.652, allocations: 17.13 MB / 1.221 GB, free: 62.11 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/3.652, allocations: 0 / 1.221 GB, free: 62.11 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01575/3.668, allocations: 7.395 MB / 1.228 GB, free: 54.7 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008609/3.676, allocations: 1.331 MB / 1.23 GB, free: 53.39 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06426/3.741, allocations: 36.49 MB / 1.265 GB, free: 16.84 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3125/4.053, allocations: 8.776 MB / 1.274 GB, free: 163.6 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005856/4.059, allocations: 0.8461 MB / 1.275 GB, free: 163.6 MB / 0.5262 GB Notification: Performance of SimCode: time 1.949e-06/4.059, allocations: 0 / 1.275 GB, free: 163.6 MB / 0.5262 GB Notification: Performance of Templates: time 0.8366/4.896, allocations: 370.3 MB / 1.636 GB, free: 14.34 MB / 0.5262 GB