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.Loops.PlanarLoops_analytic.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.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadModel(Modelica): time 1.718/1.718, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 12 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07838/0.07877, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.3398/0.4186, allocations: 90.83 MB / 363.5 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.06012/0.4788, allocations: 21.37 MB / 384.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01897/0.4978, allocations: 455 kB / 385.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01622/0.5141, allocations: 4.604 MB / 389.9 MB, free: 7.527 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04626/0.5604, allocations: 12.33 MB / 402.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.571, allocations: 2.064 MB / 404.3 MB, free: 9.102 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01394/0.585, allocations: 5.614 MB / 409.9 MB, free: 3.484 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03832/0.6234, allocations: 18.26 MB / 428.2 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00728/0.6307, allocations: 2.995 MB / 431.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008737/0.6395, allocations: 3.926 MB / 435.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002806/0.6424, allocations: 468 kB / 435.5 MB, free: 9.711 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006391/0.6488, allocations: 1.6 MB / 437.1 MB, free: 8.109 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009824/0.6587, allocations: 4.388 MB / 441.5 MB, free: 3.711 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006341/0.6651, allocations: 2.307 MB / 443.8 MB, free: 1.391 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.5739/1.239, allocations: 18.5 MB / 462.3 MB, free: 21.18 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.239, allocations: 0 / 462.3 MB, free: 21.18 MB / 362.8 MB Notification: Performance of FrontEnd: time 3.757e-06/1.239, allocations: 0 / 462.3 MB, free: 21.18 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0008045/1.24, allocations: 1.641 kB / 462.3 MB, free: 21.18 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.05093/1.291, allocations: 12.45 MB / 474.8 MB, free: 14.46 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.291, allocations: 14.25 kB / 474.8 MB, free: 14.46 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02795/1.319, allocations: 3.732 MB / 478.5 MB, free: 12.71 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02447/1.343, allocations: 7.858 MB / 486.4 MB, free: 10.56 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009491/1.344, allocations: 0.746 MB / 487.1 MB, free: 10.54 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006817/1.351, allocations: 1.105 MB / 488.2 MB, free: 10.49 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1219/1.473, allocations: 34.92 MB / 0.5109 GB, free: 9.914 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005181/1.474, allocations: 84.86 kB / 0.511 GB, free: 9.871 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005434/1.479, allocations: 453.7 kB / 0.5114 GB, free: 9.754 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01075/1.49, allocations: 4.31 MB / 0.5156 GB, free: 6.309 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1217/1.612, allocations: 32.91 MB / 0.5478 GB, free: 15.67 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4961/2.108, allocations: 113.9 MB / 0.659 GB, free: 112.5 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09218/2.2, allocations: 18.69 MB / 0.6773 GB, free: 109.7 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07856/2.279, allocations: 32.71 MB / 0.7092 GB, free: 84.96 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/2.279, allocations: 93.69 kB / 0.7093 GB, free: 84.86 MB / 442.8 MB Notification: Performance of pre-optimization done (n=489): time 1.357e-05/2.279, allocations: 0 / 0.7093 GB, free: 84.86 MB / 442.8 MB Notification: Performance of matching and sorting (n=726): time 1.45/3.729, allocations: 171.6 MB / 0.8769 GB, free: 121.2 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/3.729, allocations: 205.8 kB / 0.8771 GB, free: 121 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0165/3.745, allocations: 8.352 MB / 0.8853 GB, free: 112.7 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002676/3.748, allocations: 135.7 kB / 0.8854 GB, free: 112.5 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005496/3.754, allocations: 7.047 MB / 0.8923 GB, free: 105.5 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004702/3.758, allocations: 2.587 MB / 0.8948 GB, free: 102.9 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002624/3.761, allocations: 284.8 kB / 0.8951 GB, free: 102.7 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0008987/3.762, allocations: 0.9017 MB / 0.896 GB, free: 101.8 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02431/3.786, allocations: 10.53 MB / 0.9062 GB, free: 91.22 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02861/3.815, allocations: 17.07 MB / 0.9229 GB, free: 71.05 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02946/3.844, allocations: 13.19 MB / 0.9358 GB, free: 57.83 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001673/3.845, allocations: 64 kB / 0.9358 GB, free: 57.77 MB / 442.8 MB Notification: Performance of matching and sorting (n=1862) (initialization): time 0.3405/4.185, allocations: 28.05 MB / 0.9632 GB, free: 152.5 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/4.185, allocations: 99.78 kB / 0.9633 GB, free: 152.5 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003401/4.186, allocations: 227.3 kB / 0.9635 GB, free: 152.5 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004157/4.186, allocations: 345.4 kB / 0.9639 GB, free: 152.5 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03817/4.224, allocations: 4.461 MB / 0.9682 GB, free: 152.5 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005199/4.225, allocations: 458.8 kB / 0.9687 GB, free: 152.5 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0214/4.246, allocations: 1.139 MB / 0.9698 GB, free: 152.3 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004141/4.25, allocations: 0.7332 MB / 0.9705 GB, free: 152.2 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1018 * Number of states: 0 () * Number of discrete variables: 99 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR1.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR3.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[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 (1832): * Single equations (assignments): 1826 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01688/4.267, allocations: 5.449 MB / 0.9758 GB, free: 149.9 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003089/4.27, allocations: 0.7964 MB / 0.9766 GB, free: 149.9 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05125/4.322, allocations: 19.92 MB / 0.9961 GB, free: 140.7 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001503/4.322, allocations: 34.92 kB / 0.9961 GB, free: 140.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/4.322, allocations: 4.312 kB / 0.9961 GB, free: 140.7 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0104/4.332, allocations: 2.786 MB / 0.9988 GB, free: 139.6 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004584/4.337, allocations: 115.8 kB / 0.9989 GB, free: 139.5 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0144/4.351, allocations: 0.7498 MB / 0.9997 GB, free: 139.4 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003135/4.355, allocations: 378.7 kB / 1 GB, free: 139.3 MB / 442.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06349/4.418, allocations: 20.52 MB / 1.02 GB, free: 124.4 MB / 442.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.08565/4.504, allocations: 34.14 MB / 1.053 GB, free: 92.8 MB / 442.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01976/4.524, allocations: 9.924 MB / 1.063 GB, free: 82.86 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01262/4.536, allocations: 5.278 MB / 1.068 GB, free: 77.59 MB / 442.8 MB Notification: Performance of Backend: time 2.094e-06/4.536, allocations: 0 / 1.068 GB, free: 77.59 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0403/4.577, allocations: 15.13 MB / 1.083 GB, free: 63.04 MB / 442.8 MB Notification: Performance of SimCode: time 0.3211/4.898, allocations: 27.29 MB / 1.11 GB, free: 157.9 MB / 442.8 MB Notification: Performance of Templates: time 0.8366/5.735, allocations: 172.3 MB / 1.278 GB, free: 126.8 MB / 442.8 MB