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.InitSpringConstant.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.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 1.58/1.58, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003507, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07545/0.07582, allocations: 38.78 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.2919/0.3678, allocations: 28.31 MB / 300.9 MB, free: 8.395 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01862/0.3865, allocations: 7.381 MB / 308.3 MB, free: 8.273 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005984/0.3925, allocations: 140 kB / 308.5 MB, free: 8.262 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005043/0.3976, allocations: 1.394 MB / 309.9 MB, free: 8 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01579/0.4134, allocations: 4.132 MB / 314 MB, free: 7.281 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.4163, allocations: 0.5081 MB / 314.5 MB, free: 7.133 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004607/0.4209, allocations: 1.921 MB / 316.4 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005506/0.4265, allocations: 2.921 MB / 319.3 MB, free: 5.77 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.4284, allocations: 0.8578 MB / 320.2 MB, free: 5.477 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.4306, allocations: 1.117 MB / 321.3 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006484/0.4313, allocations: 116.1 kB / 321.4 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.4338, allocations: 0.8204 MB / 322.2 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00189/0.4358, allocations: 1.267 MB / 323.5 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009641/0.4368, allocations: 0.692 MB / 324.2 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006317/0.4431, allocations: 4.422 MB / 328.6 MB, free: 1.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4432, allocations: 0 / 328.6 MB, free: 1.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4432, allocations: 0 / 328.6 MB, free: 1.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001753/0.4434, allocations: 0 / 328.6 MB, free: 1.93 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009999/0.4534, allocations: 3.407 MB / 332 MB, free: 14.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.4534, allocations: 8.031 kB / 332 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01337/0.4668, allocations: 2.107 MB / 334.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006332/0.4732, allocations: 2.128 MB / 336.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.4734, allocations: 186.3 kB / 336.5 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008274/0.4743, allocations: 248.8 kB / 336.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02173/0.496, allocations: 8.382 MB / 345.1 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/0.4962, allocations: 39.64 kB / 345.1 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005648/0.4968, allocations: 123.2 kB / 345.2 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004346/0.5012, allocations: 1.621 MB / 346.9 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02236/0.5235, allocations: 7.051 MB / 353.9 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06061/0.5842, allocations: 33.87 MB / 387.8 MB, free: 6.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01249/0.5967, allocations: 3.147 MB / 390.9 MB, free: 3.613 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/0.6071, allocations: 4.054 MB / 395 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.6072, allocations: 47.12 kB / 395 MB, free: 15.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 5.23e-06/0.6072, allocations: 3.938 kB / 395 MB, free: 15.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.04922/0.6564, allocations: 11.6 MB / 406.6 MB, free: 3.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.6566, allocations: 141.1 kB / 406.8 MB, free: 3.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008231/0.6648, allocations: 3.814 MB / 410.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000329/0.6652, allocations: 45.7 kB / 410.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003031/0.6682, allocations: 2.729 MB / 413.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009008/0.6692, allocations: 0.4906 MB / 413.9 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004767/0.6696, allocations: 110.6 kB / 414 MB, free: 12.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000436/0.6701, allocations: 0.5251 MB / 414.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004477/0.6746, allocations: 1.665 MB / 416.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007909/0.6825, allocations: 5.042 MB / 421.2 MB, free: 3.258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00712/0.6897, allocations: 2.849 MB / 424 MB, free: 416 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.982e-05/0.6898, allocations: 32 kB / 424.1 MB, free: 384 kB / 346.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01763/0.7075, allocations: 6.624 MB / 430.7 MB, free: 9.742 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.7076, allocations: 56 kB / 430.8 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000162/0.7078, allocations: 120 kB / 430.9 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.7089, allocations: 337.1 kB / 431.2 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007036/0.7159, allocations: 1.236 MB / 432.4 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003924/0.7199, allocations: 2.364 MB / 434.8 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005027/0.7249, allocations: 282.1 kB / 435.1 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006921/0.7256, allocations: 328 kB / 435.4 MB, free: 4.902 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (654): * Single equations (assignments): 650 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003895/0.7295, allocations: 1.771 MB / 437.2 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007469/0.7303, allocations: 304.1 kB / 437.5 MB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007811/0.7381, allocations: 2.339 MB / 439.8 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.385e-05/0.7382, allocations: 7.969 kB / 439.8 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.7382, allocations: 0 / 439.8 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2231/0.9613, allocations: 0.5332 MB / 440.3 MB, free: 121.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009857/0.9624, allocations: 19.17 kB / 440.4 MB, free: 121.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/0.9644, allocations: 68.7 kB / 440.4 MB, free: 121.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/0.9647, allocations: 71.78 kB / 440.5 MB, free: 121.9 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008993/0.9737, allocations: 2.792 MB / 443.3 MB, free: 121.6 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007342/0.9811, allocations: 3.609 MB / 446.9 MB, free: 120.5 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001956/0.9831, allocations: 0.8781 MB / 447.8 MB, free: 120.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005653/0.9888, allocations: 2.402 MB / 450.2 MB, free: 119.4 MB / 362.7 MB Notification: Performance of Backend: time 1.392e-06/0.9888, allocations: 1.375 kB / 450.2 MB, free: 119.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009506/0.9984, allocations: 3.364 MB / 453.6 MB, free: 118.2 MB / 362.7 MB Notification: Performance of SimCode: time 0.01776/1.016, allocations: 8.923 MB / 462.5 MB, free: 113.6 MB / 362.7 MB Notification: Performance of Templates: time 0.09474/1.111, allocations: 34.65 MB / 497.1 MB, free: 84.85 MB / 362.7 MB