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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.89/1.89, allocations: 209.3 MB / 224.8 MB, free: 1.133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004376, allocations: 12 kB / 282.5 MB, free: 9.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08661/0.08708, allocations: 48.72 MB / 331.2 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.282/0.3691, allocations: 54.23 MB / 385.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03325/0.4024, allocations: 12.44 MB / 397.9 MB, free: 2.184 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0125/0.4149, allocations: 267.4 kB / 398.1 MB, free: 1.922 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008911/0.4239, allocations: 2.753 MB / 400.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02703/0.451, allocations: 7.722 MB / 408.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003861/0.4549, allocations: 0.6358 MB / 409.2 MB, free: 6.777 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005884/0.4608, allocations: 2.539 MB / 411.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01127/0.4721, allocations: 5.972 MB / 417.8 MB, free: 14.2 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.4747, allocations: 1.218 MB / 419 MB, free: 12.97 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002905/0.4777, allocations: 1.616 MB / 420.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006991/0.4784, allocations: 172 kB / 420.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.4807, allocations: 0.8427 MB / 421.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002588/0.4833, allocations: 1.843 MB / 423.4 MB, free: 8.492 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.4848, allocations: 1.002 MB / 424.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00979/0.4947, allocations: 6.653 MB / 431.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.752e-06/0.4947, allocations: 0 / 431.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.889e-06/0.4947, allocations: 0 / 431.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.00016/0.4949, allocations: 4 kB / 431.1 MB, free: 0.8086 MB / 346.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.02045/0.5154, allocations: 6.096 MB / 437.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.5154, allocations: 8.031 kB / 437.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.526, allocations: 2.341 MB / 439.5 MB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007394/0.5335, allocations: 2.925 MB / 442.5 MB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/0.5339, allocations: 303.8 kB / 442.8 MB, free: 5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/0.5354, allocations: 407.7 kB / 443.2 MB, free: 4.602 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.031/0.5664, allocations: 12.65 MB / 455.8 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001824/0.5667, allocations: 51.59 kB / 455.9 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009537/0.5677, allocations: 187.8 kB / 456 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004405/0.5721, allocations: 2.144 MB / 458.2 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03027/0.6024, allocations: 11.21 MB / 469.4 MB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3073/0.9097, allocations: 47.02 MB / 0.5043 GB, free: 97.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01984/0.9296, allocations: 5.464 MB / 0.5097 GB, free: 96.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/0.931, allocations: 0.719 MB / 0.5104 GB, free: 95.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.931, allocations: 54.84 kB / 0.5104 GB, free: 95.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 7.239e-06/0.9311, allocations: 0 / 0.5104 GB, free: 95.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.08974/1.021, allocations: 27.11 MB / 0.5369 GB, free: 84.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/1.021, allocations: 156 kB / 0.537 GB, free: 84.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007294/1.028, allocations: 4.618 MB / 0.5415 GB, free: 79.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005644/1.029, allocations: 61.7 kB / 0.5416 GB, free: 79.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002122/1.031, allocations: 3.425 MB / 0.5449 GB, free: 76.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001206/1.032, allocations: 0.9532 MB / 0.5459 GB, free: 75.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005466/1.033, allocations: 136.6 kB / 0.546 GB, free: 75.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003554/1.033, allocations: 0.6 MB / 0.5466 GB, free: 74.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005659/1.039, allocations: 3.048 MB / 0.5496 GB, free: 71.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007625/1.046, allocations: 6.976 MB / 0.5564 GB, free: 62.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007911/1.054, allocations: 4.497 MB / 0.5608 GB, free: 58.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-05/1.055, allocations: 40 kB / 0.5608 GB, free: 58.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=889) (initialization): time 0.02282/1.077, allocations: 10.73 MB / 0.5713 GB, free: 47.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/1.078, allocations: 67.95 kB / 0.5713 GB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001372/1.078, allocations: 140 kB / 0.5715 GB, free: 47.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003468/1.081, allocations: 1.142 MB / 0.5726 GB, free: 45.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007253/1.088, allocations: 1.708 MB / 0.5743 GB, free: 44.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009342/1.098, allocations: 6.116 MB / 0.5802 GB, free: 38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006722/1.105, allocations: 420 kB / 0.5806 GB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/1.106, allocations: 424.5 kB / 0.581 GB, free: 37.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * 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 (850): * Single equations (assignments): 846 * 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.004709/1.11, allocations: 2.424 MB / 0.5834 GB, free: 34.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008983/1.111, allocations: 406.8 kB / 0.5838 GB, free: 34.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/1.123, allocations: 5.708 MB / 0.5894 GB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.576e-05/1.124, allocations: 28.62 kB / 0.5894 GB, free: 28.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/1.124, allocations: 8 kB / 0.5894 GB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-05/1.124, allocations: 15.91 kB / 0.5894 GB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02612/1.15, allocations: 12.39 MB / 0.6015 GB, free: 16.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.948e-05/1.15, allocations: 7.375 kB / 0.6015 GB, free: 16.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003466/1.153, allocations: 0.5226 MB / 0.602 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003157/1.156, allocations: 0.9414 MB / 0.603 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005602/1.157, allocations: 53.33 kB / 0.603 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008979/1.166, allocations: 5.832 MB / 0.6087 GB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.18e-06/1.166, allocations: 11.92 kB / 0.6087 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/1.185, allocations: 9.676 MB / 0.6182 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002939/1.188, allocations: 0.9212 MB / 0.6191 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009241/1.189, allocations: 47.88 kB / 0.6191 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002891/1.191, allocations: 192.8 kB / 0.6193 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007545/1.192, allocations: 149.7 kB / 0.6194 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000326/1.193, allocations: 71.98 kB / 0.6195 GB, free: 13.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006405/1.199, allocations: 2.909 MB / 0.6223 GB, free: 10.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.139e-06/1.199, allocations: 3.938 kB / 0.6224 GB, free: 10.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007509/1.207, allocations: 1.277 MB / 0.6236 GB, free: 9.223 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (230): * Single equations (assignments): 226 * 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.0008344/1.207, allocations: 203.1 kB / 0.6238 GB, free: 9.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01623/1.224, allocations: 7.295 MB / 0.6309 GB, free: 1.738 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.649e-06/1.224, allocations: 4 kB / 0.6309 GB, free: 1.734 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00639/1.23, allocations: 2.789 MB / 0.6336 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003173/1.233, allocations: 453.7 kB / 0.6341 GB, free: 14.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2569/1.49, allocations: 14.7 MB / 0.6484 GB, free: 144.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008025/1.498, allocations: 3.91 MB / 0.6522 GB, free: 144 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002329/1.501, allocations: 365.8 kB / 0.6526 GB, free: 144 MB / 442.7 MB Notification: Performance of SimCode: time 1.749e-06/1.501, allocations: 2.688 kB / 0.6526 GB, free: 144 MB / 442.7 MB Notification: Performance of Templates: time 0.1286/1.629, allocations: 91.6 MB / 0.7421 GB, free: 74.31 MB / 442.7 MB