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.767/1.767, allocations: 209.3 MB / 224.9 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004402/0.0004402, allocations: 15.98 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2802, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.4112, allocations: 88.78 MB / 420.1 MB, free: 5.617 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4115, allocations: 75.95 kB / 420.1 MB, free: 5.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6214/1.033, allocations: 84.59 MB / 0.4929 GB, free: 92.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.59e-06/1.033, allocations: 3.844 kB / 0.4929 GB, free: 92.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.00021/1.033, allocations: 68.81 kB / 0.493 GB, free: 92.78 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.01502/1.048, allocations: 3.652 MB / 0.4965 GB, free: 90.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.048, allocations: 6.938 kB / 0.4965 GB, free: 90.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0334/1.082, allocations: 3.506 MB / 0.5 GB, free: 90.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01899/1.101, allocations: 4.208 MB / 0.5041 GB, free: 88.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005323/1.101, allocations: 302 kB / 0.5044 GB, free: 88.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002758/1.104, allocations: 393 kB / 0.5047 GB, free: 88.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0378/1.142, allocations: 9.949 MB / 0.5144 GB, free: 81.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002458/1.142, allocations: 27.62 kB / 0.5145 GB, free: 81.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002102/1.144, allocations: 178.1 kB / 0.5146 GB, free: 81.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003365/1.148, allocations: 1.163 MB / 0.5158 GB, free: 80.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03604/1.184, allocations: 9.427 MB / 0.525 GB, free: 71.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05622/1.24, allocations: 32.43 MB / 0.5566 GB, free: 37.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006603/1.247, allocations: 3.368 MB / 0.5599 GB, free: 34.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/1.248, allocations: 1.306 MB / 0.5612 GB, free: 32.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/1.248, allocations: 47.88 kB / 0.5613 GB, free: 32.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=187): time 6.396e-06/1.248, allocations: 0 / 0.5613 GB, free: 32.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=193): time 0.02505/1.273, allocations: 10.29 MB / 0.5713 GB, free: 22.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/1.273, allocations: 94.42 kB / 0.5714 GB, free: 22.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003715/1.277, allocations: 2.342 MB / 0.5737 GB, free: 19.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002367/1.277, allocations: 45.7 kB / 0.5737 GB, free: 19.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001393/1.279, allocations: 2.732 MB / 0.5764 GB, free: 17.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006625/1.279, allocations: 0.7171 MB / 0.5771 GB, free: 16.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/1.279, allocations: 94.92 kB / 0.5772 GB, free: 16.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002972/1.28, allocations: 0.5215 MB / 0.5777 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002699/1.283, allocations: 1.536 MB / 0.5792 GB, free: 14.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004017/1.287, allocations: 4.416 MB / 0.5835 GB, free: 8.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004145/1.291, allocations: 2.613 MB / 0.5861 GB, free: 5.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.555e-05/1.291, allocations: 32 kB / 0.5861 GB, free: 5.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.01168/1.303, allocations: 5.81 MB / 0.5918 GB, free: 15.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.303, allocations: 48.62 kB / 0.5918 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/1.303, allocations: 104 kB / 0.5919 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004541/1.303, allocations: 192.8 kB / 0.5921 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004446/1.308, allocations: 1.092 MB / 0.5932 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/1.31, allocations: 1.689 MB / 0.5948 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003972/1.314, allocations: 220 kB / 0.595 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008231/1.315, allocations: 299.9 kB / 0.5953 GB, free: 12.05 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.004668/1.319, allocations: 2.024 MB / 0.5973 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005476/1.32, allocations: 244.7 kB / 0.5975 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005474/1.326, allocations: 2.526 MB / 0.6 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.751e-05/1.326, allocations: 23.75 kB / 0.6 GB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/1.326, allocations: 4 kB / 0.6 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/1.326, allocations: 12.3 kB / 0.6 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/1.344, allocations: 8.177 MB / 0.608 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.579e-05/1.344, allocations: 8 kB / 0.608 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/1.346, allocations: 263.5 kB / 0.6083 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002222/1.346, allocations: 60.83 kB / 0.6083 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/1.346, allocations: 46.83 kB / 0.6084 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/1.348, allocations: 1.513 MB / 0.6098 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.549e-05/1.348, allocations: 11.94 kB / 0.6099 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008181/1.356, allocations: 4.901 MB / 0.6146 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/1.358, allocations: 0.5016 MB / 0.6151 GB, free: 6.961 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004034/1.358, allocations: 44.05 kB / 0.6152 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.359, allocations: 51.95 kB / 0.6152 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/1.36, allocations: 128.6 kB / 0.6153 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/1.36, allocations: 70.56 kB / 0.6154 GB, free: 6.672 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003401/1.363, allocations: 1.596 MB / 0.617 GB, free: 5.062 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.033e-06/1.363, allocations: 0 / 0.617 GB, free: 5.062 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00529/1.369, allocations: 0.8194 MB / 0.6178 GB, free: 4.246 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.0005158/1.369, allocations: 174.9 kB / 0.6179 GB, free: 4.066 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008215/1.377, allocations: 3.849 MB / 0.6217 GB, free: 236 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/1.377, allocations: 4 kB / 0.6217 GB, free: 232 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2379/1.615, allocations: 1.23 MB / 0.6229 GB, free: 114.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/1.617, allocations: 305.5 kB / 0.6232 GB, free: 114.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/1.638, allocations: 10.86 MB / 0.6338 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005738/1.643, allocations: 3.282 MB / 0.637 GB, free: 109.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.645, allocations: 229.8 kB / 0.6372 GB, free: 109.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.627e-06/1.645, allocations: 0 / 0.6372 GB, free: 109.8 MB / 426.7 MB Notification: Performance of Templates: time 0.089/1.734, allocations: 63.41 MB / 0.6991 GB, free: 74.73 MB / 426.7 MB