Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 1.609/1.609, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07753/0.07789, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.2605/0.3385, allocations: 33.91 MB / 306.5 MB, free: 8.371 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01892/0.3575, allocations: 7.305 MB / 313.8 MB, free: 7.754 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007842/0.3654, allocations: 164.3 kB / 314 MB, free: 7.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006364/0.3718, allocations: 1.708 MB / 315.7 MB, free: 7.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01804/0.3898, allocations: 4.623 MB / 320.3 MB, free: 6.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.3921, allocations: 236.3 kB / 320.6 MB, free: 6.082 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003861/0.396, allocations: 1.485 MB / 322 MB, free: 5.773 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005181/0.4013, allocations: 2.703 MB / 324.7 MB, free: 4.828 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.4032, allocations: 0.7663 MB / 325.5 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.4056, allocations: 1.079 MB / 326.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006932/0.4064, allocations: 105.8 kB / 326.7 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.408, allocations: 0.4957 MB / 327.2 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001434/0.4094, allocations: 1.26 MB / 328.5 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008468/0.4103, allocations: 0.6955 MB / 329.1 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005344/0.4157, allocations: 4.086 MB / 333.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4157, allocations: 0 / 333.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4157, allocations: 0 / 333.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001538/0.4159, allocations: 0 / 333.2 MB, free: 15.86 MB / 266.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.009716/0.4256, allocations: 3.413 MB / 336.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.4257, allocations: 12.03 kB / 336.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/0.4373, allocations: 2.021 MB / 338.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005272/0.4426, allocations: 1.721 MB / 340.4 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.4429, allocations: 170.5 kB / 340.6 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008369/0.4437, allocations: 221.7 kB / 340.8 MB, free: 8.281 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/0.4607, allocations: 7.596 MB / 348.4 MB, free: 148 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/0.4609, allocations: 31.69 kB / 348.4 MB, free: 116 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005294/0.4614, allocations: 113.1 kB / 348.5 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004249/0.4657, allocations: 1.678 MB / 350.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01685/0.4826, allocations: 5.82 MB / 356 MB, free: 8.535 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04928/0.5319, allocations: 30.35 MB / 386.4 MB, free: 9.348 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004605/0.5366, allocations: 1.6 MB / 388 MB, free: 7.582 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00671/0.5433, allocations: 2.782 MB / 390.8 MB, free: 4.652 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.5434, allocations: 38.56 kB / 390.8 MB, free: 4.605 MB / 314.7 MB Notification: Performance of pre-optimization done (n=80): time 4.719e-06/0.5434, allocations: 0 / 390.8 MB, free: 4.605 MB / 314.7 MB Notification: Performance of matching and sorting (n=80): time 0.006936/0.5504, allocations: 1.942 MB / 392.7 MB, free: 2.605 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.5505, allocations: 195.9 kB / 392.9 MB, free: 2.371 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00975/0.5603, allocations: 4.1 MB / 397 MB, free: 14.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.5605, allocations: 37.69 kB / 397.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00344/0.5639, allocations: 2.913 MB / 400 MB, free: 11.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006658/0.5646, allocations: 376.3 kB / 400.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004583/0.5651, allocations: 96 kB / 400.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000486/0.5656, allocations: 0.5168 MB / 401 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00351/0.5691, allocations: 1.247 MB / 402.2 MB, free: 9.059 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006743/0.5759, allocations: 4.799 MB / 407 MB, free: 2.434 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005998/0.5819, allocations: 2.423 MB / 409.4 MB, free: 8 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/0.5821, allocations: 40.05 kB / 409.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01596/0.5981, allocations: 5.735 MB / 415.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.5983, allocations: 60 kB / 415.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002107/0.5985, allocations: 131.9 kB / 415.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002477/0.5987, allocations: 188 kB / 415.6 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006263/0.605, allocations: 1.166 MB / 416.7 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002728/0.6053, allocations: 247 kB / 417 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005456/0.6108, allocations: 0.7699 MB / 417.7 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008187/0.6116, allocations: 331.1 kB / 418.1 MB, free: 7.352 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.00403/0.6157, allocations: 1.84 MB / 419.9 MB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008159/0.6165, allocations: 327.7 kB / 420.2 MB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.618, allocations: 0.5129 MB / 420.7 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.618, allocations: 7.984 kB / 420.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.618, allocations: 0 / 420.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/0.6195, allocations: 0.5666 MB / 421.3 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005533/0.6201, allocations: 12 kB / 421.3 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.6217, allocations: 47.97 kB / 421.4 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.6219, allocations: 35.94 kB / 421.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002467/0.6244, allocations: 1.278 MB / 422.7 MB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003738/0.6281, allocations: 2.089 MB / 424.8 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008362/0.629, allocations: 359.9 kB / 425.1 MB, free: 212 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00652/0.6355, allocations: 2.627 MB / 427.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of Backend: time 1.473e-06/0.6356, allocations: 0 / 427.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00804/0.6436, allocations: 2.706 MB / 430.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of SimCode: time 0.02142/0.6651, allocations: 9.255 MB / 439.7 MB, free: 1.586 MB / 362.7 MB Notification: Performance of Templates: time 0.309/0.9742, allocations: 30.53 MB / 470.2 MB, free: 110.8 MB / 362.7 MB