Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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) 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_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003728, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08753/0.08794, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4079/0.4959, allocations: 82.29 MB / 354.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004106/0.4964, allocations: 98.25 kB / 355 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3569/0.8533, allocations: 66.57 MB / 421.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.8534, allocations: 4 kB / 421.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003232/0.8537, allocations: 64 kB / 421.6 MB, free: 9.965 MB / 346.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.05947/0.9132, allocations: 3.563 MB / 425.2 MB, free: 6.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/0.9133, allocations: 8.031 kB / 425.2 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02512/0.9384, allocations: 1.952 MB / 427.2 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.9503, allocations: 2.182 MB / 429.4 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005892/0.951, allocations: 258.8 kB / 429.6 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002565/0.9536, allocations: 347.8 kB / 429.9 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.307/1.261, allocations: 8.08 MB / 438 MB, free: 76.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001985/1.261, allocations: 50.64 kB / 438.1 MB, free: 76.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009101/1.262, allocations: 168.2 kB / 438.2 MB, free: 76.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001722/1.264, allocations: 0.7868 MB / 439 MB, free: 76.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01699/1.281, allocations: 5.97 MB / 445 MB, free: 76.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04691/1.328, allocations: 39.9 MB / 484.9 MB, free: 47.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004109/1.332, allocations: 1.593 MB / 486.5 MB, free: 46.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006357/1.338, allocations: 2.829 MB / 489.3 MB, free: 44.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/1.338, allocations: 43.28 kB / 489.4 MB, free: 44.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=80): time 5.1e-06/1.338, allocations: 3.281 kB / 489.4 MB, free: 44.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=80): time 0.006394/1.345, allocations: 1.943 MB / 491.3 MB, free: 44.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/1.345, allocations: 191.1 kB / 491.5 MB, free: 43.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009332/1.354, allocations: 4.098 MB / 495.6 MB, free: 42.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001629/1.354, allocations: 34.16 kB / 495.6 MB, free: 42.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002794/1.357, allocations: 2.921 MB / 498.5 MB, free: 40.33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005904/1.358, allocations: 369.1 kB / 498.9 MB, free: 40.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005602/1.358, allocations: 98.05 kB / 499 MB, free: 40.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003577/1.359, allocations: 0.5158 MB / 499.5 MB, free: 39.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003175/1.362, allocations: 1.246 MB / 0.489 GB, free: 39.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005306/1.367, allocations: 4.797 MB / 0.4937 GB, free: 33.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005332/1.373, allocations: 2.413 MB / 0.4961 GB, free: 32.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/1.373, allocations: 36.25 kB / 0.4961 GB, free: 32.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01487/1.388, allocations: 5.733 MB / 0.5017 GB, free: 30.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/1.388, allocations: 62.95 kB / 0.5018 GB, free: 30.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/1.388, allocations: 128.4 kB / 0.5019 GB, free: 30.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/1.388, allocations: 186.5 kB / 0.5021 GB, free: 30.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006432/1.395, allocations: 1.166 MB / 0.5032 GB, free: 30.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002384/1.395, allocations: 243.2 kB / 0.5034 GB, free: 30.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005882/1.401, allocations: 0.766 MB / 0.5042 GB, free: 30.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001175/1.402, allocations: 333.3 kB / 0.5045 GB, free: 30.01 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 () * Number of clocked 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.004629/1.407, allocations: 1.842 MB / 0.5063 GB, free: 29.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008071/1.408, allocations: 333.7 kB / 0.5066 GB, free: 28.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/1.409, allocations: 0.52 MB / 0.5071 GB, free: 28.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-05/1.409, allocations: 14.06 kB / 0.5071 GB, free: 28.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.409, allocations: 0 / 0.5071 GB, free: 28.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.409, allocations: 3.469 kB / 0.5071 GB, free: 28.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009544/1.419, allocations: 3.425 MB / 0.5105 GB, free: 26.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.419, allocations: 4.5 kB / 0.5105 GB, free: 26.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009211/1.42, allocations: 106.7 kB / 0.5106 GB, free: 25.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/1.42, allocations: 8 kB / 0.5106 GB, free: 25.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.602e-05/1.42, allocations: 14.22 kB / 0.5106 GB, free: 25.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.345e-05/1.42, allocations: 11.41 kB / 0.5106 GB, free: 25.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.42, allocations: 7.938 kB / 0.5106 GB, free: 25.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/1.423, allocations: 2.057 MB / 0.5126 GB, free: 23.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/1.425, allocations: 0.5446 MB / 0.5132 GB, free: 23.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006885/1.426, allocations: 16.92 kB / 0.5132 GB, free: 23.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/1.427, allocations: 54.92 kB / 0.5132 GB, free: 23.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/1.428, allocations: 45.83 kB / 0.5133 GB, free: 23.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.481e-05/1.428, allocations: 33.03 kB / 0.5133 GB, free: 23.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.006717/1.434, allocations: 2.62 MB / 0.5159 GB, free: 21.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.435, allocations: 0 / 0.5159 GB, free: 21.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006075/1.441, allocations: 0.9029 MB / 0.5168 GB, free: 20.31 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 () * Number of clocked 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.0005858/1.441, allocations: 176.1 kB / 0.5169 GB, free: 20.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006609/1.448, allocations: 2.889 MB / 0.5197 GB, free: 17.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.448, allocations: 0 / 0.5197 GB, free: 17.61 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00087/1.449, allocations: 396.1 kB / 0.5201 GB, free: 17.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/1.452, allocations: 409 kB / 0.5205 GB, free: 16.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/1.474, allocations: 9.954 MB / 0.5302 GB, free: 8.414 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006099/1.48, allocations: 2.932 MB / 0.5331 GB, free: 6.168 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00906/1.489, allocations: 1.639 MB / 0.5347 GB, free: 5.125 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/1.49, allocations: 230.1 kB / 0.5349 GB, free: 4.914 MB / 346.7 MB Notification: Performance of SimCode: time 1.472e-06/1.49, allocations: 0 / 0.5349 GB, free: 4.914 MB / 346.7 MB Notification: Performance of Templates: time 0.3564/1.847, allocations: 26.32 MB / 0.5606 GB, free: 78.24 MB / 362.7 MB