Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 2.195/2.195, allocations: 234.9 MB / 251.1 MB, free: 10.76 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005914/0.0005916, allocations: 12 kB / 314.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.36, allocations: 54.87 MB / 369.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.5457, allocations: 102 MB / 471.8 MB, free: 4.793 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.5461, allocations: 87.95 kB / 471.9 MB, free: 4.707 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6402/1.186, allocations: 84.45 MB / 0.5433 GB, free: 29.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.186, allocations: 0 / 0.5433 GB, free: 29.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002319/1.187, allocations: 80 kB / 0.5434 GB, free: 29.35 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.02671/1.213, allocations: 4.742 MB / 0.548 GB, free: 24.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.213, allocations: 8.031 kB / 0.548 GB, free: 24.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01721/1.231, allocations: 2.209 MB / 0.5502 GB, free: 22.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01657/1.247, allocations: 4.524 MB / 0.5546 GB, free: 17.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/1.248, allocations: 320.4 kB / 0.5549 GB, free: 17.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002452/1.25, allocations: 427.8 kB / 0.5553 GB, free: 16.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03254/1.283, allocations: 10.79 MB / 0.5658 GB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002524/1.283, allocations: 55.5 kB / 0.5659 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001691/1.285, allocations: 203.9 kB / 0.5661 GB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00226/1.287, allocations: 1.014 MB / 0.5671 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03038/1.317, allocations: 9.067 MB / 0.5759 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08872/1.406, allocations: 47.42 MB / 0.6222 GB, free: 9.914 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02057/1.427, allocations: 3.607 MB / 0.6257 GB, free: 6.156 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01351/1.44, allocations: 4.741 MB / 0.6304 GB, free: 1.215 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.819e-05/1.441, allocations: 55.5 kB / 0.6304 GB, free: 1.152 MB / 458.7 MB Notification: Performance of pre-optimization done (n=142): time 5.761e-06/1.441, allocations: 0 / 0.6304 GB, free: 1.152 MB / 458.7 MB Notification: Performance of matching and sorting (n=148): time 0.05564/1.496, allocations: 12.56 MB / 0.6427 GB, free: 4.422 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.496, allocations: 149.5 kB / 0.6428 GB, free: 4.246 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01042/1.507, allocations: 4.058 MB / 0.6468 GB, free: 164 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004716/1.507, allocations: 45.7 kB / 0.6468 GB, free: 112 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3313/1.839, allocations: 3.057 MB / 0.6498 GB, free: 117.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001385/1.84, allocations: 0.5925 MB / 0.6504 GB, free: 117 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008596/1.841, allocations: 113 kB / 0.6505 GB, free: 117 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007104/1.842, allocations: 0.5531 MB / 0.6511 GB, free: 116.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008569/1.85, allocations: 1.953 MB / 0.653 GB, free: 116.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01126/1.862, allocations: 5.631 MB / 0.6585 GB, free: 111.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/1.872, allocations: 3.241 MB / 0.6616 GB, free: 111.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001812/1.872, allocations: 35.31 kB / 0.6617 GB, free: 111.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.0315/1.904, allocations: 7.925 MB / 0.6694 GB, free: 111.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001592/1.904, allocations: 60.47 kB / 0.6695 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002688/1.904, allocations: 137 kB / 0.6696 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00581/1.91, allocations: 0.9067 MB / 0.6705 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008993/1.919, allocations: 1.348 MB / 0.6718 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009589/1.929, allocations: 4.886 MB / 0.6766 GB, free: 109.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006555/1.935, allocations: 318.1 kB / 0.6769 GB, free: 109.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/1.937, allocations: 362.6 kB / 0.6772 GB, free: 109.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (711): * Single equations (assignments): 707 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005726/1.943, allocations: 2.086 MB / 0.6792 GB, free: 109.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008458/1.944, allocations: 342 kB / 0.6796 GB, free: 109.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009362/1.953, allocations: 2.888 MB / 0.6824 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.172e-05/1.953, allocations: 18.59 kB / 0.6824 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.953, allocations: 3.781 kB / 0.6824 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.176e-05/1.953, allocations: 6.562 kB / 0.6824 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/1.974, allocations: 7.156 MB / 0.6894 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.202e-05/1.974, allocations: 3.875 kB / 0.6894 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/1.977, allocations: 252.2 kB / 0.6897 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003644/1.981, allocations: 0.6982 MB / 0.6903 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003205/1.981, allocations: 27.03 kB / 0.6904 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00862/1.99, allocations: 4.444 MB / 0.6947 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.99, allocations: 3.969 kB / 0.6947 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01868/2.008, allocations: 5.154 MB / 0.6997 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003214/2.012, allocations: 0.6117 MB / 0.7003 GB, free: 100.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001715/2.013, allocations: 27 kB / 0.7004 GB, free: 100.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002868/2.016, allocations: 102.5 kB / 0.7005 GB, free: 100.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003615/2.017, allocations: 81.16 kB / 0.7005 GB, free: 100.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/2.017, allocations: 42.66 kB / 0.7006 GB, free: 100.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006534/2.023, allocations: 2.534 MB / 0.7031 GB, free: 99.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.01e-07/2.023, allocations: 0 / 0.7031 GB, free: 99.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006876/2.03, allocations: 0.9575 MB / 0.704 GB, free: 99.87 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (117): * Single equations (assignments): 113 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006027/2.031, allocations: 163.3 kB / 0.7041 GB, free: 99.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01129/2.042, allocations: 4.698 MB / 0.7087 GB, free: 98.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/2.042, allocations: 4 kB / 0.7087 GB, free: 98.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003231/2.046, allocations: 1.38 MB / 0.7101 GB, free: 97.56 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/2.049, allocations: 400.3 kB / 0.7105 GB, free: 97.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02492/2.074, allocations: 10.9 MB / 0.7211 GB, free: 87.48 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007199/2.081, allocations: 3.315 MB / 0.7243 GB, free: 84.96 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/2.082, allocations: 280.7 kB / 0.7246 GB, free: 84.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.473e-06/2.082, allocations: 0 / 0.7246 GB, free: 84.7 MB / 474.7 MB Notification: Performance of Templates: time 0.1594/2.242, allocations: 71.23 MB / 0.7942 GB, free: 20.61 MB / 474.7 MB