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.202/2.202, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.022e-05/3.044e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3251, allocations: 54.85 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.469, allocations: 99.19 MB / 463.7 MB, free: 13.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.4693, allocations: 72.56 kB / 463.8 MB, free: 13.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.554/1.023, allocations: 79.86 MB / 0.5309 GB, free: 110 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.983e-06/1.023, allocations: 0 / 0.5309 GB, free: 110 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000192/1.024, allocations: 76.25 kB / 0.531 GB, free: 110 MB / 458.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.01076/1.034, allocations: 3.561 MB / 0.5345 GB, free: 108.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.034, allocations: 13.94 kB / 0.5345 GB, free: 108.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01805/1.052, allocations: 3.372 MB / 0.5378 GB, free: 108.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006461/1.059, allocations: 2.331 MB / 0.54 GB, free: 107.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/1.059, allocations: 310.2 kB / 0.5403 GB, free: 107.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/1.061, allocations: 400 kB / 0.5407 GB, free: 107.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02154/1.083, allocations: 10.67 MB / 0.5511 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/1.083, allocations: 42.5 kB / 0.5512 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008043/1.084, allocations: 202.5 kB / 0.5514 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001683/1.085, allocations: 1.139 MB / 0.5525 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/1.105, allocations: 9.275 MB / 0.5615 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05443/1.159, allocations: 46.9 MB / 0.6073 GB, free: 70.29 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00683/1.166, allocations: 3.461 MB / 0.6107 GB, free: 68.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002308/1.168, allocations: 1.252 MB / 0.6119 GB, free: 67.87 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/1.179, allocations: 5.316 MB / 0.6171 GB, free: 65.08 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.179, allocations: 50.25 kB / 0.6172 GB, free: 65.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=153): time 6.071e-06/1.179, allocations: 0 / 0.6172 GB, free: 65.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=153): time 0.007677/1.187, allocations: 2.526 MB / 0.6196 GB, free: 63.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/1.187, allocations: 170.7 kB / 0.6198 GB, free: 63.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005512/1.193, allocations: 3.459 MB / 0.6232 GB, free: 60.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001753/1.193, allocations: 43.11 kB / 0.6232 GB, free: 60 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001701/1.195, allocations: 3.304 MB / 0.6265 GB, free: 57.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005699/1.195, allocations: 0.6143 MB / 0.6271 GB, free: 56.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003134/1.196, allocations: 135.8 kB / 0.6272 GB, free: 56.36 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003831/1.196, allocations: 0.59 MB / 0.6278 GB, free: 55.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003275/1.199, allocations: 1.898 MB / 0.6296 GB, free: 54.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005248/1.204, allocations: 6.154 MB / 0.6356 GB, free: 46.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005583/1.21, allocations: 3.487 MB / 0.639 GB, free: 43.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.083e-05/1.21, allocations: 44 kB / 0.6391 GB, free: 43.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01478/1.225, allocations: 7.626 MB / 0.6465 GB, free: 36.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.225, allocations: 72 kB / 0.6466 GB, free: 36.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/1.225, allocations: 152 kB / 0.6467 GB, free: 36.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/1.226, allocations: 220 kB / 0.6469 GB, free: 35.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005525/1.231, allocations: 1.506 MB / 0.6484 GB, free: 34.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002225/1.231, allocations: 295.7 kB / 0.6487 GB, free: 34.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00566/1.237, allocations: 0.9286 MB / 0.6496 GB, free: 33.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007959/1.238, allocations: 411.9 kB / 0.65 GB, free: 32.95 MB / 458.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 () * 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.0008512/1.239, allocations: 0.5923 MB / 0.6506 GB, free: 32.35 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005196/1.239, allocations: 319.7 kB / 0.6509 GB, free: 32.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007954/1.24, allocations: 417 kB / 0.6513 GB, free: 31.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.095e-05/1.24, allocations: 39.75 kB / 0.6513 GB, free: 31.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/1.24, allocations: 3.875 kB / 0.6513 GB, free: 31.63 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/1.24, allocations: 13.58 kB / 0.6513 GB, free: 31.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/1.251, allocations: 5.743 MB / 0.6569 GB, free: 26.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/1.251, allocations: 8 kB / 0.6569 GB, free: 26.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/1.252, allocations: 210.3 kB / 0.6571 GB, free: 26.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-05/1.252, allocations: 15.95 kB / 0.6572 GB, free: 26.51 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/1.252, allocations: 32 kB / 0.6572 GB, free: 26.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.451e-05/1.252, allocations: 15.84 kB / 0.6572 GB, free: 26.47 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.138e-06/1.252, allocations: 8.406 kB / 0.6572 GB, free: 26.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003476/1.256, allocations: 3.213 MB / 0.6604 GB, free: 23.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000728/1.256, allocations: 400.5 kB / 0.6607 GB, free: 22.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004173/1.257, allocations: 27.98 kB / 0.6608 GB, free: 22.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.258, allocations: 59.92 kB / 0.6608 GB, free: 22.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/1.258, allocations: 92.31 kB / 0.6609 GB, free: 22.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1.259, allocations: 43.94 kB / 0.661 GB, free: 22.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003868/1.263, allocations: 2.351 MB / 0.6632 GB, free: 20.19 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.263, allocations: 4 kB / 0.6633 GB, free: 20.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006031/1.269, allocations: 1.129 MB / 0.6644 GB, free: 19.05 MB / 458.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 () * 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.0003768/1.269, allocations: 150.9 kB / 0.6645 GB, free: 18.89 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007473/1.276, allocations: 4.397 MB / 0.6688 GB, free: 14.54 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.277, allocations: 4 kB / 0.6688 GB, free: 14.54 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/1.278, allocations: 0.9516 MB / 0.6697 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/1.28, allocations: 336.7 kB / 0.67 GB, free: 13.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/1.294, allocations: 7.592 MB / 0.6775 GB, free: 5.547 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004403/1.299, allocations: 3.36 MB / 0.6807 GB, free: 2.172 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.3, allocations: 287.4 kB / 0.681 GB, free: 1.891 MB / 458.7 MB Notification: Performance of SimCode: time 2.191e-06/1.3, allocations: 0 / 0.681 GB, free: 1.891 MB / 458.7 MB Notification: Performance of Templates: time 0.3551/1.655, allocations: 52.64 MB / 0.7324 GB, free: 117.3 MB / 490.7 MB