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.Sensors.AbsoluteSensor2.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.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadModel(ModelicaTest): time 2.145/2.145, allocations: 234.9 MB / 250.5 MB, free: 9.527 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004296, allocations: 12 kB / 314.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2723, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.4174, allocations: 99.26 MB / 468.5 MB, free: 7.297 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.4178, allocations: 83.95 kB / 468.6 MB, free: 7.215 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5006/0.9185, allocations: 79.78 MB / 0.5355 GB, free: 36.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.054e-06/0.9185, allocations: 0 / 0.5355 GB, free: 36.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001443/0.9187, allocations: 79.98 kB / 0.5356 GB, free: 36.33 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: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.008449/0.9271, allocations: 3.663 MB / 0.5392 GB, free: 32.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.9272, allocations: 8.031 kB / 0.5392 GB, free: 32.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/0.9436, allocations: 3.375 MB / 0.5425 GB, free: 29.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005819/0.9495, allocations: 2.34 MB / 0.5448 GB, free: 26.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002778/0.9498, allocations: 312 kB / 0.5451 GB, free: 26.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00155/0.9514, allocations: 403.9 kB / 0.5455 GB, free: 26.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0199/0.9713, allocations: 10.73 MB / 0.5559 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001175/0.9714, allocations: 43.56 kB / 0.556 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000819/0.9723, allocations: 203.9 kB / 0.5562 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001518/0.9738, allocations: 1.131 MB / 0.5573 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01825/0.9921, allocations: 9.43 MB / 0.5665 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06588/1.058, allocations: 46.89 MB / 0.6123 GB, free: 3.125 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008014/1.066, allocations: 3.485 MB / 0.6157 GB, free: 15.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01229/1.078, allocations: 5.318 MB / 0.6209 GB, free: 9.891 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/1.078, allocations: 59.05 kB / 0.6209 GB, free: 9.824 MB / 458.7 MB Notification: Performance of pre-optimization done (n=153): time 5.224e-06/1.079, allocations: 0 / 0.6209 GB, free: 9.824 MB / 458.7 MB Notification: Performance of matching and sorting (n=153): time 0.01012/1.089, allocations: 3.856 MB / 0.6247 GB, free: 5.852 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/1.089, allocations: 174.7 kB / 0.6249 GB, free: 5.645 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007052/1.096, allocations: 3.491 MB / 0.6283 GB, free: 2.164 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002163/1.096, allocations: 45.69 kB / 0.6283 GB, free: 2.113 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003331/1.099, allocations: 3.299 MB / 0.6316 GB, free: 14.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009597/1.1, allocations: 0.6136 MB / 0.6321 GB, free: 14.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000576/1.101, allocations: 132 kB / 0.6323 GB, free: 14.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005977/1.102, allocations: 0.5994 MB / 0.6329 GB, free: 13.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004259/1.106, allocations: 1.941 MB / 0.6348 GB, free: 11.46 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008476/1.114, allocations: 6.189 MB / 0.6408 GB, free: 3.137 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2725/1.387, allocations: 3.47 MB / 0.6442 GB, free: 120 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001583/1.387, allocations: 43.59 kB / 0.6442 GB, free: 120 MB / 474.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01764/1.405, allocations: 7.701 MB / 0.6518 GB, free: 119.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000112/1.405, allocations: 76.12 kB / 0.6518 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001902/1.405, allocations: 149.7 kB / 0.652 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002629/1.405, allocations: 225.3 kB / 0.6522 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005956/1.411, allocations: 1.5 MB / 0.6536 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002496/1.412, allocations: 297.6 kB / 0.6539 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006031/1.418, allocations: 0.9305 MB / 0.6548 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/1.419, allocations: 413.3 kB / 0.6552 GB, free: 119.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (813): * Single equations (assignments): 807 * 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.004643/1.424, allocations: 2.274 MB / 0.6575 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005945/1.424, allocations: 318.2 kB / 0.6578 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009777/1.425, allocations: 418.2 kB / 0.6582 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-05/1.425, allocations: 37.62 kB / 0.6582 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/1.425, allocations: 3.375 kB / 0.6582 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/1.425, allocations: 6.797 kB / 0.6582 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/1.437, allocations: 5.767 MB / 0.6638 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/1.437, allocations: 6.719 kB / 0.6638 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/1.438, allocations: 213.8 kB / 0.664 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-05/1.438, allocations: 14.8 kB / 0.6641 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/1.438, allocations: 26.83 kB / 0.6641 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.715e-05/1.439, allocations: 25.19 kB / 0.6641 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.557e-06/1.439, allocations: 11.75 kB / 0.6641 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003974/1.443, allocations: 3.223 MB / 0.6673 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008033/1.443, allocations: 394.8 kB / 0.6676 GB, free: 116.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000495/1.444, allocations: 26.31 kB / 0.6677 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/1.445, allocations: 75.16 kB / 0.6677 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/1.446, allocations: 80.69 kB / 0.6678 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/1.446, allocations: 46.61 kB / 0.6679 GB, free: 116.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004573/1.45, allocations: 2.378 MB / 0.6702 GB, free: 116.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.185e-06/1.45, allocations: 0 / 0.6702 GB, free: 116.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00659/1.457, allocations: 1.123 MB / 0.6713 GB, free: 116 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * 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 (111): * Single equations (assignments): 105 * 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.0003992/1.457, allocations: 161.4 kB / 0.6714 GB, free: 115.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007964/1.465, allocations: 4.442 MB / 0.6758 GB, free: 115.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.549e-06/1.465, allocations: 7.25 kB / 0.6758 GB, free: 115.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001729/1.467, allocations: 0.9555 MB / 0.6767 GB, free: 114.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/1.469, allocations: 330.6 kB / 0.677 GB, free: 114.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/1.488, allocations: 10.73 MB / 0.6875 GB, free: 109.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005359/1.493, allocations: 3.363 MB / 0.6908 GB, free: 107.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/1.494, allocations: 286.8 kB / 0.6911 GB, free: 107.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.712e-06/1.494, allocations: 0 / 0.6911 GB, free: 107.9 MB / 474.7 MB Notification: Performance of Templates: time 0.08386/1.578, allocations: 52.66 MB / 0.7425 GB, free: 68.39 MB / 474.7 MB