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.884/1.884, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08048/0.08087, allocations: 44.5 MB / 308.4 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3496/0.4305, allocations: 88.16 MB / 396.6 MB, free: 18.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.4308, allocations: 91.75 kB / 396.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2391/0.67, allocations: 67.09 MB / 463.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.08e-06/0.67, allocations: 4 kB / 463.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002234/0.6703, allocations: 67.98 kB / 463.9 MB, free: 10.04 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.01061/0.6809, allocations: 3.438 MB / 467.3 MB, free: 6.543 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.681, allocations: 8.031 kB / 467.3 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.6918, allocations: 1.954 MB / 469.3 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007179/0.699, allocations: 2.076 MB / 471.3 MB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003721/0.6995, allocations: 278.7 kB / 471.6 MB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001433/0.7009, allocations: 335.9 kB / 471.9 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01966/0.7206, allocations: 8.077 MB / 480 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001678/0.7208, allocations: 47.56 kB / 480.1 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009358/0.7217, allocations: 171.9 kB / 480.2 MB, free: 8.551 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001483/0.7232, allocations: 0.7894 MB / 481 MB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.7382, allocations: 5.974 MB / 487 MB, free: 1.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05376/0.792, allocations: 39.8 MB / 0.5144 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/0.7961, allocations: 1.597 MB / 0.516 GB, free: 6.793 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006222/0.8024, allocations: 2.744 MB / 0.5187 GB, free: 3.887 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/0.8025, allocations: 54.48 kB / 0.5187 GB, free: 3.824 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 4.785e-06/0.8025, allocations: 0 / 0.5187 GB, free: 3.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.005998/0.8085, allocations: 1.939 MB / 0.5206 GB, free: 1.824 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.8087, allocations: 191.9 kB / 0.5208 GB, free: 1.594 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2327/1.041, allocations: 3.633 MB / 0.5243 GB, free: 106.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001181/1.042, allocations: 36.58 kB / 0.5244 GB, free: 106.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00208/1.044, allocations: 2.822 MB / 0.5271 GB, free: 105.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004965/1.044, allocations: 363.6 kB / 0.5275 GB, free: 105.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/1.045, allocations: 100.5 kB / 0.5276 GB, free: 105.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003832/1.045, allocations: 0.5193 MB / 0.5281 GB, free: 105.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002918/1.048, allocations: 1.248 MB / 0.5293 GB, free: 105.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004886/1.053, allocations: 4.798 MB / 0.534 GB, free: 100.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004827/1.058, allocations: 2.425 MB / 0.5364 GB, free: 100.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001745/1.058, allocations: 37.19 kB / 0.5364 GB, free: 100.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01422/1.072, allocations: 5.596 MB / 0.5419 GB, free: 99.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/1.072, allocations: 63.34 kB / 0.5419 GB, free: 99.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002023/1.073, allocations: 130.1 kB / 0.542 GB, free: 99.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002229/1.073, allocations: 183.2 kB / 0.5422 GB, free: 99.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004466/1.077, allocations: 1.166 MB / 0.5434 GB, free: 99.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000214/1.078, allocations: 251.1 kB / 0.5436 GB, free: 99.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005158/1.083, allocations: 0.7416 MB / 0.5443 GB, free: 99.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009113/1.084, allocations: 335.6 kB / 0.5446 GB, free: 99.48 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.003885/1.088, allocations: 1.844 MB / 0.5464 GB, free: 99.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000607/1.088, allocations: 322.5 kB / 0.5468 GB, free: 98.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/1.089, allocations: 0.5259 MB / 0.5473 GB, free: 98.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.877e-05/1.089, allocations: 7.844 kB / 0.5473 GB, free: 98.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.471e-06/1.09, allocations: 3.688 kB / 0.5473 GB, free: 98.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/1.09, allocations: 3.047 kB / 0.5473 GB, free: 98.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007849/1.097, allocations: 3.34 MB / 0.5505 GB, free: 98.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.097, allocations: 7.031 kB / 0.5505 GB, free: 98.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/1.098, allocations: 107 kB / 0.5506 GB, free: 98.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/1.098, allocations: 7.812 kB / 0.5507 GB, free: 98.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/1.098, allocations: 18.42 kB / 0.5507 GB, free: 98.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.229e-06/1.098, allocations: 3.844 kB / 0.5507 GB, free: 98.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.098, allocations: 10.8 kB / 0.5507 GB, free: 98.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/1.101, allocations: 2.428 MB / 0.5531 GB, free: 97.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/1.102, allocations: 473.6 kB / 0.5535 GB, free: 96.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004032/1.102, allocations: 18.81 kB / 0.5535 GB, free: 96.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.104, allocations: 35.48 kB / 0.5536 GB, free: 96.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.104, allocations: 42.95 kB / 0.5536 GB, free: 96.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-05/1.104, allocations: 33.31 kB / 0.5536 GB, free: 96.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005551/1.11, allocations: 2.607 MB / 0.5562 GB, free: 96.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.374e-06/1.11, allocations: 3.594 kB / 0.5562 GB, free: 96.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005791/1.115, allocations: 0.8764 MB / 0.557 GB, free: 96.55 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.0003715/1.116, allocations: 148.4 kB / 0.5572 GB, free: 96.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00575/1.122, allocations: 2.905 MB / 0.56 GB, free: 95.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.539e-06/1.122, allocations: 0 / 0.56 GB, free: 95.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007289/1.122, allocations: 396.9 kB / 0.5604 GB, free: 95.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/1.125, allocations: 408.7 kB / 0.5608 GB, free: 95.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/1.141, allocations: 8.817 MB / 0.5694 GB, free: 90.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004986/1.146, allocations: 2.938 MB / 0.5723 GB, free: 89.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007531/1.147, allocations: 248.8 kB / 0.5725 GB, free: 89.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.745e-06/1.147, allocations: 0 / 0.5725 GB, free: 89.43 MB / 410.7 MB Notification: Performance of Templates: time 0.06992/1.217, allocations: 46 MB / 0.6174 GB, free: 60.53 MB / 410.7 MB