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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.608/1.608, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003579, allocations: 8 kB / 233.2 MB, free: 3.043 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0714/0.07178, allocations: 38.78 MB / 271.9 MB, free: 12.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.2332/0.305, allocations: 33.89 MB / 305.8 MB, free: 7.695 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0169/0.322, allocations: 7.312 MB / 313.1 MB, free: 7.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007711/0.3297, allocations: 164.6 kB / 313.3 MB, free: 7.137 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00552/0.3353, allocations: 1.706 MB / 315 MB, free: 6.824 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01537/0.3507, allocations: 4.622 MB / 319.6 MB, free: 5.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.3526, allocations: 236.4 kB / 319.9 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003342/0.3559, allocations: 1.492 MB / 321.4 MB, free: 5.219 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004328/0.3603, allocations: 2.7 MB / 324.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.3619, allocations: 0.7534 MB / 324.8 MB, free: 4.012 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.364, allocations: 1.08 MB / 325.9 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000536/0.3645, allocations: 111.2 kB / 326 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.366, allocations: 0.4947 MB / 326.5 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001434/0.3675, allocations: 1.258 MB / 327.7 MB, free: 3.094 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007786/0.3683, allocations: 0.6901 MB / 328.4 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004844/0.3731, allocations: 4.094 MB / 332.5 MB, free: 12 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.504e-06/0.3732, allocations: 0 / 332.5 MB, free: 12 kB / 250.7 MB Notification: Performance of FrontEnd: time 2.659e-06/0.3732, allocations: 0 / 332.5 MB, free: 12 kB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001474/0.3733, allocations: 4 kB / 332.5 MB, free: 8 kB / 250.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.007744/0.3811, allocations: 3.411 MB / 335.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3811, allocations: 8.031 kB / 336 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008542/0.3897, allocations: 2.019 MB / 338 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004469/0.3942, allocations: 1.734 MB / 339.7 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/0.3944, allocations: 166.3 kB / 339.9 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007514/0.3952, allocations: 221.9 kB / 340.1 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01559/0.4108, allocations: 7.613 MB / 347.7 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.333e-05/0.411, allocations: 31.69 kB / 347.7 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004269/0.4114, allocations: 111.1 kB / 347.8 MB, free: 176 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003334/0.4147, allocations: 1.677 MB / 349.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01456/0.4293, allocations: 5.814 MB / 355.3 MB, free: 8.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04604/0.4754, allocations: 30.37 MB / 385.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00396/0.4794, allocations: 1.569 MB / 387.3 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006269/0.4857, allocations: 2.785 MB / 390.1 MB, free: 4.805 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.4858, allocations: 42.56 kB / 390.1 MB, free: 4.754 MB / 314.7 MB Notification: Performance of pre-optimization done (n=80): time 4.968e-06/0.4859, allocations: 0 / 390.1 MB, free: 4.754 MB / 314.7 MB Notification: Performance of matching and sorting (n=80): time 0.006166/0.492, allocations: 1.944 MB / 392 MB, free: 2.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.4922, allocations: 188 kB / 392.2 MB, free: 2.523 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009588/0.5018, allocations: 4.108 MB / 396.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.502, allocations: 37.7 kB / 396.4 MB, free: 14.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003223/0.5052, allocations: 2.818 MB / 399.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000624/0.5059, allocations: 375.5 kB / 399.6 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004172/0.5063, allocations: 100 kB / 399.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0005201/0.5069, allocations: 0.5215 MB / 400.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003127/0.51, allocations: 1.251 MB / 401.4 MB, free: 9.285 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006896/0.517, allocations: 4.815 MB / 406.2 MB, free: 2.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005366/0.5224, allocations: 2.421 MB / 408.7 MB, free: 228 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001223/0.5225, allocations: 40 kB / 408.7 MB, free: 188 kB / 330.7 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01447/0.537, allocations: 5.604 MB / 414.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.5372, allocations: 67.62 kB / 414.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002177/0.5374, allocations: 128 kB / 414.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/0.5377, allocations: 184 kB / 414.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004803/0.5425, allocations: 1.166 MB / 415.8 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000302/0.5429, allocations: 247.1 kB / 416.1 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005579/0.5485, allocations: 0.7655 MB / 416.8 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009024/0.5494, allocations: 338.6 kB / 417.2 MB, free: 7.695 MB / 346.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.004404/0.5538, allocations: 1.844 MB / 419 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000817/0.5547, allocations: 323.7 kB / 419.3 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.5562, allocations: 0.5167 MB / 419.9 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.765e-05/0.5563, allocations: 8 kB / 419.9 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.5563, allocations: 4 kB / 419.9 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.5563, allocations: 3.984 kB / 419.9 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009846/0.5662, allocations: 3.442 MB / 423.3 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/0.5662, allocations: 8.031 kB / 423.3 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/0.5669, allocations: 103.8 kB / 423.4 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.681e-05/0.5669, allocations: 8 kB / 423.4 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.613e-05/0.567, allocations: 16 kB / 423.4 MB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.279e-05/0.567, allocations: 8 kB / 423.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.539e-06/0.5671, allocations: 7.938 kB / 423.5 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003517/0.5706, allocations: 2.062 MB / 425.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/0.5722, allocations: 0.5589 MB / 426.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006709/0.5729, allocations: 15.98 kB / 426.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/0.5748, allocations: 62.16 kB / 426.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.5751, allocations: 43.84 kB / 426.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.795e-05/0.5752, allocations: 27.98 kB / 426.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.006895/0.5821, allocations: 2.627 MB / 428.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.203e-06/0.5822, allocations: 0 / 428.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005795/0.588, allocations: 0.8907 MB / 429.7 MB, free: 10.93 MB / 362.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.0005114/0.5885, allocations: 147 kB / 429.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006709/0.5953, allocations: 2.894 MB / 432.8 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.496e-06/0.5953, allocations: 0 / 432.8 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008706/0.5962, allocations: 408.8 kB / 433.2 MB, free: 7.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/0.5989, allocations: 418.8 kB / 433.6 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.229/0.8279, allocations: 8.928 MB / 442.5 MB, free: 125 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005329/0.8333, allocations: 2.933 MB / 445.5 MB, free: 124.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008796/0.8342, allocations: 273.9 kB / 445.7 MB, free: 124.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.635e-06/0.8342, allocations: 0 / 445.7 MB, free: 124.2 MB / 362.7 MB Notification: Performance of Templates: time 0.07747/0.9117, allocations: 49.49 MB / 495.2 MB, free: 86.84 MB / 362.7 MB