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_3.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_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadModel(ModelicaTest): time 1.987/1.987, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.13e-05/2.146e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2722, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.416, allocations: 95.21 MB / 415.2 MB, free: 1.195 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.4163, allocations: 79.95 kB / 415.3 MB, free: 1.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5464/0.9628, allocations: 95.21 MB / 0.4985 GB, free: 62.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.988e-06/0.9628, allocations: 0 / 0.4985 GB, free: 62.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002387/0.9631, allocations: 103.9 kB / 0.4986 GB, free: 62.31 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: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.02144/0.9845, allocations: 5.501 MB / 0.504 GB, free: 56.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.9846, allocations: 12.03 kB / 0.504 GB, free: 56.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/0.9971, allocations: 2.317 MB / 0.5063 GB, free: 54.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01367/1.011, allocations: 4.968 MB / 0.5111 GB, free: 49.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/1.011, allocations: 172 kB / 0.5113 GB, free: 49.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002031/1.013, allocations: 299.9 kB / 0.5116 GB, free: 48.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01566/1.029, allocations: 7.813 MB / 0.5192 GB, free: 41.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02247/1.051, allocations: 11.47 MB / 0.5304 GB, free: 28.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002462/1.052, allocations: 67.34 kB / 0.5305 GB, free: 28.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001977/1.054, allocations: 35.95 kB / 0.5305 GB, free: 28.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002065/1.056, allocations: 1.219 MB / 0.5317 GB, free: 27.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0763/1.132, allocations: 53.53 MB / 0.584 GB, free: 4.449 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2491/1.381, allocations: 4.454 MB / 0.5883 GB, free: 91.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005509/1.387, allocations: 3.225 MB / 0.5915 GB, free: 91.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/1.389, allocations: 1.023 MB / 0.5925 GB, free: 90.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/1.389, allocations: 55.27 kB / 0.5925 GB, free: 90.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 6.997e-06/1.389, allocations: 0 / 0.5925 GB, free: 90.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.05979/1.448, allocations: 22.91 MB / 0.6149 GB, free: 87.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/1.449, allocations: 153.4 kB / 0.6151 GB, free: 87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006222/1.455, allocations: 3.291 MB / 0.6183 GB, free: 86.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000558/1.455, allocations: 25.7 kB / 0.6183 GB, free: 86.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00222/1.458, allocations: 3.557 MB / 0.6218 GB, free: 83.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001232/1.459, allocations: 0.9263 MB / 0.6227 GB, free: 83.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006504/1.46, allocations: 3.625 kB / 0.6227 GB, free: 83.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004491/1.46, allocations: 0.611 MB / 0.6233 GB, free: 82.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00558/1.466, allocations: 2.881 MB / 0.6261 GB, free: 81.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007598/1.473, allocations: 6.929 MB / 0.6329 GB, free: 75.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007945/1.481, allocations: 4.406 MB / 0.6372 GB, free: 73.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/1.481, allocations: 41.81 kB / 0.6372 GB, free: 73.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=921) (initialization): time 0.02298/1.504, allocations: 9.879 MB / 0.6468 GB, free: 70.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/1.505, allocations: 67.84 kB / 0.6469 GB, free: 70.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001599/1.505, allocations: 143.7 kB / 0.6471 GB, free: 70.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003584/1.508, allocations: 1.13 MB / 0.6482 GB, free: 70.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007902/1.516, allocations: 1.767 MB / 0.6499 GB, free: 69.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008165/1.524, allocations: 5.62 MB / 0.6554 GB, free: 64.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006894/1.531, allocations: 297.9 kB / 0.6557 GB, free: 64.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001619/1.533, allocations: 441.6 kB / 0.6561 GB, free: 63.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (882): * Single equations (assignments): 878 * 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.001841/1.535, allocations: 480.6 kB / 0.6565 GB, free: 63.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/1.536, allocations: 371.2 kB / 0.6569 GB, free: 62.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/1.547, allocations: 5.359 MB / 0.6621 GB, free: 58.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.366e-05/1.547, allocations: 34.91 kB / 0.6622 GB, free: 58.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/1.547, allocations: 4 kB / 0.6622 GB, free: 58.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.082e-05/1.547, allocations: 15.88 kB / 0.6622 GB, free: 58.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02387/1.571, allocations: 11.16 MB / 0.6731 GB, free: 49.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.549e-05/1.571, allocations: 4 kB / 0.6731 GB, free: 49.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003443/1.574, allocations: 0.5091 MB / 0.6736 GB, free: 49.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003144/1.578, allocations: 0.937 MB / 0.6745 GB, free: 48.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000549/1.578, allocations: 18.62 kB / 0.6745 GB, free: 48.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008092/1.586, allocations: 5.336 MB / 0.6797 GB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.444e-06/1.586, allocations: 3.938 kB / 0.6797 GB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/1.603, allocations: 9.571 MB / 0.6891 GB, free: 35.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002482/1.605, allocations: 0.8578 MB / 0.6899 GB, free: 34.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000882/1.606, allocations: 4 kB / 0.6899 GB, free: 34.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003339/1.61, allocations: 154.1 kB / 0.6901 GB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008839/1.611, allocations: 156.2 kB / 0.6902 GB, free: 34.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003259/1.611, allocations: 71.66 kB / 0.6903 GB, free: 34.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004721/1.616, allocations: 2.187 MB / 0.6924 GB, free: 32.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.305e-06/1.616, allocations: 0 / 0.6924 GB, free: 32.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007969/1.624, allocations: 1.087 MB / 0.6935 GB, free: 31.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.0008353/1.625, allocations: 161.7 kB / 0.6936 GB, free: 31.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01242/1.637, allocations: 6.88 MB / 0.7003 GB, free: 25.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.362e-06/1.637, allocations: 0 / 0.7003 GB, free: 25.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004913/1.642, allocations: 2.661 MB / 0.7029 GB, free: 22.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/1.645, allocations: 358.4 kB / 0.7033 GB, free: 22.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/1.668, allocations: 10.52 MB / 0.7136 GB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006916/1.675, allocations: 3.905 MB / 0.7174 GB, free: 8.141 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002185/1.677, allocations: 347.3 kB / 0.7177 GB, free: 7.801 MB / 410.7 MB Notification: Performance of SimCode: time 1.749e-06/1.677, allocations: 0 / 0.7177 GB, free: 7.801 MB / 410.7 MB Notification: Performance of Templates: time 0.3892/2.066, allocations: 87.85 MB / 0.8035 GB, free: 92.18 MB / 442.7 MB