Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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) 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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 1.829/1.829, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 12 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08025/0.08063, allocations: 44.5 MB / 308.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.04997/0.1306, allocations: 33.9 MB / 342.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01908/0.1497, allocations: 7.312 MB / 349.6 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00629/0.1561, allocations: 167.6 kB / 349.7 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005464/0.1616, allocations: 1.703 MB / 351.4 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01618/0.1778, allocations: 4.621 MB / 356.1 MB, free: 1.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.1796, allocations: 235.7 kB / 356.3 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003471/0.1831, allocations: 1.485 MB / 357.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005121/0.1883, allocations: 2.714 MB / 360.5 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.1899, allocations: 0.7668 MB / 361.3 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.1919, allocations: 1.071 MB / 362.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004666/0.1924, allocations: 108 kB / 362.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.1937, allocations: 0.4953 MB / 362.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.1954, allocations: 1.258 MB / 364.2 MB, free: 8.984 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009586/0.1964, allocations: 0.6985 MB / 364.9 MB, free: 8.277 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00637/0.2028, allocations: 4.084 MB / 369 MB, free: 4.184 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.719e-06/0.2028, allocations: 0 / 369 MB, free: 4.184 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.113e-06/0.2029, allocations: 7.984 kB / 369 MB, free: 4.176 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001184/0.203, allocations: 0 / 369 MB, free: 4.176 MB / 314.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.007587/0.2106, allocations: 3.406 MB / 372.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2107, allocations: 8.031 kB / 372.4 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2153/0.426, allocations: 2.007 MB / 374.4 MB, free: 63.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004122/0.4301, allocations: 1.726 MB / 376.1 MB, free: 63.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.4303, allocations: 169.2 kB / 376.3 MB, free: 62.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006242/0.431, allocations: 218.3 kB / 376.5 MB, free: 62.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01343/0.4444, allocations: 7.612 MB / 384.1 MB, free: 59.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.195e-05/0.4445, allocations: 37.7 kB / 384.1 MB, free: 59.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004183/0.445, allocations: 115.8 kB / 384.3 MB, free: 59.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002721/0.4477, allocations: 1.677 MB / 385.9 MB, free: 58.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/0.4599, allocations: 5.806 MB / 391.7 MB, free: 53.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03243/0.4924, allocations: 30.39 MB / 422.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.4955, allocations: 1.58 MB / 423.7 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004891/0.5005, allocations: 2.763 MB / 426.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.5005, allocations: 54.5 kB / 426.5 MB, free: 17.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=80): time 5.022e-06/0.5005, allocations: 3.938 kB / 426.5 MB, free: 17.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=80): time 0.005076/0.5056, allocations: 1.935 MB / 428.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.5057, allocations: 192 kB / 428.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006375/0.5121, allocations: 4.096 MB / 432.8 MB, free: 11.58 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.5123, allocations: 41.64 kB / 432.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001695/0.514, allocations: 2.818 MB / 435.6 MB, free: 8.719 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003989/0.5144, allocations: 371.9 kB / 436 MB, free: 8.359 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.5146, allocations: 100 kB / 436.1 MB, free: 8.262 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002664/0.5149, allocations: 0.5254 MB / 436.6 MB, free: 7.727 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.5171, allocations: 1.247 MB / 437.8 MB, free: 6.473 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003773/0.5209, allocations: 4.823 MB / 442.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00493/0.5258, allocations: 2.427 MB / 445.1 MB, free: 13.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/0.526, allocations: 36 kB / 445.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01376/0.5397, allocations: 5.602 MB / 450.7 MB, free: 7.758 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.5399, allocations: 63.75 kB / 450.8 MB, free: 7.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000185/0.5401, allocations: 132 kB / 450.9 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000256/0.5404, allocations: 184 kB / 451.1 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004419/0.5448, allocations: 1.166 MB / 452.3 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002727/0.5451, allocations: 251 kB / 452.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005128/0.5502, allocations: 0.7653 MB / 453.3 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007506/0.551, allocations: 336 kB / 453.6 MB, free: 4.879 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 586 * 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 (631): * Single equations (assignments): 628 * 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.003957/0.555, allocations: 1.849 MB / 455.5 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000798/0.5558, allocations: 323.7 kB / 455.8 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.5571, allocations: 0.5115 MB / 456.3 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.608e-05/0.5572, allocations: 12.73 kB / 456.3 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.5572, allocations: 4 kB / 456.3 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.5572, allocations: 3.984 kB / 456.3 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008411/0.5657, allocations: 3.443 MB / 459.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.5657, allocations: 4 kB / 459.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006608/0.5664, allocations: 107.8 kB / 459.9 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.6e-05/0.5664, allocations: 8 kB / 459.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.108e-05/0.5665, allocations: 17.09 kB / 459.9 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/0.5665, allocations: 4 kB / 459.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/0.5666, allocations: 11.92 kB / 459.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003441/0.57, allocations: 2.055 MB / 462 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/0.5714, allocations: 0.5589 MB / 462.5 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004117/0.5719, allocations: 16.06 kB / 462.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/0.5733, allocations: 61.11 kB / 462.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.5734, allocations: 43.84 kB / 462.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.182e-05/0.5735, allocations: 28.69 kB / 462.7 MB, free: 11.65 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005837/0.5794, allocations: 2.634 MB / 465.3 MB, free: 9.004 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.264e-06/0.5794, allocations: 0 / 465.3 MB, free: 9.004 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005553/0.585, allocations: 0.881 MB / 466.2 MB, free: 8.129 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.0004593/0.5855, allocations: 152.3 kB / 466.3 MB, free: 7.977 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006405/0.5919, allocations: 2.89 MB / 469.2 MB, free: 5.121 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.375e-06/0.592, allocations: 1.562 kB / 469.2 MB, free: 5.121 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008334/0.5928, allocations: 404.1 kB / 469.6 MB, free: 4.727 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/0.5952, allocations: 405.7 kB / 470 MB, free: 4.328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01833/0.6136, allocations: 8.949 MB / 479 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004707/0.6183, allocations: 2.924 MB / 481.9 MB, free: 8.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008945/0.6193, allocations: 271.4 kB / 482.1 MB, free: 8.078 MB / 362.7 MB Notification: Performance of SimCode: time 1.676e-06/0.6193, allocations: 4 kB / 482.1 MB, free: 8.074 MB / 362.7 MB Notification: Performance of Templates: time 0.316/0.9352, allocations: 49.48 MB / 0.5192 GB, free: 109.5 MB / 394.7 MB