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_3.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_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.941/1.941, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004265, allocations: 12 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3493, allocations: 48.7 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1775/0.5269, allocations: 95.96 MB / 427.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.5272, allocations: 91.95 kB / 427.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6664/1.194, allocations: 97.62 MB / 0.5132 GB, free: 84.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.316e-06/1.194, allocations: 0 / 0.5132 GB, free: 84.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002795/1.194, allocations: 107.3 kB / 0.5133 GB, free: 84.46 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: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.03092/1.225, allocations: 5.771 MB / 0.5189 GB, free: 79.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.225, allocations: 8.031 kB / 0.5189 GB, free: 79.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01735/1.242, allocations: 2.333 MB / 0.5212 GB, free: 76.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01811/1.261, allocations: 4.981 MB / 0.526 GB, free: 71.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003907/1.261, allocations: 390.3 kB / 0.5264 GB, free: 71.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002893/1.264, allocations: 0.5115 MB / 0.5269 GB, free: 70.85 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03896/1.303, allocations: 13.02 MB / 0.5396 GB, free: 56.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003456/1.303, allocations: 67.34 kB / 0.5397 GB, free: 56.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002772/1.306, allocations: 251.9 kB / 0.5399 GB, free: 56.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002676/1.309, allocations: 1.212 MB / 0.5411 GB, free: 55.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03517/1.344, allocations: 11.28 MB / 0.5521 GB, free: 43.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09525/1.439, allocations: 55.76 MB / 0.6066 GB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0284/1.468, allocations: 5.322 MB / 0.6118 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002542/1.47, allocations: 1.014 MB / 0.6128 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.221e-05/1.47, allocations: 63.77 kB / 0.6128 GB, free: 11.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=224): time 6.041e-06/1.47, allocations: 7.938 kB / 0.6128 GB, free: 11.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=255): time 0.4878/1.958, allocations: 26.77 MB / 0.639 GB, free: 103.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/1.958, allocations: 153.3 kB / 0.6391 GB, free: 103.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/1.97, allocations: 4.493 MB / 0.6435 GB, free: 102.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007934/1.971, allocations: 68.34 kB / 0.6436 GB, free: 102.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002979/1.974, allocations: 3.428 MB / 0.6469 GB, free: 100.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00176/1.975, allocations: 0.9544 MB / 0.6479 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/1.976, allocations: 136 kB / 0.648 GB, free: 100.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005286/1.977, allocations: 0.5994 MB / 0.6486 GB, free: 99.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007687/1.985, allocations: 3.044 MB / 0.6516 GB, free: 99.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/1.995, allocations: 6.987 MB / 0.6584 GB, free: 93.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/2.006, allocations: 4.511 MB / 0.6628 GB, free: 91.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001338/2.006, allocations: 38.41 kB / 0.6628 GB, free: 91.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.03029/2.036, allocations: 10.72 MB / 0.6733 GB, free: 88.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/2.036, allocations: 66.72 kB / 0.6734 GB, free: 88.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001986/2.037, allocations: 136.3 kB / 0.6735 GB, free: 88.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004816/2.041, allocations: 1.134 MB / 0.6746 GB, free: 88.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01113/2.053, allocations: 1.698 MB / 0.6763 GB, free: 87.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/2.064, allocations: 6.026 MB / 0.6821 GB, free: 84.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008582/2.073, allocations: 416.5 kB / 0.6825 GB, free: 84.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001592/2.074, allocations: 429.1 kB / 0.6829 GB, free: 84.66 MB / 426.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.006935/2.081, allocations: 2.437 MB / 0.6853 GB, free: 83.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/2.083, allocations: 409.8 kB / 0.6857 GB, free: 83.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/2.099, allocations: 5.659 MB / 0.6912 GB, free: 79.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.995e-05/2.099, allocations: 35.64 kB / 0.6913 GB, free: 79.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/2.099, allocations: 4 kB / 0.6913 GB, free: 79.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.94e-05/2.099, allocations: 9.328 kB / 0.6913 GB, free: 79.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03651/2.136, allocations: 12.34 MB / 0.7033 GB, free: 69.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.803e-05/2.136, allocations: 7.188 kB / 0.7033 GB, free: 69.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005281/2.141, allocations: 0.5199 MB / 0.7039 GB, free: 68.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004466/2.145, allocations: 0.9262 MB / 0.7048 GB, free: 68.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008205/2.146, allocations: 51.33 kB / 0.7048 GB, free: 68.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/2.157, allocations: 5.76 MB / 0.7104 GB, free: 63.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/2.157, allocations: 4 kB / 0.7104 GB, free: 63.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02427/2.182, allocations: 9.614 MB / 0.7198 GB, free: 54.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003664/2.185, allocations: 0.9157 MB / 0.7207 GB, free: 53.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002085/2.188, allocations: 40 kB / 0.7208 GB, free: 53.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005016/2.193, allocations: 192.5 kB / 0.7209 GB, free: 53.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001151/2.194, allocations: 155.8 kB / 0.7211 GB, free: 53.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004764/2.194, allocations: 66.02 kB / 0.7212 GB, free: 53.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007447/2.202, allocations: 2.825 MB / 0.7239 GB, free: 51.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.02e-07/2.202, allocations: 0 / 0.7239 GB, free: 51.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009171/2.211, allocations: 1.26 MB / 0.7251 GB, free: 50.09 MB / 426.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.00122/2.212, allocations: 195.5 kB / 0.7253 GB, free: 49.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01765/2.23, allocations: 7.296 MB / 0.7325 GB, free: 42.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/2.23, allocations: 8 kB / 0.7325 GB, free: 42.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01173/2.242, allocations: 2.776 MB / 0.7352 GB, free: 39.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005611/2.247, allocations: 453.6 kB / 0.7356 GB, free: 39.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03547/2.283, allocations: 14.7 MB / 0.75 GB, free: 24.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008811/2.292, allocations: 3.906 MB / 0.7538 GB, free: 20.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002911/2.295, allocations: 363.3 kB / 0.7541 GB, free: 20.55 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/2.295, allocations: 6.516 kB / 0.7541 GB, free: 20.55 MB / 426.7 MB Notification: Performance of Templates: time 0.6527/2.948, allocations: 91.01 MB / 0.843 GB, free: 85.99 MB / 442.7 MB