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.ThreeSprings.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.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005071/0.0005071, allocations: 12 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1053, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.05287/0.1582, allocations: 34.3 MB / 343.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02291/0.1812, allocations: 8.565 MB / 351.9 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005943/0.1872, allocations: 167.6 kB / 352.1 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005886/0.1931, allocations: 1.723 MB / 353.8 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01838/0.2115, allocations: 4.952 MB / 358.8 MB, free: 14.51 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003242/0.2148, allocations: 0.5498 MB / 359.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005079/0.2199, allocations: 2.142 MB / 361.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008242/0.2282, allocations: 4.119 MB / 365.6 MB, free: 7.625 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.2301, allocations: 0.9616 MB / 366.5 MB, free: 6.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.2324, allocations: 1.226 MB / 367.8 MB, free: 5.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005308/0.2329, allocations: 136 kB / 367.9 MB, free: 5.297 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.2353, allocations: 0.8777 MB / 368.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001878/0.2372, allocations: 1.414 MB / 370.2 MB, free: 3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.2383, allocations: 0.7765 MB / 371 MB, free: 2.215 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2848/0.5231, allocations: 4.994 MB / 376 MB, free: 14.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5231, allocations: 0 / 376 MB, free: 14.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5232, allocations: 1.094 kB / 376 MB, free: 14.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002385/0.5234, allocations: 1.312 kB / 376 MB, free: 14.42 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: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.01233/0.5358, allocations: 3.701 MB / 379.7 MB, free: 12.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.5358, allocations: 10.33 kB / 379.7 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/0.5501, allocations: 2.207 MB / 381.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007057/0.5572, allocations: 2.152 MB / 384 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.5576, allocations: 234.7 kB / 384.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002242/0.5598, allocations: 388.1 kB / 384.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02642/0.5862, allocations: 9.786 MB / 394.4 MB, free: 9.918 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/0.5864, allocations: 43.59 kB / 394.5 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008344/0.5873, allocations: 144.8 kB / 394.6 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004425/0.5917, allocations: 1.81 MB / 396.4 MB, free: 9.898 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02483/0.6166, allocations: 8.102 MB / 404.5 MB, free: 8.566 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06389/0.6805, allocations: 38.62 MB / 443.1 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01623/0.6968, allocations: 3.603 MB / 446.7 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01517/0.712, allocations: 6.57 MB / 453.3 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.7121, allocations: 47.03 kB / 453.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 5.871e-06/0.7121, allocations: 0 / 453.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.05041/0.7625, allocations: 11.64 MB / 465 MB, free: 5.707 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.7627, allocations: 141.2 kB / 465.1 MB, free: 5.539 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007842/0.7705, allocations: 3.889 MB / 469 MB, free: 1.664 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004431/0.771, allocations: 52.28 kB / 469.1 MB, free: 1.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00309/0.7741, allocations: 3.067 MB / 472.1 MB, free: 14.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009552/0.7751, allocations: 0.5569 MB / 472.7 MB, free: 14.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004422/0.7755, allocations: 120 kB / 472.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004608/0.776, allocations: 0.5539 MB / 473.4 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004879/0.7809, allocations: 1.905 MB / 475.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008119/0.789, allocations: 5.772 MB / 481.1 MB, free: 3.758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007986/0.7971, allocations: 3.242 MB / 484.3 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-05/0.7972, allocations: 40 kB / 484.3 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of matching and sorting (n=777) (initialization): time 0.03807/0.8353, allocations: 9.468 MB / 493.8 MB, free: 7.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.8354, allocations: 68 kB / 493.9 MB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02173/0.8572, allocations: 3.561 MB / 497.4 MB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0237/0.8809, allocations: 2.747 MB / 0.4885 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007396/0.8883, allocations: 1.316 MB / 0.4897 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01809/0.9064, allocations: 7.547 MB / 0.4971 GB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006006/0.9125, allocations: 331.5 kB / 0.4974 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008901/0.9134, allocations: 376 kB / 0.4978 GB, free: 7.957 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 36 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (712): * Single equations (assignments): 704 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.004558/0.918, allocations: 1.976 MB / 0.4997 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007758/0.9188, allocations: 319.8 kB / 0.5 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/0.9293, allocations: 2.768 MB / 0.5027 GB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.116e-05/0.9294, allocations: 3.984 kB / 0.5027 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.9294, allocations: 0 / 0.5027 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.9305, allocations: 364.8 kB / 0.5031 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007278/0.9312, allocations: 35.98 kB / 0.5031 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/0.9332, allocations: 83.88 kB / 0.5032 GB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/0.9336, allocations: 116.5 kB / 0.5033 GB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0109/0.9445, allocations: 3.198 MB / 0.5064 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007666/0.9522, allocations: 3.58 MB / 0.5099 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002066/0.9543, allocations: 0.8869 MB / 0.5108 GB, free: 10.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005697/0.9601, allocations: 2.397 MB / 0.5131 GB, free: 8.301 MB / 426.7 MB Notification: Performance of Backend: time 6.51e-07/0.9601, allocations: 0 / 0.5131 GB, free: 8.301 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01504/0.9751, allocations: 4.495 MB / 0.5175 GB, free: 3.773 MB / 426.7 MB Notification: Performance of SimCode: time 0.2691/1.244, allocations: 10.68 MB / 0.5279 GB, free: 157.9 MB / 426.7 MB Notification: Performance of Templates: time 0.1091/1.353, allocations: 40.65 MB / 0.5676 GB, free: 127.3 MB / 426.7 MB