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.PointMass.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.965/1.965, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.21e-05/1.223e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2637, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.3883, allocations: 82.23 MB / 402.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.3886, allocations: 75.95 kB / 402.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4007/0.7893, allocations: 45.9 MB / 448.2 MB, free: 93.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7894, allocations: 0 / 448.2 MB, free: 93.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000151/0.7895, allocations: 41.16 kB / 448.3 MB, free: 93.16 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: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.007242/0.7968, allocations: 2.297 MB / 450.6 MB, free: 92.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.7969, allocations: 12.84 kB / 450.6 MB, free: 92.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00942/0.8063, allocations: 1.766 MB / 452.3 MB, free: 92.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003915/0.8102, allocations: 1.36 MB / 453.7 MB, free: 92.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.8105, allocations: 80.56 kB / 453.8 MB, free: 92.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009758/0.8115, allocations: 137.4 kB / 453.9 MB, free: 92.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007957/0.8194, allocations: 3.721 MB / 457.6 MB, free: 92.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.8307, allocations: 6.051 MB / 463.7 MB, free: 90.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/0.8308, allocations: 43.69 kB / 463.7 MB, free: 90.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005196/0.8314, allocations: 23.53 kB / 463.7 MB, free: 90.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00103/0.8324, allocations: 0.6932 MB / 464.4 MB, free: 90.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03002/0.8625, allocations: 30.21 MB / 494.6 MB, free: 67.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.8653, allocations: 1.998 MB / 496.6 MB, free: 66.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.8667, allocations: 0.9547 MB / 497.6 MB, free: 65.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.8669, allocations: 40.86 kB / 497.6 MB, free: 65.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.867, allocations: 48.31 kB / 497.7 MB, free: 65.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 5.111e-06/0.867, allocations: 0 / 497.7 MB, free: 65.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.02138/0.8884, allocations: 8.402 MB / 0.4942 GB, free: 60.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.8884, allocations: 145 kB / 0.4944 GB, free: 59.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003242/0.8917, allocations: 1.992 MB / 0.4963 GB, free: 58.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.8919, allocations: 25.7 kB / 0.4963 GB, free: 58.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.8932, allocations: 2.115 MB / 0.4984 GB, free: 56.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000479/0.8937, allocations: 469.1 kB / 0.4988 GB, free: 55.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.8939, allocations: 3.281 kB / 0.4989 GB, free: 55.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002742/0.8942, allocations: 0.4983 MB / 0.4993 GB, free: 55.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/0.8966, allocations: 1.3 MB / 0.5006 GB, free: 54.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004087/0.9007, allocations: 4.174 MB / 0.5047 GB, free: 48.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004052/0.9048, allocations: 2.359 MB / 0.507 GB, free: 46.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.002e-05/0.9049, allocations: 32 kB / 0.507 GB, free: 46.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=593) (initialization): time 0.0114/0.9164, allocations: 5.046 MB / 0.5119 GB, free: 42.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.225e-05/0.9165, allocations: 51.95 kB / 0.512 GB, free: 42.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/0.9166, allocations: 104 kB / 0.5121 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.918, allocations: 465.4 kB / 0.5125 GB, free: 41.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004046/0.9221, allocations: 1.068 MB / 0.5136 GB, free: 40.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004058/0.9262, allocations: 3.154 MB / 0.5167 GB, free: 37.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003895/0.9301, allocations: 147.7 kB / 0.5168 GB, free: 37.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007686/0.9309, allocations: 292 kB / 0.5171 GB, free: 36.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 556 * 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.0006684/0.9316, allocations: 356.6 kB / 0.5174 GB, free: 36.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004401/0.9321, allocations: 201.4 kB / 0.5176 GB, free: 36.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/0.9349, allocations: 1.413 MB / 0.519 GB, free: 34.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.853e-05/0.935, allocations: 12 kB / 0.519 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.935, allocations: 7.75 kB / 0.519 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.836e-05/0.9351, allocations: 7.969 kB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008983/0.944, allocations: 4.003 MB / 0.5229 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.9441, allocations: 0 / 0.5229 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.9452, allocations: 171.8 kB / 0.5231 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.9463, allocations: 304.6 kB / 0.5234 GB, free: 30.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.9464, allocations: 7.984 kB / 0.5234 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00317/0.9496, allocations: 2.613 MB / 0.5259 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.16e-06/0.9496, allocations: 4.031 kB / 0.5259 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005064/0.9547, allocations: 3.255 MB / 0.5291 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009591/0.9557, allocations: 402.2 kB / 0.5295 GB, free: 24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/0.956, allocations: 11.61 kB / 0.5295 GB, free: 23.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.957, allocations: 31.94 kB / 0.5296 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.9572, allocations: 60.48 kB / 0.5296 GB, free: 23.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.9573, allocations: 28 kB / 0.5296 GB, free: 23.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002173/0.9595, allocations: 1.306 MB / 0.5309 GB, free: 22.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.66e-07/0.9596, allocations: 4.062 kB / 0.5309 GB, free: 22.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004482/0.9641, allocations: 0.5195 MB / 0.5314 GB, free: 22.02 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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.0003878/0.9645, allocations: 120.1 kB / 0.5315 GB, free: 21.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00544/0.9699, allocations: 3.144 MB / 0.5346 GB, free: 18.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.119e-06/0.97, allocations: 0 / 0.5346 GB, free: 18.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.9714, allocations: 0.9017 MB / 0.5355 GB, free: 17.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.9726, allocations: 148.1 kB / 0.5356 GB, free: 17.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.9827, allocations: 4.814 MB / 0.5403 GB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00276/0.9855, allocations: 2.242 MB / 0.5425 GB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007644/0.9863, allocations: 187.4 kB / 0.5427 GB, free: 10.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.995e-06/0.9863, allocations: 0 / 0.5427 GB, free: 10.4 MB / 378.7 MB Notification: Performance of Templates: time 0.07374/1.06, allocations: 43.35 MB / 0.585 GB, free: 15.27 MB / 426.7 MB