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.Force.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,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.Force") Notification: Performance of loadModel(ModelicaTest): time 1.899/1.899, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.0004391, allocations: 8 kB / 282.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3321, allocations: 48.71 MB / 331.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.09851/0.4307, allocations: 73.78 MB / 405 MB, free: 4.582 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04384/0.4746, allocations: 16.57 MB / 421.5 MB, free: 3.961 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01552/0.4901, allocations: 367.1 kB / 421.9 MB, free: 3.602 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01189/0.502, allocations: 3.784 MB / 425.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03633/0.5384, allocations: 10.55 MB / 436.2 MB, free: 5.219 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005077/0.5435, allocations: 0.9011 MB / 437.1 MB, free: 4.316 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.03973/0.5833, allocations: 18.42 MB / 455.6 MB, free: 1.879 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01418/0.5975, allocations: 7.35 MB / 462.9 MB, free: 10.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003685/0.6013, allocations: 1.639 MB / 464.5 MB, free: 8.789 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004469/0.6058, allocations: 2.2 MB / 466.7 MB, free: 6.582 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001348/0.6071, allocations: 224 kB / 467 MB, free: 6.363 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.6105, allocations: 1.034 MB / 468 MB, free: 5.328 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004203/0.6147, allocations: 2.568 MB / 470.6 MB, free: 2.754 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002394/0.6171, allocations: 1.31 MB / 471.9 MB, free: 1.434 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.5323/1.149, allocations: 8.707 MB / 480.6 MB, free: 26.91 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.463e-06/1.149, allocations: 0 / 480.6 MB, free: 26.91 MB / 394.8 MB Notification: Performance of FrontEnd: time 3.396e-06/1.149, allocations: 1.969 kB / 480.6 MB, free: 26.91 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.0003251/1.15, allocations: 0 / 480.6 MB, free: 26.91 MB / 394.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2316 * Number of variables: 2316 Notification: Performance of Generate backend data structure: time 0.02058/1.17, allocations: 7.034 MB / 487.6 MB, free: 24.09 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.17, allocations: 8.719 kB / 487.6 MB, free: 24.09 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07808/1.249, allocations: 8.253 MB / 495.9 MB, free: 22.95 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01212/1.261, allocations: 4.766 MB / 0.4889 GB, free: 21.49 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003975/1.261, allocations: 376.1 kB / 0.4893 GB, free: 21.48 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002188/1.263, allocations: 0.4935 MB / 0.4898 GB, free: 21.46 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03743/1.301, allocations: 15.87 MB / 0.5052 GB, free: 16.2 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003196/1.301, allocations: 62.75 kB / 0.5053 GB, free: 16.2 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002015/1.303, allocations: 233.1 kB / 0.5055 GB, free: 16.2 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004695/1.308, allocations: 2.783 MB / 0.5082 GB, free: 15.64 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04669/1.355, allocations: 13.36 MB / 0.5213 GB, free: 6.883 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1289/1.484, allocations: 60.7 MB / 0.5806 GB, free: 4.359 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.027/1.511, allocations: 7.708 MB / 0.5881 GB, free: 14.12 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02211/1.533, allocations: 9.699 MB / 0.5976 GB, free: 7.039 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.314e-05/1.533, allocations: 68.52 kB / 0.5976 GB, free: 6.984 MB / 458.8 MB Notification: Performance of pre-optimization done (n=273): time 7.999e-06/1.533, allocations: 0 / 0.5976 GB, free: 6.984 MB / 458.8 MB Notification: Performance of matching and sorting (n=315): time 0.1223/1.655, allocations: 33.95 MB / 0.6308 GB, free: 9.055 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001775/1.655, allocations: 243 kB / 0.631 GB, free: 8.77 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0163/1.672, allocations: 7.095 MB / 0.638 GB, free: 1.691 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008026/1.673, allocations: 73.7 kB / 0.638 GB, free: 1.613 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.2422/1.915, allocations: 4.416 MB / 0.6423 GB, free: 198.2 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001858/1.917, allocations: 1.183 MB / 0.6435 GB, free: 197.5 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/1.918, allocations: 174.5 kB / 0.6437 GB, free: 197.5 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0007131/1.919, allocations: 0.6926 MB / 0.6443 GB, free: 197.2 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00905/1.928, allocations: 3.651 MB / 0.6479 GB, free: 196.8 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01174/1.939, allocations: 8.793 MB / 0.6565 GB, free: 188.7 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/1.95, allocations: 5.534 MB / 0.6619 GB, free: 186.7 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001539/1.95, allocations: 50.97 kB / 0.6619 GB, free: 186.7 MB / 490.8 MB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.03001/1.98, allocations: 13.49 MB / 0.6751 GB, free: 181.6 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001549/1.98, allocations: 84 kB / 0.6752 GB, free: 181.5 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002024/1.981, allocations: 179.9 kB / 0.6754 GB, free: 181.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005497/1.986, allocations: 1.795 MB / 0.6771 GB, free: 180 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008832/1.995, allocations: 2.102 MB / 0.6792 GB, free: 178.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01826/2.013, allocations: 12.19 MB / 0.6911 GB, free: 167.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009619/2.023, allocations: 0.5236 MB / 0.6916 GB, free: 166.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001956/2.025, allocations: 0.5273 MB / 0.6921 GB, free: 166.4 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 819 * Number of states: 0 () * Number of discrete variables: 60 (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 (1079): * Single equations (assignments): 1072 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007679/2.033, allocations: 3.141 MB / 0.6952 GB, free: 163.6 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/2.034, allocations: 0.5862 MB / 0.6957 GB, free: 163 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01658/2.051, allocations: 7.009 MB / 0.7026 GB, free: 156.6 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-05/2.051, allocations: 32 kB / 0.7026 GB, free: 156.6 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.525e-05/2.051, allocations: 15.52 kB / 0.7026 GB, free: 156.6 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.316e-05/2.051, allocations: 11.95 kB / 0.7026 GB, free: 156.6 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03697/2.088, allocations: 15.53 MB / 0.7178 GB, free: 141.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.229e-05/2.088, allocations: 4 kB / 0.7178 GB, free: 141.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003644/2.092, allocations: 0.5577 MB / 0.7184 GB, free: 140.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005058/2.097, allocations: 1.507 MB / 0.7198 GB, free: 139 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008325/2.098, allocations: 55.95 kB / 0.7199 GB, free: 138.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01776/2.115, allocations: 11.4 MB / 0.731 GB, free: 127.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-06/2.115, allocations: 14.25 kB / 0.731 GB, free: 127.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0218/2.137, allocations: 11.39 MB / 0.7421 GB, free: 115.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003995/2.141, allocations: 1.184 MB / 0.7433 GB, free: 114.5 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002001/2.143, allocations: 63.98 kB / 0.7434 GB, free: 114.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004703/2.148, allocations: 209 kB / 0.7436 GB, free: 114.2 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001093/2.149, allocations: 193.9 kB / 0.7437 GB, free: 114.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003549/2.15, allocations: 84 kB / 0.7438 GB, free: 114 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.009989/2.16, allocations: 4.583 MB / 0.7483 GB, free: 109.4 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.407e-06/2.16, allocations: 0 / 0.7483 GB, free: 109.4 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01064/2.17, allocations: 1.663 MB / 0.7499 GB, free: 107.8 MB / 490.8 MB 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 (260): * Single equations (assignments): 255 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001103/2.171, allocations: 217.8 kB / 0.7501 GB, free: 107.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0164/2.188, allocations: 8.929 MB / 0.7589 GB, free: 98.61 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.853e-06/2.188, allocations: 0 / 0.7589 GB, free: 98.61 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007324/2.195, allocations: 3.568 MB / 0.7623 GB, free: 95.03 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00485/2.2, allocations: 0.6956 MB / 0.763 GB, free: 94.34 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0342/2.234, allocations: 18.81 MB / 0.7814 GB, free: 75.43 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009551/2.244, allocations: 4.92 MB / 0.7862 GB, free: 70.47 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002691/2.247, allocations: 479.3 kB / 0.7867 GB, free: 70 MB / 490.8 MB Notification: Performance of SimCode: time 1.71e-06/2.247, allocations: 0 / 0.7867 GB, free: 70 MB / 490.8 MB Notification: Performance of Templates: time 0.4441/2.691, allocations: 145.5 MB / 0.9288 GB, free: 113.6 MB / 490.8 MB