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.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadModel(Modelica): time 1.988/1.988, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0902/0.09057, allocations: 44.51 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.04475/0.1354, allocations: 28.33 MB / 337.4 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01947/0.1549, allocations: 7.427 MB / 344.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004713/0.1597, allocations: 135.7 kB / 345 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004798/0.1645, allocations: 1.388 MB / 346.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01513/0.1797, allocations: 4.118 MB / 350.5 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.1825, allocations: 0.5576 MB / 351 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004782/0.1873, allocations: 1.95 MB / 353 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006482/0.1939, allocations: 3.318 MB / 356.3 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.1955, allocations: 0.8642 MB / 357.2 MB, free: 84 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.1975, allocations: 1.18 MB / 358.3 MB, free: 14.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004784/0.198, allocations: 120 kB / 358.5 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.2003, allocations: 0.8895 MB / 359.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001658/0.202, allocations: 1.27 MB / 360.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009125/0.203, allocations: 0.687 MB / 361.3 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00691/0.2099, allocations: 4.458 MB / 365.8 MB, free: 7.453 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2099, allocations: 4 kB / 365.8 MB, free: 7.449 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2099, allocations: 0 / 365.8 MB, free: 7.449 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001055/0.2101, allocations: 0 / 365.8 MB, free: 7.449 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: 1323 * Number of variables: 1323 Notification: Performance of Generate backend data structure: time 0.01003/0.2201, allocations: 3.47 MB / 369.2 MB, free: 3.914 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.2202, allocations: 12.03 kB / 369.2 MB, free: 3.902 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01353/0.2337, allocations: 2.226 MB / 371.5 MB, free: 1.668 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2444/0.4781, allocations: 2.036 MB / 373.5 MB, free: 61.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003392/0.4785, allocations: 201.5 kB / 373.7 MB, free: 61.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001288/0.4798, allocations: 259.3 kB / 374 MB, free: 61.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02781/0.5077, allocations: 9.975 MB / 383.9 MB, free: 57.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.5078, allocations: 36.84 kB / 384 MB, free: 57.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005691/0.5084, allocations: 129.9 kB / 384.1 MB, free: 57.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004286/0.5127, allocations: 1.777 MB / 385.9 MB, free: 57.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02619/0.5389, allocations: 8.52 MB / 394.4 MB, free: 50.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05136/0.5903, allocations: 36.99 MB / 431.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02839/0.6188, allocations: 6.134 MB / 437.5 MB, free: 6.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01633/0.6352, allocations: 8.085 MB / 445.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/0.6353, allocations: 43.56 kB / 445.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=139): time 5.551e-06/0.6353, allocations: 4 kB / 445.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=155): time 0.1242/0.7595, allocations: 23.31 MB / 469 MB, free: 6.879 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/0.7596, allocations: 145.5 kB / 469.1 MB, free: 6.707 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007417/0.767, allocations: 3.551 MB / 472.7 MB, free: 3.152 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004301/0.7675, allocations: 45.7 kB / 472.7 MB, free: 3.102 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002963/0.7705, allocations: 2.721 MB / 475.4 MB, free: 396 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001107/0.7716, allocations: 0.6043 MB / 476 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005031/0.7722, allocations: 112 kB / 476.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004477/0.7726, allocations: 0.5322 MB / 476.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005462/0.7781, allocations: 2.025 MB / 478.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008853/0.787, allocations: 5.409 MB / 484.1 MB, free: 5.988 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008236/0.7953, allocations: 3.203 MB / 487.3 MB, free: 2.785 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-05/0.7954, allocations: 32 kB / 487.3 MB, free: 2.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.02657/0.822, allocations: 8.288 MB / 495.6 MB, free: 10.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.8222, allocations: 56 kB / 495.7 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001903/0.8224, allocations: 120 kB / 495.8 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007937/0.8303, allocations: 1.304 MB / 497.1 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007569/0.8379, allocations: 1.267 MB / 498.4 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/0.8539, allocations: 6.266 MB / 0.4928 GB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005822/0.8597, allocations: 319.6 kB / 0.4931 GB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/0.8608, allocations: 340 kB / 0.4934 GB, free: 0.6719 MB / 378.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.00436/0.8652, allocations: 1.791 MB / 0.4952 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008202/0.866, allocations: 302.2 kB / 0.4955 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/0.8793, allocations: 3.564 MB / 0.4989 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-05/0.8794, allocations: 11.97 kB / 0.499 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.8794, allocations: 0 / 0.499 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002104/0.8815, allocations: 0.5907 MB / 0.4995 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007117/0.8823, allocations: 24 kB / 0.4996 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002397/0.8847, allocations: 107.8 kB / 0.4997 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004195/0.8851, allocations: 104.8 kB / 0.4998 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01334/0.8985, allocations: 3.83 MB / 0.5035 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01138/0.9099, allocations: 4.957 MB / 0.5083 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003194/0.9131, allocations: 1.285 MB / 0.5096 GB, free: 64 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.2571/1.17, allocations: 2.208 MB / 0.5118 GB, free: 124.5 MB / 394.7 MB Notification: Performance of Backend: time 1.002e-06/1.17, allocations: 0 / 0.5118 GB, free: 124.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.012/1.182, allocations: 3.933 MB / 0.5156 GB, free: 123.5 MB / 394.7 MB Notification: Performance of SimCode: time 0.02033/1.203, allocations: 9.303 MB / 0.5247 GB, free: 118.7 MB / 394.7 MB Notification: Performance of Templates: time 0.102/1.305, allocations: 39.77 MB / 0.5635 GB, free: 89.39 MB / 394.7 MB