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_2.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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 2.272/2.272, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004411, allocations: 16 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.28, allocations: 54.87 MB / 369.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.05519/0.3353, allocations: 41.2 MB / 410.4 MB, free: 1.266 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02428/0.3596, allocations: 9.835 MB / 420.2 MB, free: 7.402 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007626/0.3672, allocations: 199.6 kB / 420.4 MB, free: 7.207 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00641/0.3737, allocations: 2.065 MB / 422.5 MB, free: 5.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01983/0.3936, allocations: 5.914 MB / 428.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.3964, allocations: 0.5109 MB / 428.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004763/0.4012, allocations: 2.152 MB / 431.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008382/0.4096, allocations: 4.48 MB / 435.5 MB, free: 7.996 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.4118, allocations: 1.004 MB / 436.5 MB, free: 6.988 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002454/0.4143, allocations: 1.367 MB / 437.9 MB, free: 5.617 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005633/0.4149, allocations: 140 kB / 438 MB, free: 5.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.4169, allocations: 0.8192 MB / 438.9 MB, free: 4.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002163/0.4191, allocations: 1.543 MB / 440.4 MB, free: 3.113 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.4204, allocations: 0.8311 MB / 441.2 MB, free: 2.273 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008409/0.4288, allocations: 5.554 MB / 446.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4288, allocations: 0 / 446.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.682e-06/0.4288, allocations: 0 / 446.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001565/0.429, allocations: 0 / 446.8 MB, free: 12.71 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.01727/0.4463, allocations: 4.971 MB / 451.8 MB, free: 7.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.4464, allocations: 12.03 kB / 451.8 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.4572, allocations: 2.233 MB / 454 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006328/0.4636, allocations: 2.495 MB / 456.5 MB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/0.4639, allocations: 246.1 kB / 456.7 MB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.4652, allocations: 315.7 kB / 457.1 MB, free: 2.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02503/0.4903, allocations: 10.39 MB / 467.4 MB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001702/0.4905, allocations: 39.59 kB / 467.5 MB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009127/0.4914, allocations: 151.9 kB / 467.6 MB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004001/0.4954, allocations: 1.869 MB / 469.5 MB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2797/0.7752, allocations: 8.98 MB / 478.5 MB, free: 87.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05496/0.8302, allocations: 38.72 MB / 0.5051 GB, free: 56.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01259/0.8428, allocations: 3.686 MB / 0.5087 GB, free: 52.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.844, allocations: 0.692 MB / 0.5093 GB, free: 52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.844, allocations: 55.5 kB / 0.5094 GB, free: 51.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 6.272e-06/0.8441, allocations: 2.812 kB / 0.5094 GB, free: 51.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=157): time 0.04641/0.8905, allocations: 13.85 MB / 0.5229 GB, free: 37.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.8906, allocations: 145.5 kB / 0.5231 GB, free: 37.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00673/0.8973, allocations: 4.159 MB / 0.5271 GB, free: 33.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003011/0.8977, allocations: 46.95 kB / 0.5272 GB, free: 33.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001909/0.8996, allocations: 3.033 MB / 0.5301 GB, free: 30.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007347/0.9004, allocations: 0.6256 MB / 0.5307 GB, free: 29.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004273/0.9008, allocations: 121.2 kB / 0.5309 GB, free: 29.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003289/0.9011, allocations: 0.5468 MB / 0.5314 GB, free: 29.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003893/0.9051, allocations: 1.983 MB / 0.5333 GB, free: 27.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005826/0.9109, allocations: 5.668 MB / 0.5389 GB, free: 19.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005736/0.9167, allocations: 3.281 MB / 0.5421 GB, free: 16.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.156e-05/0.9168, allocations: 36 kB / 0.5421 GB, free: 16.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.0173/0.9341, allocations: 8.019 MB / 0.5499 GB, free: 8.344 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.9343, allocations: 61.25 kB / 0.55 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001392/0.9345, allocations: 132.5 kB / 0.5501 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002964/0.9374, allocations: 0.9256 MB / 0.551 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005376/0.9428, allocations: 1.349 MB / 0.5523 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007622/0.9505, allocations: 4.959 MB / 0.5572 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005517/0.9561, allocations: 324.3 kB / 0.5575 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008829/0.957, allocations: 373.1 kB / 0.5578 GB, free: 108 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * 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 (715): * Single equations (assignments): 711 * 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.004987/0.962, allocations: 2.079 MB / 0.5599 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008782/0.9629, allocations: 343.5 kB / 0.5602 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008079/0.971, allocations: 2.956 MB / 0.5631 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.403e-05/0.9711, allocations: 24 kB / 0.5631 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.9711, allocations: 0 / 0.5631 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-05/0.9712, allocations: 11.97 kB / 0.5631 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/0.9915, allocations: 7.631 MB / 0.5706 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/0.9915, allocations: 4 kB / 0.5706 GB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/0.9935, allocations: 295.7 kB / 0.5709 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002973/0.9965, allocations: 0.7108 MB / 0.5716 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003247/0.9969, allocations: 31.98 kB / 0.5716 GB, free: 1.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008728/1.006, allocations: 4.528 MB / 0.576 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.588e-06/1.006, allocations: 7.969 kB / 0.576 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/1.018, allocations: 5.366 MB / 0.5813 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/1.02, allocations: 0.6292 MB / 0.5819 GB, free: 7.227 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000687/1.021, allocations: 27.95 kB / 0.5819 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/1.023, allocations: 95.88 kB / 0.582 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/1.023, allocations: 92.08 kB / 0.5821 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/1.023, allocations: 43.98 kB / 0.5821 GB, free: 6.973 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006169/1.03, allocations: 2.62 MB / 0.5847 GB, free: 4.336 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.363e-06/1.03, allocations: 0 / 0.5847 GB, free: 4.336 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00655/1.036, allocations: 0.9701 MB / 0.5856 GB, free: 3.371 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (126): * Single equations (assignments): 122 * 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.0006642/1.037, allocations: 168.6 kB / 0.5858 GB, free: 3.203 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01099/1.048, allocations: 4.787 MB / 0.5905 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.866e-06/1.048, allocations: 192 / 0.5905 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003292/1.051, allocations: 1.459 MB / 0.5919 GB, free: 12.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/1.054, allocations: 403.4 kB / 0.5923 GB, free: 12.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02363/1.077, allocations: 10.99 MB / 0.603 GB, free: 1.531 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006766/1.084, allocations: 3.318 MB / 0.6062 GB, free: 14.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/1.086, allocations: 283.4 kB / 0.6065 GB, free: 13.91 MB / 458.7 MB Notification: Performance of SimCode: time 1.622e-06/1.086, allocations: 0 / 0.6065 GB, free: 13.91 MB / 458.7 MB Notification: Performance of Templates: time 0.3942/1.48, allocations: 71.99 MB / 0.6768 GB, free: 151.9 MB / 490.7 MB