Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.347/2.347, allocations: 234.9 MB / 251.1 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005896/0.0005897, allocations: 8 kB / 314.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3448, allocations: 54.88 MB / 369.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.527, allocations: 99.26 MB / 469.1 MB, free: 7.457 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.5274, allocations: 83.95 kB / 469.1 MB, free: 7.375 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5942/1.122, allocations: 79.98 MB / 0.5362 GB, free: 36.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.206e-06/1.122, allocations: 3.938 kB / 0.5363 GB, free: 36.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001644/1.122, allocations: 76 kB / 0.5363 GB, free: 36.29 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.01253/1.134, allocations: 3.663 MB / 0.5399 GB, free: 32.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.134, allocations: 8.031 kB / 0.5399 GB, free: 32.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02379/1.158, allocations: 3.371 MB / 0.5432 GB, free: 29.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007925/1.166, allocations: 2.344 MB / 0.5455 GB, free: 26.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004266/1.167, allocations: 308 kB / 0.5458 GB, free: 26.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002653/1.169, allocations: 403.9 kB / 0.5462 GB, free: 26.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02877/1.198, allocations: 10.77 MB / 0.5567 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001944/1.198, allocations: 47.56 kB / 0.5567 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001855/1.2, allocations: 195.9 kB / 0.5569 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002165/1.203, allocations: 1.135 MB / 0.558 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02403/1.227, allocations: 9.43 MB / 0.5672 GB, free: 3.488 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08083/1.307, allocations: 46.9 MB / 0.613 GB, free: 3.035 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009941/1.317, allocations: 3.479 MB / 0.6164 GB, free: 15.28 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01597/1.334, allocations: 5.314 MB / 0.6216 GB, free: 9.812 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.26e-05/1.334, allocations: 51.06 kB / 0.6217 GB, free: 9.754 MB / 458.7 MB Notification: Performance of pre-optimization done (n=153): time 5.089e-06/1.334, allocations: 0 / 0.6217 GB, free: 9.754 MB / 458.7 MB Notification: Performance of matching and sorting (n=153): time 0.01327/1.347, allocations: 3.872 MB / 0.6255 GB, free: 5.766 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/1.347, allocations: 170.7 kB / 0.6256 GB, free: 5.562 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.357, allocations: 3.895 MB / 0.6294 GB, free: 1.676 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000317/1.358, allocations: 41.7 kB / 0.6295 GB, free: 1.629 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003787/1.361, allocations: 3.299 MB / 0.6327 GB, free: 14.28 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001167/1.363, allocations: 0.6175 MB / 0.6333 GB, free: 13.65 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008045/1.363, allocations: 128 kB / 0.6334 GB, free: 13.53 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005827/1.364, allocations: 0.5954 MB / 0.634 GB, free: 12.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006212/1.37, allocations: 1.941 MB / 0.6359 GB, free: 10.98 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/1.381, allocations: 6.216 MB / 0.642 GB, free: 2.629 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.338/1.719, allocations: 3.467 MB / 0.6453 GB, free: 120.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001661/1.719, allocations: 44.81 kB / 0.6454 GB, free: 120.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.02072/1.74, allocations: 7.712 MB / 0.6529 GB, free: 119.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/1.74, allocations: 69.94 kB / 0.653 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002062/1.74, allocations: 154.6 kB / 0.6531 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003435/1.741, allocations: 219.2 kB / 0.6533 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008487/1.749, allocations: 1.502 MB / 0.6548 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003118/1.75, allocations: 294.2 kB / 0.6551 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006715/1.756, allocations: 0.9267 MB / 0.656 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/1.758, allocations: 407.6 kB / 0.6564 GB, free: 119.4 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.005731/1.763, allocations: 2.278 MB / 0.6586 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006971/1.764, allocations: 320.6 kB / 0.6589 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/1.765, allocations: 420.9 kB / 0.6593 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.895e-05/1.765, allocations: 33.77 kB / 0.6593 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/1.766, allocations: 5.297 kB / 0.6594 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/1.766, allocations: 7.234 kB / 0.6594 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/1.78, allocations: 5.767 MB / 0.665 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/1.78, allocations: 3.875 kB / 0.665 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/1.782, allocations: 211.6 kB / 0.6652 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.747e-05/1.782, allocations: 10.56 kB / 0.6652 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/1.782, allocations: 27.25 kB / 0.6652 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.585e-05/1.782, allocations: 18.62 kB / 0.6653 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.782, allocations: 10.22 kB / 0.6653 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004299/1.786, allocations: 2.568 MB / 0.6678 GB, free: 117.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/1.788, allocations: 398.3 kB / 0.6681 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006728/1.788, allocations: 29.81 kB / 0.6682 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/1.79, allocations: 64.16 kB / 0.6682 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/1.79, allocations: 89.27 kB / 0.6683 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/1.79, allocations: 45.28 kB / 0.6684 GB, free: 117.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005201/1.796, allocations: 2.377 MB / 0.6707 GB, free: 117 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.22e-07/1.796, allocations: 0 / 0.6707 GB, free: 117 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006693/1.802, allocations: 1.124 MB / 0.6718 GB, free: 116.9 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.0005/1.803, allocations: 161.3 kB / 0.6719 GB, free: 116.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009598/1.813, allocations: 4.442 MB / 0.6763 GB, free: 116 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/1.813, allocations: 0 / 0.6763 GB, free: 116 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001857/1.814, allocations: 0.9725 MB / 0.6772 GB, free: 115.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/1.817, allocations: 329.7 kB / 0.6775 GB, free: 115.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/1.839, allocations: 10.78 MB / 0.6881 GB, free: 110 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006111/1.846, allocations: 3.358 MB / 0.6913 GB, free: 108.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/1.847, allocations: 283 kB / 0.6916 GB, free: 108.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.572e-06/1.847, allocations: 0 / 0.6916 GB, free: 108.6 MB / 474.7 MB Notification: Performance of Templates: time 0.1004/1.948, allocations: 52.66 MB / 0.743 GB, free: 68.64 MB / 474.7 MB