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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.859/1.859, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.908e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2752, allocations: 48.68 MB / 320 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.4076, allocations: 88.03 MB / 408 MB, free: 8.414 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.4079, allocations: 67.97 kB / 408.1 MB, free: 8.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5179/0.9258, allocations: 83.17 MB / 491.3 MB, free: 81.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.059e-06/0.9258, allocations: 0 / 491.3 MB, free: 81.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001406/0.926, allocations: 68 kB / 491.3 MB, free: 81.01 MB / 378.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.009694/0.9357, allocations: 3.513 MB / 494.8 MB, free: 77.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.9358, allocations: 12.03 kB / 494.9 MB, free: 77.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01814/0.9539, allocations: 3.501 MB / 498.4 MB, free: 73.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/0.9659, allocations: 4.188 MB / 0.4908 GB, free: 69.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/0.9662, allocations: 124 kB / 0.4909 GB, free: 69.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001822/0.968, allocations: 227.9 kB / 0.4911 GB, free: 69.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01318/0.9812, allocations: 7.025 MB / 0.498 GB, free: 62.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01866/0.9999, allocations: 9.202 MB / 0.507 GB, free: 52.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001336/1, allocations: 31.73 kB / 0.507 GB, free: 52.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007489/1.001, allocations: 12 kB / 0.507 GB, free: 52.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001749/1.003, allocations: 1.164 MB / 0.5081 GB, free: 51.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04528/1.048, allocations: 29.71 MB / 0.5371 GB, free: 21.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003635/1.052, allocations: 2.957 MB / 0.54 GB, free: 18.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/1.053, allocations: 1.03 MB / 0.541 GB, free: 17.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/1.054, allocations: 1.306 MB / 0.5423 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/1.054, allocations: 51.97 kB / 0.5424 GB, free: 15.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=189): time 5.848e-06/1.054, allocations: 3.938 kB / 0.5424 GB, free: 15.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=195): time 0.01872/1.073, allocations: 8.001 MB / 0.5502 GB, free: 7.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/1.073, allocations: 102.3 kB / 0.5503 GB, free: 7.348 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003285/1.077, allocations: 2.233 MB / 0.5525 GB, free: 5.098 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001595/1.077, allocations: 25.7 kB / 0.5525 GB, free: 5.066 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00135/1.078, allocations: 2.842 MB / 0.5553 GB, free: 2.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005893/1.079, allocations: 0.7015 MB / 0.5559 GB, free: 1.473 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/1.079, allocations: 0 / 0.5559 GB, free: 1.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003221/1.079, allocations: 0.538 MB / 0.5565 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00268/1.082, allocations: 1.49 MB / 0.5579 GB, free: 15.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006244/1.088, allocations: 4.605 MB / 0.5624 GB, free: 9.254 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005811/1.094, allocations: 2.686 MB / 0.565 GB, free: 6.566 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/1.094, allocations: 32 kB / 0.5651 GB, free: 6.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01449/1.109, allocations: 5.447 MB / 0.5704 GB, free: 1.078 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.109, allocations: 60.91 kB / 0.5704 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001662/1.109, allocations: 112 kB / 0.5706 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000483/1.11, allocations: 204.8 kB / 0.5708 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00493/1.115, allocations: 1.17 MB / 0.5719 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/1.117, allocations: 1.634 MB / 0.5735 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004245/1.121, allocations: 131.8 kB / 0.5736 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009037/1.122, allocations: 316 kB / 0.5739 GB, free: 13.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * 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 (648): * Single equations (assignments): 641 * 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.0009247/1.123, allocations: 393.5 kB / 0.5743 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005586/1.123, allocations: 252.7 kB / 0.5745 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005461/1.129, allocations: 2.424 MB / 0.5769 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.69e-05/1.129, allocations: 24 kB / 0.5769 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.099e-06/1.129, allocations: 4 kB / 0.5769 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/1.129, allocations: 7.969 kB / 0.5769 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/1.146, allocations: 6.92 MB / 0.5837 GB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.753e-05/1.146, allocations: 12 kB / 0.5837 GB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/1.147, allocations: 259.6 kB / 0.584 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002292/1.148, allocations: 57.41 kB / 0.584 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/1.148, allocations: 27.98 kB / 0.584 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/1.15, allocations: 1.42 MB / 0.5854 GB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.619e-05/1.15, allocations: 23.95 kB / 0.5854 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008111/1.158, allocations: 4.861 MB / 0.5902 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/1.159, allocations: 0.5016 MB / 0.5907 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003742/1.16, allocations: 20.23 kB / 0.5907 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.161, allocations: 39.95 kB / 0.5907 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/1.161, allocations: 124.9 kB / 0.5909 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/1.161, allocations: 71.98 kB / 0.5909 GB, free: 11.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004196/1.166, allocations: 1.459 MB / 0.5923 GB, free: 9.672 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.582e-06/1.166, allocations: 0 / 0.5923 GB, free: 9.672 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00677/1.172, allocations: 0.7128 MB / 0.593 GB, free: 8.961 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (144): * Single equations (assignments): 137 * 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.0005136/1.173, allocations: 162.8 kB / 0.5932 GB, free: 8.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007727/1.181, allocations: 3.703 MB / 0.5968 GB, free: 5.109 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.181, allocations: 0.5625 kB / 0.5968 GB, free: 5.109 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002348/1.183, allocations: 1.196 MB / 0.598 GB, free: 3.902 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/1.185, allocations: 217.5 kB / 0.5982 GB, free: 3.688 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2486/1.433, allocations: 7.583 MB / 0.6056 GB, free: 120.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005958/1.439, allocations: 3.283 MB / 0.6088 GB, free: 119.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009823/1.44, allocations: 229.4 kB / 0.609 GB, free: 119.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.769e-06/1.44, allocations: 2.406 kB / 0.609 GB, free: 119.4 MB / 426.7 MB Notification: Performance of Templates: time 0.08891/1.529, allocations: 62.37 MB / 0.6699 GB, free: 84.32 MB / 426.7 MB