Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 2.115/2.115, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09281/0.09318, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4191/0.5123, allocations: 88.15 MB / 397.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004149/0.5128, allocations: 93.31 kB / 397.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.247/0.7598, allocations: 67.2 MB / 464.5 MB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.7599, allocations: 0 / 464.5 MB, free: 6.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000238/0.7602, allocations: 68 kB / 464.6 MB, free: 6.621 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.01249/0.7727, allocations: 3.445 MB / 468 MB, free: 3.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.7727, allocations: 16.03 kB / 468 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01611/0.7889, allocations: 1.95 MB / 470 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00865/0.7976, allocations: 2.076 MB / 472.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000598/0.7982, allocations: 268.6 kB / 472.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001984/0.8002, allocations: 342.8 kB / 472.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/0.8233, allocations: 8.074 MB / 480.7 MB, free: 5.504 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002055/0.8236, allocations: 55.5 kB / 480.8 MB, free: 5.449 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001419/0.825, allocations: 169.8 kB / 480.9 MB, free: 5.305 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001867/0.8269, allocations: 0.7817 MB / 481.7 MB, free: 4.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01735/0.8443, allocations: 5.966 MB / 487.7 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05592/0.9003, allocations: 39.81 MB / 0.5151 GB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004774/0.9051, allocations: 1.597 MB / 0.5167 GB, free: 3.711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006876/0.912, allocations: 2.748 MB / 0.5194 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.9121, allocations: 46.5 kB / 0.5194 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 4.889e-06/0.9121, allocations: 0 / 0.5194 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.2741/1.186, allocations: 1.94 MB / 0.5213 GB, free: 108.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/1.186, allocations: 194.3 kB / 0.5215 GB, free: 108 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008798/1.195, allocations: 4.074 MB / 0.5255 GB, free: 107.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001508/1.195, allocations: 37.86 kB / 0.5255 GB, free: 107.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002309/1.198, allocations: 2.914 MB / 0.5284 GB, free: 106.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000485/1.198, allocations: 368.1 kB / 0.5287 GB, free: 106.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003035/1.199, allocations: 97.86 kB / 0.5288 GB, free: 106.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002912/1.199, allocations: 0.5173 MB / 0.5293 GB, free: 106 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002717/1.202, allocations: 1.247 MB / 0.5305 GB, free: 106 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004863/1.206, allocations: 4.79 MB / 0.5352 GB, free: 101.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005392/1.212, allocations: 2.418 MB / 0.5376 GB, free: 101.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001157/1.212, allocations: 36.22 kB / 0.5376 GB, free: 101.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01499/1.227, allocations: 5.735 MB / 0.5432 GB, free: 100.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/1.227, allocations: 60.31 kB / 0.5433 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001708/1.227, allocations: 132.8 kB / 0.5434 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/1.228, allocations: 183 kB / 0.5436 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006319/1.234, allocations: 1.17 MB / 0.5447 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002318/1.234, allocations: 249.8 kB / 0.5449 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005911/1.24, allocations: 0.7448 MB / 0.5457 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/1.241, allocations: 333.7 kB / 0.546 GB, free: 100.1 MB / 410.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.003865/1.245, allocations: 1.844 MB / 0.5478 GB, free: 99.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006961/1.246, allocations: 321.8 kB / 0.5481 GB, free: 99.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/1.247, allocations: 0.5219 MB / 0.5486 GB, free: 99.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/1.247, allocations: 10.47 kB / 0.5486 GB, free: 99.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/1.247, allocations: 3.844 kB / 0.5486 GB, free: 99.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/1.247, allocations: 3.656 kB / 0.5486 GB, free: 99.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008923/1.256, allocations: 3.342 MB / 0.5519 GB, free: 99.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/1.256, allocations: 3.625 kB / 0.5519 GB, free: 99.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009068/1.257, allocations: 107.8 kB / 0.552 GB, free: 99.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/1.257, allocations: 3.969 kB / 0.552 GB, free: 99.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.02e-05/1.257, allocations: 28.69 kB / 0.552 GB, free: 99.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/1.257, allocations: 4.688 kB / 0.552 GB, free: 99.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.257, allocations: 3.719 kB / 0.552 GB, free: 99.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003167/1.261, allocations: 2.057 MB / 0.554 GB, free: 98.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.262, allocations: 469.4 kB / 0.5545 GB, free: 97.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005461/1.262, allocations: 16.78 kB / 0.5545 GB, free: 97.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/1.264, allocations: 40.84 kB / 0.5545 GB, free: 97.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.264, allocations: 45.31 kB / 0.5546 GB, free: 97.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.156e-05/1.264, allocations: 27.64 kB / 0.5546 GB, free: 97.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005847/1.27, allocations: 2.608 MB / 0.5572 GB, free: 97.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.27, allocations: 3.344 kB / 0.5572 GB, free: 97.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005685/1.276, allocations: 0.8748 MB / 0.558 GB, free: 97.2 MB / 410.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.0004589/1.276, allocations: 147.6 kB / 0.5582 GB, free: 97.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006419/1.283, allocations: 2.895 MB / 0.561 GB, free: 96.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.283, allocations: 0 / 0.561 GB, free: 96.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008265/1.284, allocations: 402.8 kB / 0.5614 GB, free: 96.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/1.286, allocations: 417.9 kB / 0.5618 GB, free: 95.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/1.303, allocations: 8.451 MB / 0.57 GB, free: 91.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004987/1.308, allocations: 2.933 MB / 0.5729 GB, free: 90.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006818/1.315, allocations: 1.592 MB / 0.5744 GB, free: 90.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/1.316, allocations: 210 kB / 0.5746 GB, free: 90.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/1.316, allocations: 0 / 0.5746 GB, free: 90.06 MB / 410.7 MB Notification: Performance of Templates: time 0.07662/1.393, allocations: 23.57 MB / 0.5977 GB, free: 79.59 MB / 410.7 MB