Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 1.823/1.823, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003494, allocations: 15.94 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09188/0.09225, allocations: 44.5 MB / 309.1 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.07106/0.1634, allocations: 33.91 MB / 343 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02019/0.1836, allocations: 7.327 MB / 350.3 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00584/0.1895, allocations: 167.6 kB / 350.5 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006082/0.1956, allocations: 1.695 MB / 352.2 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01707/0.2127, allocations: 4.621 MB / 356.8 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.2149, allocations: 231.8 kB / 357 MB, free: 304 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003911/0.2189, allocations: 1.485 MB / 358.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005323/0.2242, allocations: 2.702 MB / 361.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.2258, allocations: 0.7628 MB / 362 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002202/0.2281, allocations: 1.071 MB / 363 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005029/0.2286, allocations: 104 kB / 363.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.2301, allocations: 0.4954 MB / 363.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.2318, allocations: 1.262 MB / 364.9 MB, free: 8.332 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009424/0.2327, allocations: 0.6947 MB / 365.6 MB, free: 7.629 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006496/0.2393, allocations: 4.084 MB / 369.7 MB, free: 3.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2393, allocations: 0 / 369.7 MB, free: 3.535 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.726e-06/0.2393, allocations: 0 / 369.7 MB, free: 3.535 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001519/0.2395, allocations: 0 / 369.7 MB, free: 3.535 MB / 314.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.009341/0.2488, allocations: 3.41 MB / 373.1 MB, free: 60 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.2489, allocations: 8.031 kB / 373.1 MB, free: 52 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2563/0.5052, allocations: 2.005 MB / 375.1 MB, free: 64.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005202/0.5105, allocations: 1.731 MB / 376.8 MB, free: 63.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.5107, allocations: 168.4 kB / 377 MB, free: 63.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000921/0.5117, allocations: 219.8 kB / 377.2 MB, free: 63.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0156/0.5273, allocations: 7.593 MB / 384.8 MB, free: 59.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-05/0.5274, allocations: 34.12 kB / 384.8 MB, free: 59.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004716/0.5279, allocations: 115.9 kB / 384.9 MB, free: 59.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003613/0.5315, allocations: 1.683 MB / 386.6 MB, free: 58.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01452/0.5461, allocations: 5.816 MB / 392.4 MB, free: 53.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03848/0.5846, allocations: 30.38 MB / 422.8 MB, free: 22.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003888/0.5886, allocations: 1.585 MB / 424.4 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005383/0.594, allocations: 2.767 MB / 427.2 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.594, allocations: 50.45 kB / 427.2 MB, free: 17.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=80): time 3.727e-06/0.5941, allocations: 4 kB / 427.2 MB, free: 17.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=80): time 0.005855/0.5999, allocations: 1.945 MB / 429.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.6, allocations: 190.7 kB / 429.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006949/0.607, allocations: 4.1 MB / 433.5 MB, free: 11.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.6071, allocations: 33.7 kB / 433.5 MB, free: 11.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002113/0.6093, allocations: 2.917 MB / 436.4 MB, free: 8.445 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004486/0.6097, allocations: 371.2 kB / 436.8 MB, free: 8.086 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.61, allocations: 100.5 kB / 436.9 MB, free: 7.988 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00029/0.6103, allocations: 0.5207 MB / 437.4 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002621/0.613, allocations: 1.251 MB / 438.6 MB, free: 6.203 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004477/0.6175, allocations: 4.799 MB / 443.4 MB, free: 15.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005887/0.6234, allocations: 2.429 MB / 445.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.732e-05/0.6235, allocations: 43.98 kB / 445.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01525/0.6388, allocations: 5.733 MB / 451.6 MB, free: 7.371 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.639, allocations: 60 kB / 451.7 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000196/0.6392, allocations: 136 kB / 451.8 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/0.6394, allocations: 184 kB / 452 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00626/0.6457, allocations: 1.17 MB / 453.2 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002855/0.646, allocations: 247.6 kB / 453.4 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005395/0.6514, allocations: 0.7625 MB / 454.2 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007567/0.6522, allocations: 336.9 kB / 454.5 MB, free: 4.488 MB / 330.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.004054/0.6563, allocations: 1.837 MB / 456.3 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000856/0.6572, allocations: 327.8 kB / 456.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.6586, allocations: 0.509 MB / 457.2 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.6586, allocations: 11.94 kB / 457.2 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6586, allocations: 0 / 457.2 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/0.6601, allocations: 0.5589 MB / 457.7 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005438/0.6606, allocations: 12 kB / 457.8 MB, free: 1.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/0.6623, allocations: 56.66 kB / 457.8 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.6625, allocations: 35.89 kB / 457.9 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002511/0.665, allocations: 1.272 MB / 459.1 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003776/0.6688, allocations: 2.08 MB / 461.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008358/0.6696, allocations: 368.3 kB / 461.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.006266/0.6759, allocations: 2.627 MB / 464.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of Backend: time 1.403e-06/0.676, allocations: 0 / 464.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007858/0.6838, allocations: 2.698 MB / 466.9 MB, free: 8.059 MB / 346.7 MB Notification: Performance of SimCode: time 0.02052/0.7044, allocations: 9.243 MB / 476.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of Templates: time 0.1069/0.8113, allocations: 30.53 MB / 0.4948 GB, free: 312 kB / 378.7 MB