Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 1.868/1.868, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003595, allocations: 8 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08119/0.08158, allocations: 44.51 MB / 308.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.04197/0.1236, allocations: 28.31 MB / 336.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01897/0.1426, allocations: 7.419 MB / 344.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005298/0.148, allocations: 135.7 kB / 344.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004479/0.1525, allocations: 1.392 MB / 345.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01452/0.167, allocations: 4.138 MB / 349.8 MB, free: 7.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.1695, allocations: 0.4991 MB / 350.3 MB, free: 7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004367/0.1739, allocations: 1.919 MB / 352.2 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005619/0.1796, allocations: 2.92 MB / 355.1 MB, free: 2.102 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.1814, allocations: 0.8564 MB / 356 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/0.1835, allocations: 1.121 MB / 357.1 MB, free: 120 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006182/0.1842, allocations: 112 kB / 357.2 MB, free: 8 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002293/0.1865, allocations: 0.8192 MB / 358 MB, free: 15.19 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001959/0.1885, allocations: 1.274 MB / 359.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.1895, allocations: 0.6909 MB / 360 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006981/0.1965, allocations: 4.419 MB / 364.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.72e-06/0.1966, allocations: 0 / 364.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.865e-06/0.1966, allocations: 4 kB / 364.4 MB, free: 8.777 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001087/0.1967, allocations: 0 / 364.4 MB, free: 8.777 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.008323/0.2051, allocations: 3.406 MB / 367.8 MB, free: 5.305 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2051, allocations: 8.031 kB / 367.8 MB, free: 5.297 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009442/0.2146, allocations: 2.109 MB / 369.9 MB, free: 3.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005288/0.2199, allocations: 2.127 MB / 372 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/0.2202, allocations: 188.7 kB / 372.2 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.2212, allocations: 251.8 kB / 372.5 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2628/0.4841, allocations: 8.383 MB / 380.9 MB, free: 58.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001716/0.4843, allocations: 42.84 kB / 380.9 MB, free: 58.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005445/0.4849, allocations: 123.7 kB / 381 MB, free: 58.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003042/0.4879, allocations: 1.62 MB / 382.6 MB, free: 57.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01649/0.5044, allocations: 7.05 MB / 389.7 MB, free: 55.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03878/0.5433, allocations: 33.88 MB / 423.6 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008088/0.5514, allocations: 3.137 MB / 426.7 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006782/0.5582, allocations: 4.062 MB / 430.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.5583, allocations: 43.12 kB / 430.8 MB, free: 13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=114): time 5.161e-06/0.5583, allocations: 0 / 430.8 MB, free: 13 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.03245/0.5908, allocations: 11.59 MB / 442.4 MB, free: 1.211 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.5909, allocations: 149.1 kB / 442.5 MB, free: 1.035 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006929/0.5978, allocations: 3.81 MB / 446.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002422/0.5981, allocations: 41.7 kB / 446.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002781/0.6009, allocations: 2.673 MB / 449.1 MB, free: 10.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000774/0.6017, allocations: 0.4987 MB / 449.6 MB, free: 10.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003618/0.6021, allocations: 104 kB / 449.7 MB, free: 9.918 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004822/0.6026, allocations: 0.5298 MB / 450.2 MB, free: 9.379 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003655/0.6062, allocations: 1.665 MB / 451.9 MB, free: 7.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007133/0.6134, allocations: 5.069 MB / 456.9 MB, free: 0.918 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006076/0.6195, allocations: 2.855 MB / 459.8 MB, free: 14.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.256e-05/0.6197, allocations: 35.95 kB / 459.8 MB, free: 14.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01608/0.6358, allocations: 6.505 MB / 466.3 MB, free: 7.512 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.6359, allocations: 59.19 kB / 466.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001812/0.6361, allocations: 120 kB / 466.5 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000884/0.637, allocations: 345.4 kB / 466.8 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004969/0.642, allocations: 1.224 MB / 468.1 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003659/0.6457, allocations: 2.361 MB / 470.4 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004546/0.6503, allocations: 283.6 kB / 470.7 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007369/0.6511, allocations: 328.8 kB / 471 MB, free: 2.68 MB / 346.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.003705/0.6548, allocations: 1.768 MB / 472.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006976/0.6555, allocations: 308 kB / 473.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006131/0.6616, allocations: 2.338 MB / 475.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.656e-05/0.6617, allocations: 15.94 kB / 475.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/0.6617, allocations: 4 kB / 475.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/0.6618, allocations: 11.91 kB / 475.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.6769, allocations: 5.848 MB / 481.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.6769, allocations: 128 / 481.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.678, allocations: 167.8 kB / 481.5 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002945/0.681, allocations: 0.7147 MB / 482.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000188/0.6812, allocations: 20 kB / 482.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008608/0.6898, allocations: 4.574 MB / 486.8 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.49e-06/0.6899, allocations: 3.938 kB / 486.8 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009479/0.6994, allocations: 4.277 MB / 491.1 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/0.701, allocations: 0.532 MB / 491.6 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004255/0.7014, allocations: 24.69 kB / 491.6 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.7029, allocations: 59.92 kB / 491.7 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.7031, allocations: 73.17 kB / 491.7 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.7033, allocations: 32.7 kB / 491.8 MB, free: 13.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005254/0.7085, allocations: 2.404 MB / 494.2 MB, free: 11.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.7086, allocations: 0 / 494.2 MB, free: 11.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005592/0.7142, allocations: 0.8224 MB / 495 MB, free: 10.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 86 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005577/0.7148, allocations: 167.3 kB / 495.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008721/0.7235, allocations: 3.968 MB / 499.1 MB, free: 6.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.7236, allocations: 0 / 499.1 MB, free: 6.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002286/0.7259, allocations: 1.099 MB / 0.4885 GB, free: 5.223 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/0.7283, allocations: 345.7 kB / 0.4888 GB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/0.7471, allocations: 8.903 MB / 0.4975 GB, free: 11.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005165/0.7523, allocations: 2.842 MB / 0.5003 GB, free: 9.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.7534, allocations: 243.4 kB / 0.5005 GB, free: 8.836 MB / 394.7 MB Notification: Performance of SimCode: time 1.713e-06/0.7535, allocations: 8 kB / 0.5006 GB, free: 8.828 MB / 394.7 MB Notification: Performance of Templates: time 0.3077/1.061, allocations: 61.24 MB / 0.5604 GB, free: 88.77 MB / 394.7 MB