Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 1.809/1.809, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09207/0.09244, allocations: 44.5 MB / 309 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4034/0.4959, allocations: 88.15 MB / 397.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.4963, allocations: 91.17 kB / 397.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2563/0.7526, allocations: 67.2 MB / 464.4 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.7526, allocations: 0 / 464.4 MB, free: 7.102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002185/0.7529, allocations: 68 kB / 464.5 MB, free: 7.035 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.01164/0.7645, allocations: 3.437 MB / 467.9 MB, free: 3.555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.7646, allocations: 11.97 kB / 467.9 MB, free: 3.543 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/0.7789, allocations: 1.958 MB / 469.9 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007344/0.7863, allocations: 2.083 MB / 472 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003143/0.7867, allocations: 261.3 kB / 472.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001549/0.7882, allocations: 334.2 kB / 472.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01996/0.8082, allocations: 8.106 MB / 480.7 MB, free: 5.895 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001582/0.8084, allocations: 47.56 kB / 480.7 MB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008287/0.8092, allocations: 172.4 kB / 480.9 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001597/0.8109, allocations: 0.7807 MB / 481.7 MB, free: 4.922 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/0.8275, allocations: 5.974 MB / 487.6 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05309/0.8806, allocations: 39.8 MB / 0.5151 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004458/0.8851, allocations: 1.585 MB / 0.5166 GB, free: 4.117 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006384/0.8916, allocations: 2.762 MB / 0.5193 GB, free: 1.207 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.8917, allocations: 46.5 kB / 0.5194 GB, free: 1.152 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 4.308e-06/0.8917, allocations: 0 / 0.5194 GB, free: 1.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.2628/1.154, allocations: 1.939 MB / 0.5213 GB, free: 107.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/1.155, allocations: 191.9 kB / 0.5214 GB, free: 107.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/1.165, allocations: 4.075 MB / 0.5254 GB, free: 107 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001567/1.165, allocations: 39.19 kB / 0.5255 GB, free: 107 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002541/1.168, allocations: 2.816 MB / 0.5282 GB, free: 105.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000564/1.168, allocations: 372.1 kB / 0.5286 GB, free: 105.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004102/1.169, allocations: 99 kB / 0.5287 GB, free: 105.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000305/1.169, allocations: 0.5199 MB / 0.5292 GB, free: 105.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/1.172, allocations: 1.245 MB / 0.5304 GB, free: 105.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005629/1.178, allocations: 4.811 MB / 0.5351 GB, free: 100.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005936/1.184, allocations: 2.428 MB / 0.5374 GB, free: 100.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001897/1.184, allocations: 36.66 kB / 0.5375 GB, free: 100.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01454/1.199, allocations: 5.593 MB / 0.5429 GB, free: 99.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/1.199, allocations: 59.84 kB / 0.543 GB, free: 99.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001837/1.199, allocations: 131.3 kB / 0.5431 GB, free: 99.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/1.199, allocations: 186.2 kB / 0.5433 GB, free: 99.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006037/1.205, allocations: 1.162 MB / 0.5444 GB, free: 99.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002011/1.205, allocations: 252.6 kB / 0.5447 GB, free: 99.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005412/1.211, allocations: 0.7445 MB / 0.5454 GB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009198/1.212, allocations: 335.7 kB / 0.5457 GB, free: 99.39 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.003981/1.216, allocations: 1.844 MB / 0.5475 GB, free: 99.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006949/1.216, allocations: 322.3 kB / 0.5478 GB, free: 98.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/1.218, allocations: 0.5154 MB / 0.5483 GB, free: 98.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/1.218, allocations: 14.11 kB / 0.5484 GB, free: 98.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/1.218, allocations: 3.594 kB / 0.5484 GB, free: 98.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.218, allocations: 3 kB / 0.5484 GB, free: 98.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008681/1.227, allocations: 3.338 MB / 0.5516 GB, free: 98.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.662e-05/1.227, allocations: 4.266 kB / 0.5516 GB, free: 98.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009059/1.228, allocations: 112.3 kB / 0.5517 GB, free: 98.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/1.228, allocations: 6.344 kB / 0.5517 GB, free: 98.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/1.228, allocations: 18.67 kB / 0.5518 GB, free: 98.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/1.228, allocations: 4.25 kB / 0.5518 GB, free: 98.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.228, allocations: 7.469 kB / 0.5518 GB, free: 98.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003195/1.231, allocations: 2.06 MB / 0.5538 GB, free: 97.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.232, allocations: 475.6 kB / 0.5542 GB, free: 97.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005246/1.233, allocations: 18.95 kB / 0.5542 GB, free: 97.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/1.234, allocations: 40.22 kB / 0.5543 GB, free: 97.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/1.235, allocations: 38.84 kB / 0.5543 GB, free: 97.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/1.235, allocations: 33.27 kB / 0.5544 GB, free: 97.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005791/1.24, allocations: 2.604 MB / 0.5569 GB, free: 96.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.24, allocations: 0 / 0.5569 GB, free: 96.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005362/1.246, allocations: 0.8842 MB / 0.5578 GB, free: 96.58 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.0004285/1.246, allocations: 146.9 kB / 0.5579 GB, free: 96.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006363/1.253, allocations: 2.886 MB / 0.5607 GB, free: 95.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/1.253, allocations: 0 / 0.5607 GB, free: 95.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008223/1.254, allocations: 408.5 kB / 0.5611 GB, free: 95.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/1.256, allocations: 413.4 kB / 0.5615 GB, free: 95.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/1.274, allocations: 8.847 MB / 0.5701 GB, free: 90.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00484/1.279, allocations: 2.941 MB / 0.573 GB, free: 89.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009245/1.28, allocations: 243.6 kB / 0.5732 GB, free: 89.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/1.28, allocations: 0 / 0.5732 GB, free: 89.32 MB / 410.7 MB Notification: Performance of Templates: time 0.08942/1.369, allocations: 46 MB / 0.6182 GB, free: 58.01 MB / 410.7 MB