Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.868/1.868, allocations: 209.2 MB / 225.4 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.000445, allocations: 8 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3481, allocations: 48.71 MB / 331.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.5029, allocations: 88.77 MB / 420.6 MB, free: 5.645 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.5033, allocations: 79.97 kB / 420.7 MB, free: 5.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6302/1.134, allocations: 85.12 MB / 0.4939 GB, free: 92.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.075e-06/1.134, allocations: 0 / 0.4939 GB, free: 92.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001635/1.134, allocations: 66.97 kB / 0.494 GB, free: 92.89 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.01383/1.148, allocations: 3.649 MB / 0.4975 GB, free: 90.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.148, allocations: 9.969 kB / 0.4976 GB, free: 90.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02606/1.174, allocations: 3.507 MB / 0.501 GB, free: 90.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01567/1.189, allocations: 4.2 MB / 0.5051 GB, free: 88.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003562/1.19, allocations: 298.7 kB / 0.5054 GB, free: 88.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002554/1.192, allocations: 397.2 kB / 0.5057 GB, free: 88.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02769/1.22, allocations: 9.98 MB / 0.5155 GB, free: 81.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001886/1.22, allocations: 27.81 kB / 0.5155 GB, free: 81.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00168/1.222, allocations: 176.1 kB / 0.5157 GB, free: 81.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002428/1.225, allocations: 1.16 MB / 0.5168 GB, free: 80.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02528/1.25, allocations: 9.432 MB / 0.526 GB, free: 70.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06533/1.315, allocations: 32.43 MB / 0.5577 GB, free: 37.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008916/1.324, allocations: 3.361 MB / 0.561 GB, free: 33.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/1.326, allocations: 1.307 MB / 0.5623 GB, free: 32.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/1.326, allocations: 63.81 kB / 0.5623 GB, free: 32.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=187): time 5.54e-06/1.326, allocations: 0 / 0.5623 GB, free: 32.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=193): time 0.03444/1.36, allocations: 10.28 MB / 0.5724 GB, free: 21.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/1.36, allocations: 98.45 kB / 0.5725 GB, free: 21.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004975/1.365, allocations: 2.628 MB / 0.575 GB, free: 19.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003529/1.366, allocations: 45.7 kB / 0.5751 GB, free: 18.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001937/1.368, allocations: 2.73 MB / 0.5777 GB, free: 16.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009158/1.369, allocations: 0.7092 MB / 0.5784 GB, free: 15.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005578/1.369, allocations: 99.91 kB / 0.5785 GB, free: 15.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003673/1.37, allocations: 0.5176 MB / 0.579 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003756/1.373, allocations: 1.54 MB / 0.5805 GB, free: 13.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005579/1.379, allocations: 4.432 MB / 0.5849 GB, free: 7.516 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00568/1.385, allocations: 2.62 MB / 0.5874 GB, free: 4.895 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.088e-05/1.385, allocations: 28 kB / 0.5874 GB, free: 4.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.0149/1.4, allocations: 5.801 MB / 0.5931 GB, free: 15.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.4, allocations: 52.22 kB / 0.5932 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001605/1.4, allocations: 104 kB / 0.5933 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/1.401, allocations: 188.8 kB / 0.5934 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006836/1.407, allocations: 1.092 MB / 0.5945 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/1.41, allocations: 1.686 MB / 0.5961 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004514/1.414, allocations: 211.9 kB / 0.5963 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/1.416, allocations: 307 kB / 0.5966 GB, free: 11.3 MB / 410.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 () * Number of clocked 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.006002/1.422, allocations: 2.026 MB / 0.5986 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006435/1.422, allocations: 256.7 kB / 0.5989 GB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007172/1.43, allocations: 2.518 MB / 0.6013 GB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.569e-05/1.43, allocations: 23.83 kB / 0.6013 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/1.43, allocations: 0 / 0.6013 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.515e-05/1.43, allocations: 19.86 kB / 0.6014 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02334/1.453, allocations: 8.16 MB / 0.6093 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/1.453, allocations: 12 kB / 0.6093 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00224/1.455, allocations: 255.5 kB / 0.6096 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003137/1.456, allocations: 61.41 kB / 0.6096 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003736/1.456, allocations: 54.72 kB / 0.6097 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/1.458, allocations: 1.509 MB / 0.6112 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.676e-05/1.458, allocations: 20 kB / 0.6112 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009863/1.468, allocations: 4.046 MB / 0.6151 GB, free: 7.855 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/1.47, allocations: 0.5017 MB / 0.6156 GB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007672/1.471, allocations: 35.98 kB / 0.6157 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/1.473, allocations: 63.89 kB / 0.6157 GB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004212/1.473, allocations: 116.7 kB / 0.6158 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/1.473, allocations: 75.73 kB / 0.6159 GB, free: 7.047 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00467/1.478, allocations: 1.596 MB / 0.6175 GB, free: 5.438 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.52e-07/1.478, allocations: 0 / 0.6175 GB, free: 5.438 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006276/1.484, allocations: 0.8241 MB / 0.6183 GB, free: 4.613 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 () * Number of clocked 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.0008407/1.485, allocations: 185.4 kB / 0.6185 GB, free: 4.426 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00995/1.495, allocations: 3.847 MB / 0.6222 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.495, allocations: 4.062 kB / 0.6222 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2855/1.781, allocations: 1.231 MB / 0.6234 GB, free: 114.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/1.783, allocations: 305.3 kB / 0.6237 GB, free: 114.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02632/1.809, allocations: 10.89 MB / 0.6343 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008291/1.818, allocations: 3.28 MB / 0.6375 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/1.819, allocations: 229.2 kB / 0.6378 GB, free: 109.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/1.819, allocations: 0 / 0.6378 GB, free: 109.1 MB / 426.7 MB Notification: Performance of Templates: time 0.1282/1.947, allocations: 63.41 MB / 0.6997 GB, free: 74.12 MB / 426.7 MB