Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 1.578/1.578, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.259e-05/2.274e-05, allocations: 4 kB / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2079, allocations: 38.77 MB / 267.6 MB, free: 9.445 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.331, allocations: 82.21 MB / 349.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.3313, allocations: 87.95 kB / 349.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4061/0.7374, allocations: 66.5 MB / 416.4 MB, free: 29.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.058e-06/0.7374, allocations: 7.875 kB / 416.4 MB, free: 29.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001604/0.7376, allocations: 72 kB / 416.5 MB, free: 29.82 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.007777/0.7454, allocations: 3.168 MB / 419.6 MB, free: 26.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.7455, allocations: 8.031 kB / 419.6 MB, free: 26.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009769/0.7552, allocations: 1.949 MB / 421.6 MB, free: 24.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005359/0.7606, allocations: 2.154 MB / 423.7 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002639/0.761, allocations: 258.8 kB / 424 MB, free: 22.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001231/0.7622, allocations: 339.8 kB / 424.3 MB, free: 21.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01527/0.7775, allocations: 8.023 MB / 432.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001266/0.7777, allocations: 51.5 kB / 432.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007443/0.7784, allocations: 179.8 kB / 432.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/0.7795, allocations: 0.7778 MB / 433.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/0.7915, allocations: 5.858 MB / 439.2 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04903/0.8406, allocations: 39.91 MB / 479.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003818/0.8444, allocations: 1.581 MB / 480.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.8455, allocations: 453.6 kB / 481.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006043/0.8516, allocations: 2.841 MB / 484 MB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.8516, allocations: 38.56 kB / 484 MB, free: 7.336 MB / 346.7 MB Notification: Performance of pre-optimization done (n=80): time 4.527e-06/0.8516, allocations: 0 / 484 MB, free: 7.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=80): time 0.004793/0.8565, allocations: 1.346 MB / 485.4 MB, free: 5.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.8566, allocations: 183.9 kB / 485.6 MB, free: 5.758 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00833/0.865, allocations: 3.606 MB / 489.2 MB, free: 2.125 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.8651, allocations: 37.7 kB / 489.2 MB, free: 2.082 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2004/1.066, allocations: 2.811 MB / 492 MB, free: 85.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005514/1.066, allocations: 367.6 kB / 492.4 MB, free: 84.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004188/1.067, allocations: 98.98 kB / 492.5 MB, free: 84.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004326/1.067, allocations: 0.5234 MB / 493 MB, free: 84.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002807/1.07, allocations: 1.213 MB / 494.2 MB, free: 84.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004493/1.074, allocations: 4.762 MB / 499 MB, free: 79.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004472/1.079, allocations: 2.427 MB / 0.4896 GB, free: 79.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001318/1.079, allocations: 37.03 kB / 0.4897 GB, free: 79.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01243/1.091, allocations: 5.521 MB / 0.4951 GB, free: 79.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/1.092, allocations: 59.28 kB / 0.4951 GB, free: 79.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/1.092, allocations: 128.7 kB / 0.4952 GB, free: 79.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/1.092, allocations: 184.6 kB / 0.4954 GB, free: 79.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004215/1.096, allocations: 1.164 MB / 0.4966 GB, free: 79.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002053/1.096, allocations: 252.9 kB / 0.4968 GB, free: 79.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005352/1.102, allocations: 0.7655 MB / 0.4975 GB, free: 78.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008795/1.103, allocations: 337.1 kB / 0.4979 GB, free: 78.92 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (630): * Single equations (assignments): 627 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000793/1.104, allocations: 0.5108 MB / 0.4984 GB, free: 78.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006767/1.104, allocations: 323.2 kB / 0.4987 GB, free: 78.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/1.105, allocations: 0.5086 MB / 0.4992 GB, free: 78.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-05/1.106, allocations: 11.81 kB / 0.4992 GB, free: 78.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.227e-06/1.106, allocations: 0 / 0.4992 GB, free: 78.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/1.106, allocations: 7.234 kB / 0.4992 GB, free: 78.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008074/1.114, allocations: 3.417 MB / 0.5025 GB, free: 77.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/1.114, allocations: 7 kB / 0.5025 GB, free: 77.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006706/1.114, allocations: 107.3 kB / 0.5026 GB, free: 77.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/1.114, allocations: 7.031 kB / 0.5026 GB, free: 77.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.867e-05/1.115, allocations: 13.94 kB / 0.5027 GB, free: 77.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.28e-06/1.115, allocations: 6.969 kB / 0.5027 GB, free: 77.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.157e-06/1.115, allocations: 7.875 kB / 0.5027 GB, free: 77.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002811/1.117, allocations: 2.401 MB / 0.505 GB, free: 76.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/1.119, allocations: 0.538 MB / 0.5055 GB, free: 76.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005455/1.119, allocations: 19.17 kB / 0.5056 GB, free: 76.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/1.121, allocations: 58.56 kB / 0.5056 GB, free: 76.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.121, allocations: 41.95 kB / 0.5056 GB, free: 76.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.329e-05/1.121, allocations: 28.53 kB / 0.5057 GB, free: 76.4 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005583/1.127, allocations: 2.574 MB / 0.5082 GB, free: 76.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.293e-06/1.127, allocations: 4 kB / 0.5082 GB, free: 76.19 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005754/1.133, allocations: 0.8985 MB / 0.5091 GB, free: 76.12 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000431/1.133, allocations: 169 kB / 0.5092 GB, free: 76.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005605/1.139, allocations: 2.845 MB / 0.512 GB, free: 75.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.56e-06/1.139, allocations: 0 / 0.512 GB, free: 75.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007453/1.14, allocations: 394.9 kB / 0.5124 GB, free: 75.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/1.142, allocations: 407.5 kB / 0.5128 GB, free: 74.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/1.16, allocations: 7.596 MB / 0.5202 GB, free: 72.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004905/1.165, allocations: 2.931 MB / 0.5231 GB, free: 70.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008613/1.165, allocations: 274.7 kB / 0.5233 GB, free: 70.54 MB / 346.7 MB Notification: Performance of SimCode: time 1.708e-06/1.165, allocations: 0 / 0.5233 GB, free: 70.54 MB / 346.7 MB Notification: Performance of Templates: time 0.07505/1.241, allocations: 49.12 MB / 0.5713 GB, free: 29.04 MB / 346.7 MB