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.Sensors.AbsoluteSensor2.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.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadModel(ModelicaTest): time 1.938/1.938, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.939e-05/1.944e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2616, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.4015, allocations: 91.88 MB / 411.9 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.4018, allocations: 75.95 kB / 412 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4994/0.9012, allocations: 78.2 MB / 490.2 MB, free: 82.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.92e-06/0.9013, allocations: 0 / 490.2 MB, free: 82.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001155/0.9014, allocations: 68 kB / 490.2 MB, free: 82.38 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: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.006733/0.9081, allocations: 3.56 MB / 493.8 MB, free: 78.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.9082, allocations: 8.031 kB / 493.8 MB, free: 78.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01834/0.9266, allocations: 3.376 MB / 497.2 MB, free: 75.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006007/0.9326, allocations: 2.328 MB / 499.5 MB, free: 72.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.9329, allocations: 132 kB / 499.6 MB, free: 72.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001611/0.9345, allocations: 232 kB / 499.9 MB, free: 72.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01279/0.9473, allocations: 6.689 MB / 0.4947 GB, free: 65.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01864/0.966, allocations: 9.976 MB / 0.5044 GB, free: 55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/0.9661, allocations: 47.56 kB / 0.5045 GB, free: 54.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007181/0.9669, allocations: 32 kB / 0.5045 GB, free: 54.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001685/0.9686, allocations: 1.139 MB / 0.5056 GB, free: 53.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05043/1.019, allocations: 45.87 MB / 0.5504 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003263/1.022, allocations: 2.799 MB / 0.5531 GB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/1.024, allocations: 1.02 MB / 0.5541 GB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.144e-05/1.024, allocations: 24.05 kB / 0.5542 GB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/1.024, allocations: 59.31 kB / 0.5542 GB, free: 2.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=179): time 5.437e-06/1.024, allocations: 0 / 0.5542 GB, free: 2.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=179): time 0.005308/1.029, allocations: 2.379 MB / 0.5565 GB, free: 32 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/1.029, allocations: 186.9 kB / 0.5567 GB, free: 15.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005697/1.035, allocations: 3.1 MB / 0.5597 GB, free: 12.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001873/1.035, allocations: 29.7 kB / 0.5598 GB, free: 12.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002901/1.038, allocations: 3.372 MB / 0.5631 GB, free: 9.254 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009384/1.039, allocations: 0.6944 MB / 0.5637 GB, free: 8.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/1.04, allocations: 3.938 kB / 0.5637 GB, free: 8.547 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006067/1.04, allocations: 0.6084 MB / 0.5643 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003729/1.044, allocations: 1.904 MB / 0.5662 GB, free: 6.023 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007783/1.052, allocations: 6.438 MB / 0.5725 GB, free: 13.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007264/1.059, allocations: 3.583 MB / 0.576 GB, free: 9.711 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001252/1.059, allocations: 48 kB / 0.576 GB, free: 9.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=925) (initialization): time 0.01836/1.078, allocations: 7.199 MB / 0.5831 GB, free: 2.469 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/1.078, allocations: 72 kB / 0.5831 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000233/1.078, allocations: 164 kB / 0.5833 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003293/1.078, allocations: 240 kB / 0.5835 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006404/1.085, allocations: 1.614 MB / 0.5851 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003495/1.085, allocations: 318.7 kB / 0.5854 GB, free: 76 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006298/1.091, allocations: 0.8186 MB / 0.5862 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/1.093, allocations: 443.4 kB / 0.5866 GB, free: 14.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 746 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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 (877): * Single equations (assignments): 871 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001085/1.094, allocations: 490.8 kB / 0.5871 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006625/1.095, allocations: 311.8 kB / 0.5874 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004056/1.099, allocations: 1.891 MB / 0.5892 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.056e-05/1.099, allocations: 43.98 kB / 0.5893 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.099, allocations: 0 / 0.5893 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.527e-05/1.099, allocations: 7.969 kB / 0.5893 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/1.112, allocations: 5.754 MB / 0.5949 GB, free: 6.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.602e-05/1.113, allocations: 8 kB / 0.5949 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/1.114, allocations: 247.7 kB / 0.5951 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.773e-05/1.114, allocations: 16 kB / 0.5952 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/1.114, allocations: 19.94 kB / 0.5952 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.313e-05/1.114, allocations: 19.94 kB / 0.5952 GB, free: 5.875 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-05/1.114, allocations: 11.94 kB / 0.5952 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005344/1.12, allocations: 3.605 MB / 0.5987 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008077/1.12, allocations: 372.6 kB / 0.5991 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004324/1.121, allocations: 19.94 kB / 0.5991 GB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/1.122, allocations: 51.92 kB / 0.5991 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/1.123, allocations: 100.6 kB / 0.5992 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/1.123, allocations: 51.98 kB / 0.5993 GB, free: 1.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.2489/1.372, allocations: 2.024 MB / 0.6013 GB, free: 114.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.448e-06/1.372, allocations: 1.297 kB / 0.6013 GB, free: 114.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007419/1.379, allocations: 1.017 MB / 0.6023 GB, free: 114.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005403/1.38, allocations: 133.1 kB / 0.6024 GB, free: 114 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008404/1.388, allocations: 4.388 MB / 0.6067 GB, free: 114 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.388, allocations: 3.906 kB / 0.6067 GB, free: 114 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001796/1.39, allocations: 1.054 MB / 0.6077 GB, free: 113.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/1.392, allocations: 269.8 kB / 0.608 GB, free: 113.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/1.408, allocations: 7.826 MB / 0.6156 GB, free: 112.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00537/1.413, allocations: 3.367 MB / 0.6189 GB, free: 111.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/1.414, allocations: 291.5 kB / 0.6192 GB, free: 111.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.748e-06/1.414, allocations: 0 / 0.6192 GB, free: 111.5 MB / 426.7 MB Notification: Performance of Templates: time 0.07718/1.492, allocations: 51.59 MB / 0.6696 GB, free: 84.02 MB / 426.7 MB