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.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadModel(Modelica): time 1.559/1.559, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003396, allocations: 16 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07678/0.07714, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.2528/0.33, allocations: 28.33 MB / 301 MB, free: 8.406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01757/0.3476, allocations: 7.387 MB / 308.4 MB, free: 8.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005675/0.3534, allocations: 139.3 kB / 308.5 MB, free: 8.262 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004979/0.3584, allocations: 1.392 MB / 309.9 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01516/0.3736, allocations: 4.113 MB / 314 MB, free: 7.281 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.3766, allocations: 0.5702 MB / 314.6 MB, free: 7.117 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004647/0.3812, allocations: 1.946 MB / 316.5 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005907/0.3872, allocations: 3.324 MB / 319.8 MB, free: 5.648 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.3888, allocations: 0.8536 MB / 320.7 MB, free: 5.352 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.3906, allocations: 1.18 MB / 321.9 MB, free: 4.914 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004681/0.391, allocations: 123 kB / 322 MB, free: 4.914 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.3933, allocations: 0.8906 MB / 322.9 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.3947, allocations: 1.274 MB / 324.2 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007749/0.3955, allocations: 0.6873 MB / 324.8 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005865/0.4014, allocations: 4.454 MB / 329.3 MB, free: 1.715 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4014, allocations: 0 / 329.3 MB, free: 1.715 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4014, allocations: 0 / 329.3 MB, free: 1.715 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.00012/0.4016, allocations: 8 kB / 329.3 MB, free: 1.707 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1322 * Number of variables: 1322 Notification: Performance of Generate backend data structure: time 0.01092/0.4125, allocations: 3.457 MB / 332.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/0.4126, allocations: 8.031 kB / 332.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02197/0.4346, allocations: 2.234 MB / 335 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009074/0.4437, allocations: 2.044 MB / 337 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/0.4441, allocations: 201.7 kB / 337.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001541/0.4457, allocations: 261.9 kB / 337.5 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03279/0.4785, allocations: 9.961 MB / 347.5 MB, free: 96 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.4787, allocations: 39.67 kB / 347.5 MB, free: 56 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006417/0.4793, allocations: 130.9 kB / 347.6 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004762/0.4841, allocations: 1.771 MB / 349.4 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03002/0.5141, allocations: 8.522 MB / 357.9 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06289/0.5771, allocations: 36.71 MB / 394.6 MB, free: 128 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03094/0.6081, allocations: 6.126 MB / 400.8 MB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01824/0.6264, allocations: 8.085 MB / 408.8 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.6265, allocations: 55.56 kB / 408.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of pre-optimization done (n=139): time 5.41e-06/0.6265, allocations: 0 / 408.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=155): time 0.1221/0.7486, allocations: 23.3 MB / 432.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.51e-05/0.7488, allocations: 157.4 kB / 432.3 MB, free: 9.871 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007078/0.7558, allocations: 3.551 MB / 435.9 MB, free: 6.316 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004066/0.7563, allocations: 49.7 kB / 435.9 MB, free: 6.262 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002719/0.759, allocations: 2.708 MB / 438.6 MB, free: 3.559 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001016/0.7601, allocations: 0.6061 MB / 439.3 MB, free: 2.957 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004134/0.7605, allocations: 104 kB / 439.4 MB, free: 2.855 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004314/0.7609, allocations: 0.5334 MB / 439.9 MB, free: 2.316 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005333/0.7663, allocations: 2.033 MB / 441.9 MB, free: 284 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2185/0.9848, allocations: 5.4 MB / 447.3 MB, free: 123.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007744/0.9926, allocations: 3.198 MB / 450.5 MB, free: 122.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001267/0.9928, allocations: 36.11 kB / 450.6 MB, free: 122.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.02496/1.018, allocations: 8.284 MB / 458.8 MB, free: 119.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000104/1.018, allocations: 57.03 kB / 458.9 MB, free: 119.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/1.018, allocations: 120.4 kB / 459 MB, free: 119.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006893/1.025, allocations: 1.316 MB / 460.3 MB, free: 119.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006742/1.032, allocations: 1.256 MB / 461.6 MB, free: 119.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/1.045, allocations: 6.259 MB / 467.8 MB, free: 116.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/1.051, allocations: 313.4 kB / 468.2 MB, free: 116.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006351/1.051, allocations: 344.9 kB / 468.5 MB, free: 116.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (667): * Single equations (assignments): 663 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003447/1.055, allocations: 1.797 MB / 470.3 MB, free: 115.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006103/1.055, allocations: 299.3 kB / 470.6 MB, free: 115.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/1.067, allocations: 3.558 MB / 474.1 MB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/1.067, allocations: 15.97 kB / 474.2 MB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/1.067, allocations: 3.531 kB / 474.2 MB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/1.069, allocations: 0.5956 MB / 474.8 MB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006317/1.069, allocations: 24 kB / 474.8 MB, free: 112.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002258/1.071, allocations: 104.5 kB / 474.9 MB, free: 112 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003585/1.072, allocations: 104.8 kB / 475 MB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01133/1.083, allocations: 3.825 MB / 478.8 MB, free: 108.1 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008979/1.092, allocations: 4.963 MB / 483.8 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002437/1.095, allocations: 1.282 MB / 485 MB, free: 101.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004135/1.099, allocations: 2.208 MB / 487.3 MB, free: 99.66 MB / 362.7 MB Notification: Performance of Backend: time 5.71e-07/1.099, allocations: 0 / 487.3 MB, free: 99.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01016/1.109, allocations: 3.949 MB / 491.2 MB, free: 95.76 MB / 362.7 MB Notification: Performance of SimCode: time 0.01663/1.126, allocations: 9.288 MB / 0.4888 GB, free: 86.42 MB / 362.7 MB Notification: Performance of Templates: time 0.1026/1.228, allocations: 39.76 MB / 0.5276 GB, free: 46.73 MB / 362.7 MB