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.ThreeSprings.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.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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.569/1.569, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07621/0.07657, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2631/0.3397, allocations: 34.3 MB / 306.9 MB, free: 8.348 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0218/0.3615, allocations: 8.544 MB / 315.5 MB, free: 7.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007719/0.3693, allocations: 170.7 kB / 315.6 MB, free: 7.562 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00603/0.3754, allocations: 1.72 MB / 317.4 MB, free: 7.207 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01841/0.3938, allocations: 4.959 MB / 322.3 MB, free: 5.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.3972, allocations: 0.5564 MB / 322.9 MB, free: 5.523 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005199/0.4024, allocations: 2.138 MB / 325 MB, free: 4.973 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007764/0.4103, allocations: 4.119 MB / 329.1 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.4127, allocations: 0.9597 MB / 330.1 MB, free: 2.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002689/0.4154, allocations: 1.23 MB / 331.3 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008884/0.4163, allocations: 133.8 kB / 331.5 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002872/0.4192, allocations: 0.8645 MB / 332.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002332/0.4216, allocations: 1.416 MB / 333.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001681/0.4233, allocations: 0.7804 MB / 334.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008524/0.4319, allocations: 4.996 MB / 339.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.4319, allocations: 0 / 339.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4319, allocations: 0 / 339.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002035/0.4321, allocations: 0 / 339.5 MB, free: 9.965 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: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.01104/0.4432, allocations: 3.695 MB / 343.2 MB, free: 6.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4432, allocations: 8.031 kB / 343.2 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01362/0.4569, allocations: 2.178 MB / 345.4 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006261/0.4632, allocations: 2.15 MB / 347.5 MB, free: 1.859 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002966/0.4635, allocations: 234.9 kB / 347.8 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001851/0.4654, allocations: 387.6 kB / 348.2 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02767/0.4931, allocations: 9.784 MB / 357.9 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/0.4933, allocations: 39.69 kB / 358 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009307/0.4942, allocations: 143.9 kB / 358.1 MB, free: 6.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004976/0.4992, allocations: 1.809 MB / 359.9 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02716/0.5264, allocations: 8.112 MB / 368 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06809/0.5946, allocations: 38.6 MB / 406.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01669/0.6113, allocations: 3.594 MB / 410.2 MB, free: 1.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01636/0.6277, allocations: 6.558 MB / 416.8 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.843e-05/0.6278, allocations: 51.11 kB / 416.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 5.55e-06/0.6279, allocations: 4 kB / 416.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.05137/0.6792, allocations: 11.63 MB / 428.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.6794, allocations: 149.1 kB / 428.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008964/0.6883, allocations: 3.885 MB / 432.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004346/0.6888, allocations: 45.7 kB / 432.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004198/0.6931, allocations: 3.067 MB / 435.6 MB, free: 7.156 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00123/0.6943, allocations: 0.5558 MB / 436.2 MB, free: 6.594 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007086/0.6951, allocations: 120.3 kB / 436.3 MB, free: 6.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0006967/0.6958, allocations: 0.558 MB / 436.8 MB, free: 5.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007894/0.7037, allocations: 1.87 MB / 438.7 MB, free: 4.035 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2549/0.9587, allocations: 5.75 MB / 444.5 MB, free: 121.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00832/0.9671, allocations: 3.213 MB / 447.7 MB, free: 121 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002276/0.9673, allocations: 39.56 kB / 447.7 MB, free: 121 MB / 362.7 MB Notification: Performance of matching and sorting (n=777) (initialization): time 0.02772/0.9951, allocations: 8.563 MB / 456.3 MB, free: 118.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/0.9953, allocations: 68.22 kB / 456.3 MB, free: 118.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01389/1.009, allocations: 2.645 MB / 459 MB, free: 117.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04645/1.056, allocations: 1.761 MB / 460.8 MB, free: 117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009919/1.066, allocations: 1.32 MB / 462.1 MB, free: 116.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0222/1.088, allocations: 5.801 MB / 467.9 MB, free: 113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008724/1.097, allocations: 340.2 kB / 468.2 MB, free: 112.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/1.098, allocations: 380.3 kB / 468.6 MB, free: 112.8 MB / 362.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): 2 * Torn equation systems: 3 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 2 {6 26,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.004484/1.103, allocations: 1.967 MB / 470.5 MB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006828/1.103, allocations: 319.6 kB / 470.9 MB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009391/1.113, allocations: 2.759 MB / 473.6 MB, free: 110.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.99e-05/1.113, allocations: 3.328 kB / 473.6 MB, free: 110.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.113, allocations: 4 kB / 473.6 MB, free: 110.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008548/1.114, allocations: 370.9 kB / 474 MB, free: 109.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007509/1.115, allocations: 31.28 kB / 474 MB, free: 109.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/1.117, allocations: 95.78 kB / 474.1 MB, free: 109.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003816/1.117, allocations: 112.7 kB / 474.2 MB, free: 109.8 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009484/1.127, allocations: 3.196 MB / 477.4 MB, free: 106.6 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006324/1.133, allocations: 3.574 MB / 481 MB, free: 103 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001883/1.135, allocations: 0.8913 MB / 481.9 MB, free: 102.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004811/1.14, allocations: 2.403 MB / 484.3 MB, free: 99.69 MB / 362.7 MB Notification: Performance of Backend: time 9.82e-07/1.14, allocations: 0 / 484.3 MB, free: 99.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01299/1.153, allocations: 4.438 MB / 488.7 MB, free: 95.25 MB / 362.7 MB Notification: Performance of SimCode: time 0.02173/1.175, allocations: 10.69 MB / 499.4 MB, free: 84.52 MB / 362.7 MB Notification: Performance of Templates: time 0.1064/1.281, allocations: 38.14 MB / 0.5249 GB, free: 46.47 MB / 362.7 MB