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.PointMass.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.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadModel(ModelicaTest): time 1.995/1.995, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.000424, allocations: 12 kB / 283.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3457, allocations: 48.7 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.4947, allocations: 82.99 MB / 414.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.4951, allocations: 75.97 kB / 414.9 MB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2029/0.698, allocations: 47.05 MB / 461.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.698, allocations: 0 / 461.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001131/0.6982, allocations: 44 kB / 462 MB, free: 11.85 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: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.008853/0.707, allocations: 2.381 MB / 464.3 MB, free: 9.406 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.7071, allocations: 8.031 kB / 464.3 MB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01353/0.7206, allocations: 1.767 MB / 466.1 MB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004839/0.7255, allocations: 1.354 MB / 467.5 MB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.7258, allocations: 184.7 kB / 467.6 MB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001329/0.7272, allocations: 243.8 kB / 467.9 MB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3151/1.042, allocations: 6.587 MB / 474.5 MB, free: 94.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001522/1.043, allocations: 38.59 kB / 474.5 MB, free: 94.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006994/1.043, allocations: 123.3 kB / 474.6 MB, free: 94.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001604/1.045, allocations: 0.6965 MB / 475.3 MB, free: 94.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/1.061, allocations: 5.49 MB / 480.8 MB, free: 94.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03947/1.1, allocations: 31.55 MB / 0.5004 GB, free: 71.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006873/1.107, allocations: 2.348 MB / 0.5026 GB, free: 70.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/1.107, allocations: 48.28 kB / 0.5027 GB, free: 70.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/1.107, allocations: 47.56 kB / 0.5027 GB, free: 70.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 5.37e-06/1.108, allocations: 0 / 0.5027 GB, free: 70.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.04085/1.148, allocations: 9.853 MB / 0.5124 GB, free: 66.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/1.148, allocations: 144.4 kB / 0.5125 GB, free: 66.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005877/1.154, allocations: 2.611 MB / 0.515 GB, free: 65.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003134/1.155, allocations: 41.11 kB / 0.5151 GB, free: 65.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/1.156, allocations: 2.021 MB / 0.5171 GB, free: 63.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006034/1.157, allocations: 468.7 kB / 0.5175 GB, free: 63.42 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003539/1.157, allocations: 86.34 kB / 0.5176 GB, free: 63.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002829/1.158, allocations: 0.4925 MB / 0.5181 GB, free: 62.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003058/1.161, allocations: 1.371 MB / 0.5194 GB, free: 62.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004365/1.165, allocations: 4.133 MB / 0.5234 GB, free: 58.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005045/1.17, allocations: 2.37 MB / 0.5258 GB, free: 57.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-05/1.17, allocations: 30.84 kB / 0.5258 GB, free: 57.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01354/1.184, allocations: 5.519 MB / 0.5312 GB, free: 55.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.857e-05/1.184, allocations: 47.19 kB / 0.5312 GB, free: 55.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/1.184, allocations: 98.84 kB / 0.5313 GB, free: 55.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/1.186, allocations: 472.2 kB / 0.5318 GB, free: 55.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005981/1.192, allocations: 1.02 MB / 0.5328 GB, free: 54.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005583/1.198, allocations: 3.46 MB / 0.5361 GB, free: 51.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004507/1.202, allocations: 232 kB / 0.5364 GB, free: 51.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009052/1.203, allocations: 280 kB / 0.5366 GB, free: 50.76 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 18 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 530 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003411/1.207, allocations: 1.364 MB / 0.538 GB, free: 49.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005829/1.207, allocations: 221.1 kB / 0.5382 GB, free: 49.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/1.211, allocations: 1.482 MB / 0.5396 GB, free: 48.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.181e-05/1.212, allocations: 12 kB / 0.5396 GB, free: 48.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.212, allocations: 7.953 kB / 0.5396 GB, free: 48.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/1.212, allocations: 3.797 kB / 0.5396 GB, free: 48.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/1.224, allocations: 4.477 MB / 0.544 GB, free: 44.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/1.224, allocations: 0 / 0.544 GB, free: 44.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/1.226, allocations: 167.8 kB / 0.5442 GB, free: 43.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/1.228, allocations: 324.5 kB / 0.5445 GB, free: 43.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/1.228, allocations: 16 kB / 0.5445 GB, free: 43.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/1.232, allocations: 2.884 MB / 0.5473 GB, free: 40.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.232, allocations: 4.031 kB / 0.5473 GB, free: 40.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006901/1.239, allocations: 3.27 MB / 0.5505 GB, free: 37.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/1.241, allocations: 430 kB / 0.5509 GB, free: 36.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005011/1.241, allocations: 16 kB / 0.5509 GB, free: 36.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/1.242, allocations: 55.05 kB / 0.551 GB, free: 36.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/1.243, allocations: 52.48 kB / 0.551 GB, free: 36.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/1.243, allocations: 35.94 kB / 0.5511 GB, free: 36.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003758/1.247, allocations: 1.605 MB / 0.5526 GB, free: 35.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.247, allocations: 8 kB / 0.5527 GB, free: 35.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004722/1.251, allocations: 0.6141 MB / 0.5533 GB, free: 34.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (86): * Single equations (assignments): 82 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005025/1.252, allocations: 138.2 kB / 0.5534 GB, free: 34.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007156/1.259, allocations: 3.316 MB / 0.5566 GB, free: 31.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.259, allocations: 0 / 0.5566 GB, free: 31.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001932/1.261, allocations: 0.9355 MB / 0.5575 GB, free: 30.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/1.263, allocations: 203.8 kB / 0.5577 GB, free: 29.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/1.278, allocations: 6.81 MB / 0.5644 GB, free: 23.08 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003165/1.281, allocations: 2.241 MB / 0.5666 GB, free: 20.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/1.282, allocations: 195.4 kB / 0.5668 GB, free: 20.62 MB / 394.7 MB Notification: Performance of SimCode: time 9.71e-07/1.282, allocations: 0 / 0.5668 GB, free: 20.62 MB / 394.7 MB Notification: Performance of Templates: time 0.09238/1.374, allocations: 44.61 MB / 0.6103 GB, free: 8.23 MB / 426.7 MB