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.Loops.PlanarLoops_analytic.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.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadModel(Modelica): time 2.119/2.119, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.000366, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09159/0.09198, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.3845/0.4766, allocations: 90.83 MB / 399.9 MB, free: 7.621 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.05071/0.5273, allocations: 21.39 MB / 421.3 MB, free: 1.344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02113/0.5485, allocations: 456.3 kB / 421.7 MB, free: 1.277 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02082/0.5694, allocations: 4.605 MB / 426.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06151/0.631, allocations: 12.32 MB / 438.7 MB, free: 5.398 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0102/0.6412, allocations: 2.044 MB / 440.7 MB, free: 3.352 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01367/0.6549, allocations: 5.613 MB / 446.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03663/0.6916, allocations: 18.26 MB / 464.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007115/0.6987, allocations: 3.003 MB / 467.6 MB, free: 8.371 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008511/0.7073, allocations: 3.93 MB / 471.5 MB, free: 4.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002369/0.7097, allocations: 468 kB / 472 MB, free: 3.973 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005755/0.7155, allocations: 1.592 MB / 473.5 MB, free: 2.379 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006988/0.7225, allocations: 4.388 MB / 477.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004032/0.7266, allocations: 2.311 MB / 480.2 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02709/0.7537, allocations: 18.49 MB / 498.7 MB, free: 9.117 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7538, allocations: 4 kB / 498.7 MB, free: 9.113 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.7538, allocations: 0 / 498.7 MB, free: 9.113 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006032/0.7544, allocations: 0 / 498.7 MB, free: 9.113 MB / 394.7 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.0475/0.8019, allocations: 12.45 MB / 0.4992 GB, free: 12.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.802, allocations: 12.03 kB / 0.4992 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02731/0.8293, allocations: 3.722 MB / 0.5029 GB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02318/0.8525, allocations: 7.864 MB / 0.5105 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008775/0.8534, allocations: 0.7457 MB / 0.5113 GB, free: 120 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005483/0.8589, allocations: 1.108 MB / 0.5123 GB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.606/1.465, allocations: 34.91 MB / 0.5464 GB, free: 136.7 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004036/1.465, allocations: 83.5 kB / 0.5465 GB, free: 136.6 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003345/1.469, allocations: 452.4 kB / 0.547 GB, free: 136.4 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008626/1.477, allocations: 4.315 MB / 0.5512 GB, free: 134.7 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1071/1.585, allocations: 32.91 MB / 0.5833 GB, free: 107.4 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4699/2.055, allocations: 113.9 MB / 0.6946 GB, free: 113.3 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09184/2.147, allocations: 18.69 MB / 0.7128 GB, free: 112.5 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06385/2.21, allocations: 32.72 MB / 0.7448 GB, free: 94.22 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.97e-05/2.211, allocations: 88.17 kB / 0.7449 GB, free: 94.14 MB / 426.8 MB Notification: Performance of pre-optimization done (n=489): time 9.157e-06/2.211, allocations: 0 / 0.7449 GB, free: 94.14 MB / 426.8 MB Notification: Performance of matching and sorting (n=726): time 1.507/3.717, allocations: 171.6 MB / 0.9125 GB, free: 111.3 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.067e-05/3.717, allocations: 204.3 kB / 0.9127 GB, free: 111 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01554/3.733, allocations: 8.347 MB / 0.9208 GB, free: 102.7 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00241/3.735, allocations: 138.6 kB / 0.9209 GB, free: 102.5 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005138/3.741, allocations: 7.052 MB / 0.9278 GB, free: 95.49 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004392/3.745, allocations: 2.575 MB / 0.9303 GB, free: 92.94 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002415/3.748, allocations: 293 kB / 0.9306 GB, free: 92.66 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0008861/3.748, allocations: 0.909 MB / 0.9315 GB, free: 91.74 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02364/3.772, allocations: 10.52 MB / 0.9418 GB, free: 81.21 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0278/3.8, allocations: 17.07 MB / 0.9585 GB, free: 61.25 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02982/3.83, allocations: 13.2 MB / 0.9713 GB, free: 48.03 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001901/3.83, allocations: 64 kB / 0.9714 GB, free: 47.97 MB / 442.8 MB Notification: Performance of matching and sorting (n=1862) (initialization): time 0.07854/3.909, allocations: 28.04 MB / 0.9988 GB, free: 19.88 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002334/3.909, allocations: 108.4 kB / 0.9989 GB, free: 19.78 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004052/3.909, allocations: 220 kB / 0.9991 GB, free: 19.56 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004914/3.91, allocations: 348 kB / 0.9994 GB, free: 19.22 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4321/4.342, allocations: 4.453 MB / 1.004 GB, free: 128.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008461/4.343, allocations: 462.7 kB / 1.004 GB, free: 128.9 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03079/4.374, allocations: 1.141 MB / 1.005 GB, free: 128.9 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005469/4.379, allocations: 0.7332 MB / 1.006 GB, free: 128.9 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.022/4.401, allocations: 5.446 MB / 1.011 GB, free: 127.6 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002752/4.404, allocations: 0.8004 MB / 1.012 GB, free: 127.6 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05611/4.46, allocations: 19.92 MB / 1.032 GB, free: 118.3 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001868/4.46, allocations: 38.38 kB / 1.032 GB, free: 118.3 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.993e-05/4.46, allocations: 0 / 1.032 GB, free: 118.3 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01439/4.475, allocations: 2.794 MB / 1.034 GB, free: 117.2 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006059/4.481, allocations: 111 kB / 1.034 GB, free: 117.1 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01976/4.501, allocations: 0.7507 MB / 1.035 GB, free: 117 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003913/4.505, allocations: 379.9 kB / 1.036 GB, free: 117 MB / 442.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0731/4.578, allocations: 20.51 MB / 1.056 GB, free: 108.4 MB / 442.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.07597/4.654, allocations: 34.13 MB / 1.089 GB, free: 77.04 MB / 442.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0193/4.673, allocations: 9.931 MB / 1.099 GB, free: 67.09 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01173/4.685, allocations: 5.271 MB / 1.104 GB, free: 61.83 MB / 442.8 MB Notification: Performance of Backend: time 1.262e-06/4.685, allocations: 2.953 kB / 1.104 GB, free: 61.83 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.03769/4.723, allocations: 15.14 MB / 1.119 GB, free: 46.86 MB / 442.8 MB Notification: Performance of SimCode: time 0.0582/4.781, allocations: 27.28 MB / 1.145 GB, free: 19.74 MB / 442.8 MB Notification: Performance of Templates: time 0.6872/5.468, allocations: 172.3 MB / 1.313 GB, free: 7 MB / 442.8 MB