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.InitSpringConstant.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.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 1.812/1.812, allocations: 194.9 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003488, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08667/0.08704, allocations: 44.52 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.04187/0.129, allocations: 28.32 MB / 337.4 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01894/0.148, allocations: 7.411 MB / 344.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004715/0.1527, allocations: 139.6 kB / 344.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004734/0.1575, allocations: 1.388 MB / 346.3 MB, free: 11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01493/0.1725, allocations: 4.134 MB / 350.5 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.1751, allocations: 0.4952 MB / 351 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004438/0.1795, allocations: 1.915 MB / 352.9 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005443/0.185, allocations: 2.932 MB / 355.8 MB, free: 1.449 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.1866, allocations: 0.8525 MB / 356.7 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.1885, allocations: 1.113 MB / 357.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004362/0.189, allocations: 112 kB / 357.9 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.1911, allocations: 0.8231 MB / 358.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.1928, allocations: 1.274 MB / 360 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008544/0.1936, allocations: 0.6909 MB / 360.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006557/0.2002, allocations: 4.419 MB / 365.1 MB, free: 8.137 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2002, allocations: 0 / 365.1 MB, free: 8.137 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.2003, allocations: 0 / 365.1 MB, free: 8.137 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.207e-05/0.2004, allocations: 0 / 365.1 MB, free: 8.137 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.009474/0.2098, allocations: 3.41 MB / 368.5 MB, free: 4.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.2099, allocations: 8.031 kB / 368.5 MB, free: 4.652 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01251/0.2224, allocations: 2.105 MB / 370.6 MB, free: 2.539 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005752/0.2282, allocations: 2.127 MB / 372.7 MB, free: 360 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.2284, allocations: 188.7 kB / 372.9 MB, free: 168 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2374/0.4658, allocations: 242 kB / 373.2 MB, free: 62.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0211/0.487, allocations: 8.381 MB / 381.5 MB, free: 58.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/0.4872, allocations: 35.8 kB / 381.6 MB, free: 58.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005262/0.4877, allocations: 123.5 kB / 381.7 MB, free: 58.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003886/0.4916, allocations: 1.625 MB / 383.3 MB, free: 58.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01916/0.5108, allocations: 7.041 MB / 390.4 MB, free: 54.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04579/0.5566, allocations: 33.88 MB / 424.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/0.5676, allocations: 3.159 MB / 427.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008447/0.5761, allocations: 4.055 MB / 431.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.5762, allocations: 39.12 kB / 431.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=114): time 4.729e-06/0.5762, allocations: 0 / 431.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.04295/0.6192, allocations: 11.6 MB / 443.1 MB, free: 1.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.6192, allocations: 137.1 kB / 443.2 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007346/0.6266, allocations: 3.816 MB / 447 MB, free: 13.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003121/0.627, allocations: 41.7 kB / 447.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002722/0.6297, allocations: 2.724 MB / 449.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007987/0.6305, allocations: 0.5048 MB / 450.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/0.6309, allocations: 100 kB / 450.4 MB, free: 9.746 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004079/0.6313, allocations: 0.529 MB / 450.9 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004164/0.6355, allocations: 1.665 MB / 452.6 MB, free: 7.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007018/0.6426, allocations: 5.046 MB / 457.6 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006828/0.6494, allocations: 2.853 MB / 460.5 MB, free: 13.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001079/0.6496, allocations: 36 kB / 460.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.02523/0.6748, allocations: 6.607 MB / 467.1 MB, free: 7.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.985e-05/0.675, allocations: 56 kB / 467.2 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/0.6752, allocations: 128.2 kB / 467.3 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.6762, allocations: 340.7 kB / 467.7 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006994/0.6832, allocations: 1.224 MB / 468.9 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003852/0.6871, allocations: 2.374 MB / 471.3 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004933/0.692, allocations: 279.5 kB / 471.5 MB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006812/0.6927, allocations: 325.4 kB / 471.8 MB, free: 2.43 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.003753/0.6965, allocations: 1.775 MB / 473.6 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007688/0.6973, allocations: 315.9 kB / 473.9 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007815/0.7051, allocations: 2.336 MB / 476.3 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/0.7051, allocations: 6.516 kB / 476.3 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.7052, allocations: 7.938 kB / 476.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/0.7068, allocations: 0.5437 MB / 476.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005787/0.7073, allocations: 16 kB / 476.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/0.7092, allocations: 67.91 kB / 476.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/0.7095, allocations: 70.73 kB / 477 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008449/0.7179, allocations: 2.794 MB / 479.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007562/0.7255, allocations: 3.611 MB / 483.4 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001872/0.7274, allocations: 0.8689 MB / 484.2 MB, free: 5.984 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005133/0.7326, allocations: 2.393 MB / 486.6 MB, free: 3.605 MB / 362.7 MB Notification: Performance of Backend: time 8.82e-07/0.7326, allocations: 0 / 486.6 MB, free: 3.605 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009393/0.742, allocations: 3.369 MB / 490 MB, free: 272 kB / 362.7 MB Notification: Performance of SimCode: time 0.01908/0.7611, allocations: 8.928 MB / 498.9 MB, free: 7.293 MB / 378.7 MB Notification: Performance of Templates: time 0.3568/1.118, allocations: 34.66 MB / 0.5211 GB, free: 125.2 MB / 394.7 MB