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.Parts.Rotor1D.Rotor1D_3.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.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.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadModel(ModelicaTest): time 2.22/2.22, allocations: 234.9 MB / 250.5 MB, free: 9.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004363/0.0004363, allocations: 15.94 kB / 314.4 MB, free: 9.664 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2931, allocations: 54.85 MB / 369.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.4486, allocations: 102.8 MB / 472 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.4489, allocations: 87.95 kB / 472.1 MB, free: 5.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5993/1.048, allocations: 97.15 MB / 0.5559 GB, free: 77.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.969e-06/1.048, allocations: 0 / 0.5559 GB, free: 77.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002383/1.049, allocations: 96 kB / 0.556 GB, free: 77.66 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.02066/1.069, allocations: 5.77 MB / 0.5616 GB, free: 71.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/1.069, allocations: 12.02 kB / 0.5616 GB, free: 71.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01233/1.082, allocations: 2.317 MB / 0.5639 GB, free: 69.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/1.096, allocations: 4.997 MB / 0.5688 GB, free: 64.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004172/1.096, allocations: 398.2 kB / 0.5692 GB, free: 64.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002122/1.098, allocations: 0.5115 MB / 0.5697 GB, free: 63.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03056/1.129, allocations: 12.98 MB / 0.5823 GB, free: 49.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002571/1.129, allocations: 71.31 kB / 0.5824 GB, free: 49.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001796/1.131, allocations: 247.8 kB / 0.5827 GB, free: 49.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002012/1.133, allocations: 1.212 MB / 0.5838 GB, free: 47.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02725/1.16, allocations: 11.29 MB / 0.5949 GB, free: 36.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0778/1.238, allocations: 55.76 MB / 0.6493 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02062/1.259, allocations: 5.329 MB / 0.6545 GB, free: 5.887 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002039/1.261, allocations: 1.014 MB / 0.6555 GB, free: 4.707 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.899e-05/1.261, allocations: 59.86 kB / 0.6556 GB, free: 4.641 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 9.49e-06/1.261, allocations: 0 / 0.6556 GB, free: 4.641 MB / 458.7 MB Notification: Performance of matching and sorting (n=255): time 0.3703/1.631, allocations: 26.18 MB / 0.6811 GB, free: 117.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/1.631, allocations: 151.1 kB / 0.6813 GB, free: 117.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008433/1.64, allocations: 4.009 MB / 0.6852 GB, free: 116.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005817/1.64, allocations: 60.39 kB / 0.6852 GB, free: 116.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002523/1.643, allocations: 3.428 MB / 0.6886 GB, free: 115 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001292/1.644, allocations: 0.9568 MB / 0.6895 GB, free: 114.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006772/1.645, allocations: 134 kB / 0.6897 GB, free: 114.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00044/1.645, allocations: 0.6001 MB / 0.6902 GB, free: 114.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006695/1.652, allocations: 3.048 MB / 0.6932 GB, free: 114.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008538/1.661, allocations: 6.951 MB / 0.7 GB, free: 109.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008924/1.67, allocations: 4.503 MB / 0.7044 GB, free: 109.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001195/1.67, allocations: 41.5 kB / 0.7044 GB, free: 109.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.02528/1.695, allocations: 10.73 MB / 0.7149 GB, free: 105.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/1.695, allocations: 64.81 kB / 0.715 GB, free: 105.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001737/1.695, allocations: 142.9 kB / 0.7151 GB, free: 105.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003694/1.699, allocations: 1.133 MB / 0.7162 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007478/1.707, allocations: 1.704 MB / 0.7179 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00993/1.717, allocations: 6.035 MB / 0.7238 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007278/1.724, allocations: 422 kB / 0.7242 GB, free: 102.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001307/1.725, allocations: 432.7 kB / 0.7246 GB, free: 102.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (852): * Single equations (assignments): 848 * 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.005416/1.731, allocations: 2.414 MB / 0.727 GB, free: 101 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.732, allocations: 409.8 kB / 0.7273 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/1.745, allocations: 5.674 MB / 0.7329 GB, free: 98.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.016e-05/1.745, allocations: 31.16 kB / 0.7329 GB, free: 98.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/1.745, allocations: 5.812 kB / 0.7329 GB, free: 98.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.74e-05/1.745, allocations: 15.86 kB / 0.7329 GB, free: 98.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02763/1.772, allocations: 12.36 MB / 0.745 GB, free: 91.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/1.772, allocations: 0 / 0.745 GB, free: 91.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003349/1.776, allocations: 0.5066 MB / 0.7455 GB, free: 91.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003121/1.779, allocations: 0.9395 MB / 0.7464 GB, free: 90.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005491/1.78, allocations: 55 kB / 0.7465 GB, free: 90.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008936/1.788, allocations: 5.764 MB / 0.7521 GB, free: 85.38 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.115e-06/1.789, allocations: 7.938 kB / 0.7521 GB, free: 85.37 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/1.806, allocations: 9.977 MB / 0.7619 GB, free: 76.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002634/1.809, allocations: 0.9144 MB / 0.7627 GB, free: 75.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/1.81, allocations: 47.12 kB / 0.7628 GB, free: 75.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002749/1.813, allocations: 188.9 kB / 0.763 GB, free: 75.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000538/1.813, allocations: 158.8 kB / 0.7631 GB, free: 75.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003088/1.814, allocations: 74.64 kB / 0.7632 GB, free: 75.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005027/1.819, allocations: 2.814 MB / 0.7659 GB, free: 73.06 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.76e-07/1.819, allocations: 0 / 0.7659 GB, free: 73.06 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007235/1.826, allocations: 1.259 MB / 0.7672 GB, free: 71.8 MB / 474.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 () * Number of clocked 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.0006432/1.827, allocations: 200 kB / 0.7674 GB, free: 71.62 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01353/1.84, allocations: 7.294 MB / 0.7745 GB, free: 65.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.928e-06/1.84, allocations: 4 kB / 0.7745 GB, free: 65.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00537/1.846, allocations: 2.78 MB / 0.7772 GB, free: 62.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/1.849, allocations: 456.2 kB / 0.7776 GB, free: 62.47 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/1.874, allocations: 14.65 MB / 0.792 GB, free: 49.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006411/1.881, allocations: 3.901 MB / 0.7958 GB, free: 45.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002141/1.883, allocations: 359.3 kB / 0.7961 GB, free: 45.19 MB / 474.7 MB Notification: Performance of SimCode: time 1.951e-06/1.883, allocations: 0 / 0.7961 GB, free: 45.19 MB / 474.7 MB Notification: Performance of Templates: time 0.4158/2.299, allocations: 91.02 MB / 0.885 GB, free: 104.2 MB / 490.7 MB