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.Parts.Rotor1D.Rotor1D_2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 1.919/1.919, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.841e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2638, allocations: 48.69 MB / 320 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.4048, allocations: 94.44 MB / 414.5 MB, free: 1.867 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.4051, allocations: 79.95 kB / 414.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5157/0.9209, allocations: 82.35 MB / 496.9 MB, free: 75.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.558e-06/0.9209, allocations: 0 / 496.9 MB, free: 75.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000212/0.9211, allocations: 80 kB / 497 MB, free: 75.47 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0171/0.9383, allocations: 4.496 MB / 0.4897 GB, free: 70.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.9383, allocations: 12.03 kB / 0.4897 GB, free: 70.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.9507, allocations: 2.209 MB / 0.4919 GB, free: 68.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/0.9636, allocations: 4.5 MB / 0.4963 GB, free: 64.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.9638, allocations: 136 kB / 0.4964 GB, free: 64.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00167/0.9655, allocations: 251.9 kB / 0.4966 GB, free: 63.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01316/0.9787, allocations: 6.407 MB / 0.5029 GB, free: 57.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/0.9984, allocations: 9.61 MB / 0.5123 GB, free: 46.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001887/0.9987, allocations: 63.41 kB / 0.5123 GB, free: 46.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009573/0.9996, allocations: 28 kB / 0.5124 GB, free: 46.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0017/1.001, allocations: 1.016 MB / 0.5134 GB, free: 45.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05342/1.055, allocations: 45.41 MB / 0.5577 GB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005744/1.061, allocations: 3.225 MB / 0.5609 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00329/1.064, allocations: 1.755 MB / 0.5626 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01058/1.075, allocations: 4.624 MB / 0.5671 GB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.047e-05/1.075, allocations: 59.27 kB / 0.5671 GB, free: 5.141 MB / 394.7 MB Notification: Performance of pre-optimization done (n=142): time 5.249e-06/1.075, allocations: 0 / 0.5671 GB, free: 5.141 MB / 394.7 MB Notification: Performance of matching and sorting (n=148): time 0.0295/1.104, allocations: 11.06 MB / 0.5779 GB, free: 9.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.104, allocations: 145.2 kB / 0.5781 GB, free: 9.805 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007094/1.111, allocations: 3.068 MB / 0.5811 GB, free: 6.742 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003126/1.112, allocations: 25.7 kB / 0.5811 GB, free: 6.711 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003285/1.115, allocations: 3.173 MB / 0.5842 GB, free: 3.492 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009819/1.116, allocations: 0.5864 MB / 0.5848 GB, free: 2.898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005047/1.117, allocations: 0 / 0.5848 GB, free: 2.898 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005898/1.117, allocations: 0.5589 MB / 0.5853 GB, free: 2.328 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004275/1.122, allocations: 1.827 MB / 0.5871 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2489/1.37, allocations: 5.638 MB / 0.5926 GB, free: 94.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006298/1.377, allocations: 3.175 MB / 0.5957 GB, free: 94.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001839/1.377, allocations: 41.66 kB / 0.5958 GB, free: 94.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.01768/1.395, allocations: 7.196 MB / 0.6028 GB, free: 94.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/1.395, allocations: 64.38 kB / 0.6028 GB, free: 94.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001625/1.395, allocations: 136.8 kB / 0.603 GB, free: 94.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002987/1.398, allocations: 0.9136 MB / 0.6039 GB, free: 94.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005405/1.403, allocations: 1.409 MB / 0.6052 GB, free: 94.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006758/1.41, allocations: 4.605 MB / 0.6097 GB, free: 92.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005721/1.416, allocations: 220.4 kB / 0.61 GB, free: 92.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001256/1.417, allocations: 376.4 kB / 0.6103 GB, free: 92.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (741): * Single equations (assignments): 737 * 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.001258/1.419, allocations: 449.8 kB / 0.6107 GB, free: 92.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006523/1.419, allocations: 304.8 kB / 0.611 GB, free: 92.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006128/1.425, allocations: 2.724 MB / 0.6137 GB, free: 92.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.415e-05/1.426, allocations: 16.69 kB / 0.6137 GB, free: 92.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.426, allocations: 3.844 kB / 0.6137 GB, free: 92.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.753e-05/1.426, allocations: 13.38 kB / 0.6137 GB, free: 92.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/1.44, allocations: 6.208 MB / 0.6198 GB, free: 91.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/1.441, allocations: 3.969 kB / 0.6198 GB, free: 91.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/1.442, allocations: 251.8 kB / 0.62 GB, free: 91.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002627/1.445, allocations: 0.6944 MB / 0.6207 GB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002739/1.445, allocations: 7.641 kB / 0.6207 GB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006261/1.451, allocations: 4.189 MB / 0.6248 GB, free: 88.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.712e-06/1.451, allocations: 5.609 kB / 0.6248 GB, free: 88.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009193/1.461, allocations: 5 MB / 0.6297 GB, free: 86.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/1.462, allocations: 0.575 MB / 0.6303 GB, free: 86.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004906/1.463, allocations: 2.5 kB / 0.6303 GB, free: 86.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/1.464, allocations: 69.84 kB / 0.6303 GB, free: 86.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/1.465, allocations: 83.56 kB / 0.6304 GB, free: 86.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/1.465, allocations: 50.41 kB / 0.6305 GB, free: 86.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003915/1.469, allocations: 2.038 MB / 0.6324 GB, free: 85.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.171e-06/1.469, allocations: 4 kB / 0.6324 GB, free: 85.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006413/1.475, allocations: 0.8157 MB / 0.6332 GB, free: 85.61 MB / 410.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 () * 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.0004367/1.476, allocations: 131.2 kB / 0.6334 GB, free: 85.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007861/1.484, allocations: 4.395 MB / 0.6377 GB, free: 82.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.737e-06/1.484, allocations: 0 / 0.6377 GB, free: 82.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00208/1.486, allocations: 1.306 MB / 0.6389 GB, free: 81.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/1.488, allocations: 313.1 kB / 0.6392 GB, free: 81.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/1.504, allocations: 7.578 MB / 0.6466 GB, free: 74.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005606/1.51, allocations: 3.321 MB / 0.6499 GB, free: 72.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/1.511, allocations: 265 kB / 0.6501 GB, free: 71.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.893e-06/1.511, allocations: 0 / 0.6501 GB, free: 71.93 MB / 410.7 MB Notification: Performance of Templates: time 0.09656/1.608, allocations: 68.8 MB / 0.7173 GB, free: 8.312 MB / 410.7 MB