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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.624/1.624, allocations: 171.3 MB / 179.2 MB, free: 7.594 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.981e-05, allocations: 8 kB / 222.5 MB, free: 8.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0706/0.07065, allocations: 38.77 MB / 261.3 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.307/0.3777, allocations: 81.56 MB / 342.8 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.378, allocations: 86.39 kB / 342.9 MB, free: 6.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2436/0.6216, allocations: 64.89 MB / 407.8 MB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.032e-06/0.6217, allocations: 0 / 407.8 MB, free: 8.703 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002172/0.6219, allocations: 75.98 kB / 407.9 MB, free: 8.629 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.008924/0.6308, allocations: 3.171 MB / 411.1 MB, free: 5.398 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.6309, allocations: 12.03 kB / 411.1 MB, free: 5.387 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.6417, allocations: 1.945 MB / 413 MB, free: 3.434 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006367/0.6481, allocations: 2.154 MB / 415.2 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002284/0.6484, allocations: 116 kB / 415.3 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001247/0.6496, allocations: 193 kB / 415.5 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2063/0.856, allocations: 4.436 MB / 419.9 MB, free: 83.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.8717, allocations: 7.503 MB / 427.4 MB, free: 81.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001519/0.8719, allocations: 52 kB / 427.5 MB, free: 81.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007542/0.8726, allocations: 31.59 kB / 427.5 MB, free: 81.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001259/0.8739, allocations: 0.7851 MB / 428.3 MB, free: 81.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03983/0.9138, allocations: 38.15 MB / 466.4 MB, free: 54.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.9157, allocations: 1.36 MB / 467.8 MB, free: 53.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007752/0.9165, allocations: 427.1 kB / 468.2 MB, free: 52.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003601/0.9169, allocations: 347.4 kB / 468.6 MB, free: 52.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.9169, allocations: 50.98 kB / 468.6 MB, free: 52.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 5.216e-06/0.917, allocations: 2.344 kB / 468.6 MB, free: 52.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=87): time 0.003646/0.9206, allocations: 1.2 MB / 469.8 MB, free: 52.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.9207, allocations: 193.9 kB / 470 MB, free: 52.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006055/0.9268, allocations: 3.103 MB / 473.1 MB, free: 50.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.9269, allocations: 25.7 kB / 473.1 MB, free: 50.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002085/0.929, allocations: 2.913 MB / 476 MB, free: 48.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004949/0.9296, allocations: 392.6 kB / 476.4 MB, free: 48.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003541/0.9299, allocations: 3.062 kB / 476.4 MB, free: 48.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003379/0.9303, allocations: 0.5334 MB / 477 MB, free: 48.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002427/0.9327, allocations: 1.176 MB / 478.1 MB, free: 47.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004857/0.9376, allocations: 4.84 MB / 483 MB, free: 42.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004434/0.9421, allocations: 2.415 MB / 485.4 MB, free: 41.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/0.9422, allocations: 42.14 kB / 485.4 MB, free: 41.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=685) (initialization): time 0.01206/0.9543, allocations: 5.012 MB / 490.4 MB, free: 39.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.9545, allocations: 62.5 kB / 490.5 MB, free: 39.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001406/0.9546, allocations: 136.7 kB / 490.6 MB, free: 39.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002024/0.9548, allocations: 193.7 kB / 490.8 MB, free: 39.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004346/0.9592, allocations: 1.225 MB / 492 MB, free: 39.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001726/0.9594, allocations: 257 kB / 492.3 MB, free: 39.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004966/0.9644, allocations: 0.6392 MB / 492.9 MB, free: 39.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000717/0.9651, allocations: 350.8 kB / 493.3 MB, free: 39 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * 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 (661): * Single equations (assignments): 658 * 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.0007084/0.9659, allocations: 422.2 kB / 493.7 MB, free: 38.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005249/0.9664, allocations: 304.2 kB / 494 MB, free: 38.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.9675, allocations: 499.4 kB / 494.5 MB, free: 38.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/0.9675, allocations: 15.59 kB / 494.5 MB, free: 38.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.9675, allocations: 3.5 kB / 494.5 MB, free: 38.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.9676, allocations: 3.75 kB / 494.5 MB, free: 38.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006609/0.9742, allocations: 3.048 MB / 497.5 MB, free: 36.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.9742, allocations: 3.969 kB / 497.6 MB, free: 36.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/0.975, allocations: 113.1 kB / 497.7 MB, free: 36.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/0.975, allocations: 11.59 kB / 497.7 MB, free: 36.92 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/0.9751, allocations: 18.31 kB / 497.7 MB, free: 36.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.789e-06/0.9751, allocations: 4.844 kB / 497.7 MB, free: 36.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.9751, allocations: 7.312 kB / 497.7 MB, free: 36.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/0.9791, allocations: 2.42 MB / 0.4884 GB, free: 35.33 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.9802, allocations: 0.5139 MB / 0.4889 GB, free: 34.99 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003457/0.9805, allocations: 5.094 kB / 0.4889 GB, free: 34.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.9819, allocations: 50.78 kB / 0.489 GB, free: 34.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.982, allocations: 52.42 kB / 0.489 GB, free: 34.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.582e-05/0.9821, allocations: 26.97 kB / 0.489 GB, free: 34.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004274/0.9864, allocations: 2.126 MB / 0.4911 GB, free: 34.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.302e-06/0.9864, allocations: 0 / 0.4911 GB, free: 34.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005572/0.992, allocations: 0.8293 MB / 0.4919 GB, free: 33.79 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 (64): * Single equations (assignments): 61 * 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.0004167/0.9925, allocations: 174 kB / 0.4921 GB, free: 33.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004936/0.9974, allocations: 2.698 MB / 0.4947 GB, free: 31.19 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.69e-06/0.9975, allocations: 0 / 0.4947 GB, free: 31.19 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006684/0.9981, allocations: 415.4 kB / 0.4951 GB, free: 30.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/1, allocations: 341.4 kB / 0.4954 GB, free: 30.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/1.016, allocations: 7.585 MB / 0.5028 GB, free: 24.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003995/1.02, allocations: 2.945 MB / 0.5057 GB, free: 22.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007935/1.02, allocations: 256 kB / 0.506 GB, free: 21.89 MB / 346.7 MB Notification: Performance of SimCode: time 1.679e-06/1.021, allocations: 0 / 0.506 GB, free: 21.89 MB / 346.7 MB Notification: Performance of Templates: time 0.2763/1.297, allocations: 47.14 MB / 0.552 GB, free: 72.42 MB / 362.7 MB