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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.165/2.165, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.723e-05/1.733e-05, allocations: 0 / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2722, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.4264, allocations: 102 MB / 460 MB, free: 8.805 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.4267, allocations: 87.89 kB / 460.1 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5862/1.013, allocations: 95.21 MB / 0.5423 GB, free: 25.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.854e-06/1.013, allocations: 3.938 kB / 0.5423 GB, free: 25.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003977/1.013, allocations: 104 kB / 0.5424 GB, free: 25.83 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.03076/1.044, allocations: 5.495 MB / 0.5478 GB, free: 20.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/1.044, allocations: 16.03 kB / 0.5478 GB, free: 20.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/1.058, allocations: 2.317 MB / 0.5501 GB, free: 17.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0143/1.073, allocations: 4.964 MB / 0.5549 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/1.073, allocations: 172 kB / 0.5551 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002204/1.075, allocations: 299.9 kB / 0.5554 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0165/1.092, allocations: 7.822 MB / 0.563 GB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02782/1.12, allocations: 11.47 MB / 0.5742 GB, free: 8.082 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002831/1.12, allocations: 63.47 kB / 0.5743 GB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001713/1.122, allocations: 32 kB / 0.5743 GB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002581/1.124, allocations: 1.212 MB / 0.5755 GB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3577/1.482, allocations: 53.54 MB / 0.6278 GB, free: 94.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007516/1.49, allocations: 4.462 MB / 0.6321 GB, free: 93.46 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007962/1.498, allocations: 3.216 MB / 0.6353 GB, free: 93.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003384/1.501, allocations: 1.018 MB / 0.6363 GB, free: 92.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.452e-05/1.501, allocations: 57.97 kB / 0.6363 GB, free: 92.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 1.435e-05/1.501, allocations: 0 / 0.6363 GB, free: 92.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=255): time 0.1053/1.607, allocations: 22.91 MB / 0.6587 GB, free: 89.57 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/1.607, allocations: 158 kB / 0.6588 GB, free: 89.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005905/1.613, allocations: 3.281 MB / 0.662 GB, free: 89.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005597/1.613, allocations: 25.7 kB / 0.6621 GB, free: 89.06 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002195/1.615, allocations: 3.558 MB / 0.6655 GB, free: 86.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00119/1.617, allocations: 0.9281 MB / 0.6664 GB, free: 86.14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006299/1.617, allocations: 0 / 0.6664 GB, free: 86.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004369/1.618, allocations: 0.6064 MB / 0.667 GB, free: 85.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00535/1.623, allocations: 2.884 MB / 0.6699 GB, free: 84.67 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007635/1.631, allocations: 6.935 MB / 0.6766 GB, free: 78.19 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008149/1.639, allocations: 4.395 MB / 0.6809 GB, free: 76.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/1.639, allocations: 43.7 kB / 0.681 GB, free: 76.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=921) (initialization): time 0.02332/1.662, allocations: 9.883 MB / 0.6906 GB, free: 74.13 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.663, allocations: 67.59 kB / 0.6907 GB, free: 74.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001743/1.663, allocations: 149.2 kB / 0.6908 GB, free: 74.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003555/1.666, allocations: 1.13 MB / 0.6919 GB, free: 73.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007826/1.674, allocations: 1.757 MB / 0.6936 GB, free: 73.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008612/1.683, allocations: 5.627 MB / 0.6991 GB, free: 69.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006865/1.69, allocations: 293.1 kB / 0.6994 GB, free: 69.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001542/1.691, allocations: 445.5 kB / 0.6998 GB, free: 69.36 MB / 458.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.001824/1.693, allocations: 469.9 kB / 0.7003 GB, free: 68.89 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008585/1.694, allocations: 366.2 kB / 0.7006 GB, free: 68.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/1.704, allocations: 5.368 MB / 0.7059 GB, free: 64.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.774e-05/1.705, allocations: 25.17 kB / 0.7059 GB, free: 64.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/1.705, allocations: 4 kB / 0.7059 GB, free: 64.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.499e-05/1.705, allocations: 20.81 kB / 0.7059 GB, free: 64.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02381/1.728, allocations: 11.15 MB / 0.7168 GB, free: 55.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.048e-05/1.728, allocations: 4 kB / 0.7168 GB, free: 55.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003742/1.732, allocations: 0.5091 MB / 0.7173 GB, free: 54.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003383/1.736, allocations: 0.9328 MB / 0.7182 GB, free: 54.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003984/1.736, allocations: 15.38 kB / 0.7182 GB, free: 54.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008333/1.744, allocations: 5.347 MB / 0.7235 GB, free: 49.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.618e-06/1.744, allocations: 4 kB / 0.7235 GB, free: 49.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/1.761, allocations: 9.582 MB / 0.7328 GB, free: 41.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002343/1.763, allocations: 0.8549 MB / 0.7337 GB, free: 40.28 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007136/1.764, allocations: 4 kB / 0.7337 GB, free: 40.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002802/1.766, allocations: 153.3 kB / 0.7338 GB, free: 40.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006111/1.767, allocations: 153.4 kB / 0.734 GB, free: 40.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002985/1.767, allocations: 72.78 kB / 0.734 GB, free: 40.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003971/1.771, allocations: 2.182 MB / 0.7362 GB, free: 38.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.018e-06/1.771, allocations: 2.031 kB / 0.7362 GB, free: 38.15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007391/1.779, allocations: 1.084 MB / 0.7372 GB, free: 37.07 MB / 458.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.00069/1.78, allocations: 155 kB / 0.7374 GB, free: 36.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01165/1.791, allocations: 6.885 MB / 0.7441 GB, free: 30.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.591e-06/1.791, allocations: 3.969 kB / 0.7441 GB, free: 30.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006856/1.798, allocations: 2.655 MB / 0.7467 GB, free: 28.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004407/1.803, allocations: 345.5 kB / 0.747 GB, free: 28.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03543/1.838, allocations: 10.53 MB / 0.7573 GB, free: 18.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01024/1.848, allocations: 3.901 MB / 0.7611 GB, free: 15.94 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003219/1.852, allocations: 353.4 kB / 0.7614 GB, free: 15.62 MB / 458.7 MB Notification: Performance of SimCode: time 2.551e-06/1.852, allocations: 0 / 0.7614 GB, free: 15.62 MB / 458.7 MB Notification: Performance of Templates: time 0.4323/2.284, allocations: 87.87 MB / 0.8473 GB, free: 112.3 MB / 490.7 MB