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.FrameForces2.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.FrameForces2,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.FrameForces2") Notification: Performance of loadModel(ModelicaTest): time 2.128/2.128, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004717, allocations: 12 kB / 314.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2754, allocations: 54.87 MB / 369.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.1373/0.4127, allocations: 102.3 MB / 471.5 MB, free: 4.039 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3354/0.7481, allocations: 22.66 MB / 494.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02206/0.7702, allocations: 0.4962 MB / 494.6 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01563/0.7859, allocations: 5.303 MB / 499.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04655/0.8325, allocations: 14.58 MB / 0.5025 GB, free: 11.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006671/0.8392, allocations: 1.229 MB / 0.5037 GB, free: 10.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.06983/0.9091, allocations: 34.47 MB / 0.5373 GB, free: 5.168 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0178/0.927, allocations: 9.581 MB / 0.5467 GB, free: 14.17 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004974/0.932, allocations: 2.114 MB / 0.5487 GB, free: 12.48 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00575/0.9378, allocations: 2.939 MB / 0.5516 GB, free: 10.06 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001686/0.9395, allocations: 296 kB / 0.5519 GB, free: 9.77 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004088/0.9436, allocations: 1.201 MB / 0.5531 GB, free: 8.758 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005214/0.9489, allocations: 3.359 MB / 0.5563 GB, free: 6.023 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002959/0.9519, allocations: 1.659 MB / 0.558 GB, free: 5.113 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01705/0.9689, allocations: 11.46 MB / 0.5692 GB, free: 11.15 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.172e-06/0.969, allocations: 0 / 0.5692 GB, free: 11.15 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.839e-06/0.969, allocations: 0 / 0.5692 GB, free: 11.15 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002949/0.9693, allocations: 3.938 kB / 0.5692 GB, free: 11.15 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.02525/0.9946, allocations: 8.777 MB / 0.5777 GB, free: 3.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.9946, allocations: 12.03 kB / 0.5777 GB, free: 3.059 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09836/1.093, allocations: 14.23 MB / 0.5916 GB, free: 6.145 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01832/1.111, allocations: 7.095 MB / 0.5986 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005478/1.112, allocations: 479.9 kB / 0.599 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002387/1.114, allocations: 0.6396 MB / 0.5996 GB, free: 128 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04704/1.161, allocations: 19.2 MB / 0.6184 GB, free: 1.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003885/1.162, allocations: 82.03 kB / 0.6185 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001741/1.164, allocations: 304.4 kB / 0.6188 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006279/1.17, allocations: 3.182 MB / 0.6219 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04457/1.215, allocations: 15.87 MB / 0.6374 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.724/1.939, allocations: 69.93 MB / 0.7057 GB, free: 173.4 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02721/1.966, allocations: 8.227 MB / 0.7137 GB, free: 171.7 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008097/1.967, allocations: 0.6659 MB / 0.7143 GB, free: 171.1 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.107e-05/1.967, allocations: 72.31 kB / 0.7144 GB, free: 171.1 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=307): time 7.941e-06/1.967, allocations: 0 / 0.7144 GB, free: 171.1 MB / 0.5262 GB Notification: Performance of matching and sorting (n=331): time 0.1081/2.075, allocations: 31.86 MB / 0.7455 GB, free: 147.8 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.84e-05/2.075, allocations: 299.5 kB / 0.7458 GB, free: 147.4 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01389/2.089, allocations: 8.1 MB / 0.7537 GB, free: 139.3 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006117/2.09, allocations: 78.95 kB / 0.7538 GB, free: 139.3 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003647/2.093, allocations: 5.273 MB / 0.7589 GB, free: 134 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001511/2.095, allocations: 1.25 MB / 0.7602 GB, free: 132.8 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007616/2.095, allocations: 184 kB / 0.7603 GB, free: 132.6 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0005117/2.096, allocations: 0.7068 MB / 0.761 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006961/2.103, allocations: 3.575 MB / 0.7645 GB, free: 128.3 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009794/2.113, allocations: 9.049 MB / 0.7734 GB, free: 116.7 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009704/2.123, allocations: 5.525 MB / 0.7788 GB, free: 111.3 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001494/2.123, allocations: 56 kB / 0.7788 GB, free: 111.2 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.02735/2.15, allocations: 13.1 MB / 0.7916 GB, free: 98.09 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/2.15, allocations: 88 kB / 0.7917 GB, free: 98.01 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001954/2.151, allocations: 192 kB / 0.7919 GB, free: 97.82 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003924/2.154, allocations: 1.299 MB / 0.7931 GB, free: 96.52 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008898/2.163, allocations: 2.222 MB / 0.7953 GB, free: 94.29 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/2.18, allocations: 12.69 MB / 0.8077 GB, free: 81.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008772/2.189, allocations: 0.5244 MB / 0.8082 GB, free: 80.58 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/2.19, allocations: 0.5507 MB / 0.8087 GB, free: 80.03 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1141): * Single equations (assignments): 1134 * 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 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007115/2.198, allocations: 3.729 MB / 0.8124 GB, free: 76.28 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/2.199, allocations: 0.6595 MB / 0.813 GB, free: 75.61 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/2.212, allocations: 6.389 MB / 0.8193 GB, free: 69.19 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.456e-05/2.212, allocations: 39.95 kB / 0.8193 GB, free: 69.15 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/2.212, allocations: 12 kB / 0.8193 GB, free: 69.14 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.145e-05/2.212, allocations: 15.94 kB / 0.8193 GB, free: 69.12 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03463/2.247, allocations: 15.52 MB / 0.8345 GB, free: 53.62 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-05/2.247, allocations: 4 kB / 0.8345 GB, free: 53.61 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003774/2.25, allocations: 0.5929 MB / 0.8351 GB, free: 53.02 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00357/2.254, allocations: 0.9631 MB / 0.836 GB, free: 52.05 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006418/2.255, allocations: 63.98 kB / 0.8361 GB, free: 51.98 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01498/2.27, allocations: 11.54 MB / 0.8473 GB, free: 39.94 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.714e-06/2.27, allocations: 3.938 kB / 0.8473 GB, free: 39.93 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0194/2.289, allocations: 10.4 MB / 0.8575 GB, free: 29.44 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00364/2.293, allocations: 1.23 MB / 0.8587 GB, free: 28.18 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001617/2.295, allocations: 52.78 kB / 0.8587 GB, free: 28.13 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004232/2.299, allocations: 224.6 kB / 0.859 GB, free: 27.91 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008128/2.3, allocations: 194.3 kB / 0.8591 GB, free: 27.72 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003431/2.3, allocations: 80 kB / 0.8592 GB, free: 27.64 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01013/2.31, allocations: 5.261 MB / 0.8644 GB, free: 22.42 MB / 0.5262 GB Notification: Performance of sort global known variables: time 9.16e-07/2.31, allocations: 0 / 0.8644 GB, free: 22.42 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01034/2.321, allocations: 1.868 MB / 0.8662 GB, free: 20.56 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (276): * Single equations (assignments): 269 * 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 {(1,100.0%) 10,(1,100.0%) 10,(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.0009793/2.322, allocations: 213.4 kB / 0.8664 GB, free: 20.35 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01651/2.338, allocations: 9.051 MB / 0.8752 GB, free: 11.29 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 8.48e-06/2.338, allocations: 0 / 0.8752 GB, free: 11.29 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.005682/2.344, allocations: 3.339 MB / 0.8785 GB, free: 7.906 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005058/2.349, allocations: 0.9216 MB / 0.8794 GB, free: 6.984 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3542/2.703, allocations: 21.74 MB / 0.9006 GB, free: 195.4 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0117/2.715, allocations: 5.91 MB / 0.9064 GB, free: 194.5 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002626/2.718, allocations: 0.511 MB / 0.9069 GB, free: 194.5 MB / 0.5262 GB Notification: Performance of SimCode: time 2.126e-06/2.718, allocations: 0 / 0.9069 GB, free: 194.5 MB / 0.5262 GB Notification: Performance of Templates: time 0.5785/3.296, allocations: 236.9 MB / 1.138 GB, free: 143.4 MB / 0.5262 GB