Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.962/1.962, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004435, allocations: 12 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3499, allocations: 48.71 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.5177, allocations: 95.2 MB / 427 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.518, allocations: 87.95 kB / 427.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6239/1.142, allocations: 84.4 MB / 0.4995 GB, free: 91.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.537e-06/1.142, allocations: 0 / 0.4995 GB, free: 91.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002711/1.142, allocations: 78.38 kB / 0.4996 GB, free: 91.93 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02639/1.169, allocations: 4.747 MB / 0.5042 GB, free: 88.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.169, allocations: 15 kB / 0.5042 GB, free: 88.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01691/1.186, allocations: 2.206 MB / 0.5064 GB, free: 87.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01598/1.202, allocations: 4.527 MB / 0.5108 GB, free: 85.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003426/1.202, allocations: 324.4 kB / 0.5111 GB, free: 85.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002527/1.205, allocations: 425.7 kB / 0.5115 GB, free: 85.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03177/1.236, allocations: 10.79 MB / 0.5221 GB, free: 74.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002292/1.237, allocations: 67.34 kB / 0.5221 GB, free: 74.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001393/1.238, allocations: 203.3 kB / 0.5223 GB, free: 74.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002338/1.24, allocations: 1.004 MB / 0.5233 GB, free: 73.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02801/1.269, allocations: 9.066 MB / 0.5322 GB, free: 64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0885/1.357, allocations: 47.41 MB / 0.5785 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01874/1.376, allocations: 3.603 MB / 0.582 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/1.387, allocations: 4.742 MB / 0.5866 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/1.387, allocations: 51.5 kB / 0.5866 GB, free: 6.582 MB / 394.7 MB Notification: Performance of pre-optimization done (n=142): time 5.341e-06/1.387, allocations: 0 / 0.5866 GB, free: 6.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=148): time 0.04892/1.436, allocations: 12.56 MB / 0.5989 GB, free: 9.859 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.436, allocations: 141.5 kB / 0.599 GB, free: 9.688 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00975/1.446, allocations: 4.078 MB / 0.603 GB, free: 5.582 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004319/1.446, allocations: 45.7 kB / 0.6031 GB, free: 5.531 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003151/1.449, allocations: 3.058 MB / 0.6061 GB, free: 2.477 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.45, allocations: 0.5995 MB / 0.6066 GB, free: 1.883 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004861/1.451, allocations: 112.3 kB / 0.6068 GB, free: 1.773 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004779/1.451, allocations: 0.5545 MB / 0.6073 GB, free: 1.207 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005801/1.457, allocations: 1.954 MB / 0.6092 GB, free: 15.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009379/1.467, allocations: 5.638 MB / 0.6147 GB, free: 7.758 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008447/1.475, allocations: 3.229 MB / 0.6179 GB, free: 4.523 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.841e-05/1.475, allocations: 36 kB / 0.6179 GB, free: 4.488 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.3339/1.809, allocations: 7.92 MB / 0.6256 GB, free: 105.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/1.809, allocations: 61.19 kB / 0.6257 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002727/1.81, allocations: 134.7 kB / 0.6258 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004527/1.814, allocations: 0.916 MB / 0.6267 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008741/1.823, allocations: 1.354 MB / 0.628 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/1.833, allocations: 4.869 MB / 0.6328 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006607/1.84, allocations: 322.2 kB / 0.6331 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001558/1.842, allocations: 370 kB / 0.6335 GB, free: 103.9 MB / 426.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.005944/1.848, allocations: 2.074 MB / 0.6355 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009476/1.849, allocations: 346.7 kB / 0.6358 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009513/1.858, allocations: 2.89 MB / 0.6386 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.633e-05/1.858, allocations: 17.81 kB / 0.6386 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/1.858, allocations: 7.062 kB / 0.6387 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.064e-05/1.858, allocations: 7.219 kB / 0.6387 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02177/1.88, allocations: 7.156 MB / 0.6456 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.463e-05/1.88, allocations: 2.312 kB / 0.6457 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002457/1.883, allocations: 250.5 kB / 0.6459 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003652/1.886, allocations: 0.6979 MB / 0.6466 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003909/1.887, allocations: 28.92 kB / 0.6466 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008545/1.895, allocations: 4.456 MB / 0.6509 GB, free: 100 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.895, allocations: 0 / 0.6509 GB, free: 100 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/1.909, allocations: 5.162 MB / 0.656 GB, free: 98.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00228/1.911, allocations: 0.6104 MB / 0.6566 GB, free: 97.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/1.912, allocations: 25.77 kB / 0.6566 GB, free: 97.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00276/1.915, allocations: 93.02 kB / 0.6567 GB, free: 97.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004008/1.915, allocations: 84.25 kB / 0.6568 GB, free: 97.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/1.916, allocations: 40.73 kB / 0.6568 GB, free: 97.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006361/1.922, allocations: 2.54 MB / 0.6593 GB, free: 97 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.922, allocations: 0 / 0.6593 GB, free: 97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007227/1.929, allocations: 0.9494 MB / 0.6602 GB, free: 96.89 MB / 426.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.0006879/1.93, allocations: 168.6 kB / 0.6604 GB, free: 96.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01141/1.941, allocations: 4.703 MB / 0.665 GB, free: 95.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.942, allocations: 3.375 kB / 0.665 GB, free: 95.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003156/1.945, allocations: 1.381 MB / 0.6663 GB, free: 94.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/1.948, allocations: 404.9 kB / 0.6667 GB, free: 94.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02388/1.972, allocations: 10.9 MB / 0.6774 GB, free: 89.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005483/1.978, allocations: 3.323 MB / 0.6806 GB, free: 87.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001463/1.979, allocations: 276.6 kB / 0.6809 GB, free: 86.81 MB / 426.7 MB Notification: Performance of SimCode: time 1.553e-06/1.979, allocations: 0 / 0.6809 GB, free: 86.81 MB / 426.7 MB Notification: Performance of Templates: time 0.1314/2.111, allocations: 71.21 MB / 0.7504 GB, free: 20.09 MB / 426.7 MB