Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadModel(ModelicaTest): time 2.169/2.169, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004438, allocations: 23.98 kB / 314.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2792, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.4304, allocations: 97.23 MB / 466.5 MB, free: 9.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.4306, allocations: 83.97 kB / 466.6 MB, free: 9.258 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3675/0.7981, allocations: 33.29 MB / 499.9 MB, free: 84.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.5e-06/0.7982, allocations: 0 / 499.9 MB, free: 84.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.828e-05/0.7983, allocations: 28 kB / 499.9 MB, free: 84.7 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004335/0.8026, allocations: 1.787 MB / 0.4899 GB, free: 82.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.8027, allocations: 8.031 kB / 0.4899 GB, free: 82.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/0.8051, allocations: 397.5 kB / 0.4903 GB, free: 82.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008388/0.8136, allocations: 2.925 MB / 0.4932 GB, free: 79.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.8137, allocations: 102 kB / 0.4933 GB, free: 79.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003875/0.8141, allocations: 147.6 kB / 0.4934 GB, free: 79.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006777/0.8209, allocations: 2.9 MB / 0.4962 GB, free: 76.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.036e-05/0.821, allocations: 23.83 kB / 0.4963 GB, free: 76.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002067/0.8213, allocations: 67.73 kB / 0.4963 GB, free: 76.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004887/0.8218, allocations: 262 kB / 0.4966 GB, free: 75.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006053/0.8278, allocations: 2.112 MB / 0.4986 GB, free: 73.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01425/0.8421, allocations: 11.26 MB / 0.5096 GB, free: 62.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004332/0.8465, allocations: 1.078 MB / 0.5107 GB, free: 61.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003909/0.8505, allocations: 2.644 MB / 0.5133 GB, free: 58.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.8505, allocations: 34.56 kB / 0.5133 GB, free: 58.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.983e-06/0.8506, allocations: 4 kB / 0.5133 GB, free: 58.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.01348/0.8641, allocations: 3.509 MB / 0.5167 GB, free: 54.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.8641, allocations: 81.55 kB / 0.5168 GB, free: 54.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/0.8658, allocations: 1.05 MB / 0.5178 GB, free: 53.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.041e-05/0.8659, allocations: 33.7 kB / 0.5179 GB, free: 53.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005026/0.8664, allocations: 0.9374 MB / 0.5188 GB, free: 52.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.8666, allocations: 189.5 kB / 0.519 GB, free: 52.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.8667, allocations: 32 kB / 0.519 GB, free: 52.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.8668, allocations: 370.8 kB / 0.5193 GB, free: 51.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007396/0.8676, allocations: 383.8 kB / 0.5197 GB, free: 51.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.8687, allocations: 1.203 MB / 0.5209 GB, free: 49.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.8698, allocations: 0.6535 MB / 0.5215 GB, free: 49.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.43e-05/0.8698, allocations: 8 kB / 0.5215 GB, free: 49.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.002974/0.8728, allocations: 1.592 MB / 0.5231 GB, free: 47.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.8729, allocations: 20 kB / 0.5231 GB, free: 47.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/0.8729, allocations: 28 kB / 0.5231 GB, free: 47.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.8732, allocations: 89.58 kB / 0.5232 GB, free: 47.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.8744, allocations: 351.4 kB / 0.5235 GB, free: 47.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.876, allocations: 1.728 MB / 0.5252 GB, free: 45.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.8773, allocations: 67.97 kB / 0.5253 GB, free: 45.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.8774, allocations: 84 kB / 0.5254 GB, free: 45.17 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (182): * Single equations (assignments): 181 * Array equations: 0 * 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.0011/0.8786, allocations: 0.6242 MB / 0.526 GB, free: 44.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.8788, allocations: 114.5 kB / 0.5261 GB, free: 44.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.8802, allocations: 0.6527 MB / 0.5267 GB, free: 43.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.994e-06/0.8802, allocations: 4 kB / 0.5267 GB, free: 43.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.8802, allocations: 4 kB / 0.5267 GB, free: 43.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.624e-06/0.8802, allocations: 3.984 kB / 0.5267 GB, free: 43.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004216/0.8844, allocations: 2.153 MB / 0.5289 GB, free: 41.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.773e-06/0.8845, allocations: 4.438 kB / 0.5289 GB, free: 41.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004744/0.885, allocations: 91.84 kB / 0.5289 GB, free: 41.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002255/0.8852, allocations: 72.89 kB / 0.529 GB, free: 41.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.8853, allocations: 16 kB / 0.529 GB, free: 41.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.8869, allocations: 1.76 MB / 0.5307 GB, free: 39.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.133e-06/0.8869, allocations: 4 kB / 0.5308 GB, free: 39.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.8887, allocations: 1.196 MB / 0.5319 GB, free: 38.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/0.8891, allocations: 219.6 kB / 0.5321 GB, free: 37.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.8892, allocations: 16.25 kB / 0.5321 GB, free: 37.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005149/0.8897, allocations: 23.98 kB / 0.5322 GB, free: 37.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/0.8898, allocations: 43.84 kB / 0.5322 GB, free: 37.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/0.8899, allocations: 28.05 kB / 0.5322 GB, free: 37.74 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001211/0.8911, allocations: 0.7476 MB / 0.533 GB, free: 36.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.8911, allocations: 0 / 0.533 GB, free: 36.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001728/0.8929, allocations: 296 kB / 0.5332 GB, free: 36.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002352/0.8931, allocations: 127.1 kB / 0.5334 GB, free: 36.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001871/0.895, allocations: 1.038 MB / 0.5344 GB, free: 35.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.895, allocations: 0 / 0.5344 GB, free: 35.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006207/0.8957, allocations: 388.1 kB / 0.5348 GB, free: 35.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.8967, allocations: 175.1 kB / 0.5349 GB, free: 34.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.9022, allocations: 3.395 MB / 0.5382 GB, free: 31.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/0.9035, allocations: 1.457 MB / 0.5397 GB, free: 29.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.9037, allocations: 83.44 kB / 0.5397 GB, free: 29.91 MB / 394.7 MB Notification: Performance of SimCode: time 2.009e-06/0.9038, allocations: 0 / 0.5397 GB, free: 29.91 MB / 394.7 MB Notification: Performance of Templates: time 0.02876/0.9325, allocations: 20.91 MB / 0.5602 GB, free: 8.988 MB / 394.7 MB