Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 1.696/1.696, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 8 kB / 233.2 MB, free: 3.016 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07032/0.0707, allocations: 38.78 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2989/0.3696, allocations: 82.3 MB / 354.3 MB, free: 7.793 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.3699, allocations: 91.58 kB / 354.4 MB, free: 7.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2483/0.6183, allocations: 66.46 MB / 420.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6183, allocations: 0 / 420.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001851/0.6185, allocations: 64 kB / 420.9 MB, free: 10.64 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.009839/0.6284, allocations: 3.567 MB / 424.5 MB, free: 7.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.6284, allocations: 8.031 kB / 424.5 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.639, allocations: 1.949 MB / 426.5 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006312/0.6453, allocations: 2.186 MB / 428.6 MB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/0.6457, allocations: 262.8 kB / 428.9 MB, free: 2.547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001257/0.647, allocations: 335.9 kB / 429.2 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2103/0.8573, allocations: 8.083 MB / 437.3 MB, free: 76.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001526/0.8575, allocations: 50.64 kB / 437.4 MB, free: 76.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008703/0.8584, allocations: 168.7 kB / 437.5 MB, free: 76.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001271/0.8597, allocations: 0.7847 MB / 438.3 MB, free: 76.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.8733, allocations: 5.967 MB / 444.3 MB, free: 76.49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0395/0.9128, allocations: 39.91 MB / 484.2 MB, free: 48.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003386/0.9163, allocations: 1.593 MB / 485.8 MB, free: 47.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005283/0.9216, allocations: 2.837 MB / 488.6 MB, free: 45.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.9217, allocations: 46.22 kB / 488.7 MB, free: 45.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=80): time 5.276e-06/0.9217, allocations: 0 / 488.7 MB, free: 45.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=80): time 0.005261/0.927, allocations: 1.939 MB / 490.6 MB, free: 44.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.9271, allocations: 190.9 kB / 490.8 MB, free: 44.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007032/0.9341, allocations: 3.661 MB / 494.4 MB, free: 42.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.9343, allocations: 37.42 kB / 494.5 MB, free: 42.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001921/0.9362, allocations: 2.815 MB / 497.3 MB, free: 40.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004125/0.9366, allocations: 372.4 kB / 497.7 MB, free: 40.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002944/0.9369, allocations: 102.6 kB / 497.8 MB, free: 40.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003219/0.9373, allocations: 0.5176 MB / 498.3 MB, free: 39.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002506/0.9398, allocations: 1.245 MB / 499.5 MB, free: 39.56 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004038/0.9439, allocations: 4.798 MB / 0.4925 GB, free: 34.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004314/0.9482, allocations: 2.418 MB / 0.4949 GB, free: 33.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.752e-05/0.9483, allocations: 34.94 kB / 0.4949 GB, free: 33.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01247/0.9608, allocations: 5.597 MB / 0.5004 GB, free: 31.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.961, allocations: 60.61 kB / 0.5004 GB, free: 31.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001657/0.9612, allocations: 130.8 kB / 0.5005 GB, free: 31.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.9614, allocations: 188.6 kB / 0.5007 GB, free: 31.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004403/0.9658, allocations: 1.162 MB / 0.5019 GB, free: 30.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002077/0.966, allocations: 246.8 kB / 0.5021 GB, free: 30.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005292/0.9713, allocations: 0.7693 MB / 0.5028 GB, free: 30.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008581/0.9722, allocations: 332.3 kB / 0.5032 GB, free: 30.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (630): * Single equations (assignments): 627 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003859/0.9761, allocations: 1.84 MB / 0.505 GB, free: 29.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000705/0.9768, allocations: 323 kB / 0.5053 GB, free: 29.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.9782, allocations: 0.5319 MB / 0.5058 GB, free: 29.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.14e-05/0.9782, allocations: 11.91 kB / 0.5058 GB, free: 29.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.9783, allocations: 0 / 0.5058 GB, free: 29.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.9783, allocations: 3.188 kB / 0.5058 GB, free: 29.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008687/0.987, allocations: 3.423 MB / 0.5091 GB, free: 27.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.987, allocations: 4 kB / 0.5091 GB, free: 27.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006404/0.9877, allocations: 113.8 kB / 0.5093 GB, free: 27.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.9877, allocations: 7.5 kB / 0.5093 GB, free: 27.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.9878, allocations: 16 kB / 0.5093 GB, free: 27.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.9878, allocations: 8 kB / 0.5093 GB, free: 27.13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.575e-06/0.9878, allocations: 6.719 kB / 0.5093 GB, free: 27.13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.9907, allocations: 2.43 MB / 0.5117 GB, free: 24.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.992, allocations: 0.5399 MB / 0.5122 GB, free: 24.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005471/0.9926, allocations: 18.72 kB / 0.5122 GB, free: 24.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/0.9943, allocations: 57.28 kB / 0.5123 GB, free: 24.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.9945, allocations: 41.69 kB / 0.5123 GB, free: 24.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.296e-05/0.9946, allocations: 35.88 kB / 0.5123 GB, free: 24.08 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005335/0.9999, allocations: 2.628 MB / 0.5149 GB, free: 21.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.271e-06/1, allocations: 0 / 0.5149 GB, free: 21.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005828/1.006, allocations: 0.8895 MB / 0.5158 GB, free: 21.03 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * 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 (57): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005124/1.006, allocations: 171.9 kB / 0.5159 GB, free: 20.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005612/1.012, allocations: 2.898 MB / 0.5188 GB, free: 18.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.509e-06/1.012, allocations: 0 / 0.5188 GB, free: 18.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007037/1.013, allocations: 402 kB / 0.5191 GB, free: 17.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/1.015, allocations: 406.9 kB / 0.5195 GB, free: 17.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/1.034, allocations: 10.31 MB / 0.5296 GB, free: 8.836 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003962/1.038, allocations: 2.937 MB / 0.5325 GB, free: 6.586 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008202/1.038, allocations: 273 kB / 0.5327 GB, free: 6.336 MB / 346.7 MB Notification: Performance of SimCode: time 2.557e-06/1.038, allocations: 4 kB / 0.5327 GB, free: 6.332 MB / 346.7 MB Notification: Performance of Templates: time 0.2912/1.33, allocations: 49.13 MB / 0.5807 GB, free: 70.45 MB / 362.7 MB