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.Joints.Prismatic.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadModel(ModelicaTest): time 1.795/1.795, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.481e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1151, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/0.4726, allocations: 88.69 MB / 415.2 MB, free: 3.047 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.4729, allocations: 70.16 kB / 415.3 MB, free: 3.012 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3123/0.7853, allocations: 84.7 MB / 500 MB, free: 5.156 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.246e-06/0.7853, allocations: 0 / 500 MB, free: 5.156 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001672/0.7855, allocations: 67.94 kB / 0.4883 GB, free: 5.09 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: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.009996/0.7955, allocations: 3.509 MB / 0.4918 GB, free: 1.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.7956, allocations: 12.03 kB / 0.4918 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01939/0.815, allocations: 3.512 MB / 0.4952 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01352/0.8285, allocations: 4.182 MB / 0.4993 GB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004196/0.829, allocations: 295.7 kB / 0.4996 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001923/0.8309, allocations: 387.9 kB / 0.4999 GB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02503/0.856, allocations: 9.857 MB / 0.5096 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001518/0.8562, allocations: 27.72 kB / 0.5096 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001062/0.8572, allocations: 179.8 kB / 0.5098 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002205/0.8595, allocations: 1.168 MB / 0.5109 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02319/0.8827, allocations: 9.277 MB / 0.52 GB, free: 4.129 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3052/1.188, allocations: 32.43 MB / 0.5516 GB, free: 83.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/1.201, allocations: 3.335 MB / 0.5549 GB, free: 82.19 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003361/1.205, allocations: 1.065 MB / 0.5559 GB, free: 82.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001939/1.207, allocations: 1.311 MB / 0.5572 GB, free: 81.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/1.207, allocations: 47.19 kB / 0.5573 GB, free: 81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 1.018e-05/1.207, allocations: 0 / 0.5573 GB, free: 81 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.03522/1.242, allocations: 8.692 MB / 0.5658 GB, free: 79.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/1.242, allocations: 99.61 kB / 0.5658 GB, free: 79.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00413/1.246, allocations: 2.32 MB / 0.5681 GB, free: 78.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002662/1.247, allocations: 48.17 kB / 0.5682 GB, free: 78.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001544/1.248, allocations: 2.735 MB / 0.5708 GB, free: 77.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007058/1.249, allocations: 0.7084 MB / 0.5715 GB, free: 76.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/1.249, allocations: 98.94 kB / 0.5716 GB, free: 76.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003161/1.249, allocations: 0.5242 MB / 0.5721 GB, free: 76.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002924/1.252, allocations: 1.501 MB / 0.5736 GB, free: 76.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004081/1.257, allocations: 4.376 MB / 0.5779 GB, free: 72.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004546/1.261, allocations: 2.623 MB / 0.5804 GB, free: 72.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-05/1.261, allocations: 28.31 kB / 0.5805 GB, free: 72.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.01157/1.273, allocations: 5.741 MB / 0.5861 GB, free: 70.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.752e-05/1.273, allocations: 46.59 kB / 0.5861 GB, free: 70.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/1.273, allocations: 101.3 kB / 0.5862 GB, free: 70.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003744/1.273, allocations: 190.9 kB / 0.5864 GB, free: 70.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004297/1.278, allocations: 1.094 MB / 0.5875 GB, free: 70.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/1.279, allocations: 1.676 MB / 0.5891 GB, free: 68.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003904/1.283, allocations: 211.5 kB / 0.5893 GB, free: 68.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005293/1.284, allocations: 300.1 kB / 0.5896 GB, free: 68.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (601): * Single equations (assignments): 594 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000767/1.285, allocations: 480.5 kB / 0.59 GB, free: 68.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000397/1.285, allocations: 247.6 kB / 0.5903 GB, free: 68.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004471/1.289, allocations: 2.5 MB / 0.5927 GB, free: 67.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.135e-05/1.29, allocations: 24.95 kB / 0.5927 GB, free: 67.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.322e-06/1.29, allocations: 0 / 0.5927 GB, free: 67.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/1.29, allocations: 10.27 kB / 0.5927 GB, free: 67.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/1.305, allocations: 8.146 MB / 0.6007 GB, free: 64.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-05/1.306, allocations: 11.81 kB / 0.6007 GB, free: 64.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/1.307, allocations: 266.4 kB / 0.601 GB, free: 64.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/1.307, allocations: 56.05 kB / 0.601 GB, free: 64.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/1.307, allocations: 39.16 kB / 0.6011 GB, free: 64.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/1.309, allocations: 1.49 MB / 0.6025 GB, free: 63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/1.309, allocations: 19.5 kB / 0.6025 GB, free: 63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00633/1.315, allocations: 4.873 MB / 0.6073 GB, free: 60.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.316, allocations: 0.5044 MB / 0.6078 GB, free: 59.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004526/1.317, allocations: 34.25 kB / 0.6078 GB, free: 59.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.318, allocations: 61.88 kB / 0.6079 GB, free: 59.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/1.318, allocations: 120.3 kB / 0.608 GB, free: 59.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.318, allocations: 71.47 kB / 0.6081 GB, free: 59.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002817/1.321, allocations: 1.574 MB / 0.6096 GB, free: 59.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.88e-07/1.321, allocations: 0 / 0.6096 GB, free: 59.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004828/1.326, allocations: 0.8284 MB / 0.6104 GB, free: 58.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 135 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000471/1.327, allocations: 178.1 kB / 0.6106 GB, free: 58.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006258/1.333, allocations: 3.795 MB / 0.6143 GB, free: 55.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.333, allocations: 8.188 kB / 0.6143 GB, free: 55.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001828/1.335, allocations: 1.222 MB / 0.6155 GB, free: 54.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/1.337, allocations: 302 kB / 0.6158 GB, free: 53.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/1.351, allocations: 7.587 MB / 0.6232 GB, free: 46.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004418/1.356, allocations: 3.282 MB / 0.6264 GB, free: 44.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008726/1.357, allocations: 233.6 kB / 0.6266 GB, free: 44.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.87e-06/1.357, allocations: 0 / 0.6266 GB, free: 44.21 MB / 426.7 MB Notification: Performance of Templates: time 0.0902/1.447, allocations: 63.39 MB / 0.6885 GB, free: 3.023 MB / 442.7 MB