Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 195.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 55.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2791, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.02697/0.3061, allocations: 26.79 MB / 352.1 MB, free: 9.039 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02304/0.3292, allocations: 7.974 MB / 360.1 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00746/0.3367, allocations: 175.6 kB / 360.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02018/0.3569, allocations: 11.09 MB / 371.3 MB, free: 5.742 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01295/0.3699, allocations: 3.601 MB / 374.9 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006876/0.3768, allocations: 2.601 MB / 377.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01727/0.3941, allocations: 10.36 MB / 387.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02492/0.4191, allocations: 15.82 MB / 403.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01056/0.4297, allocations: 5.233 MB / 409 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01177/0.4415, allocations: 6.853 MB / 415.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004821/0.4463, allocations: 1.438 MB / 417.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007355/0.4537, allocations: 2.713 MB / 420 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00826/0.462, allocations: 5.983 MB / 425.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01632/0.4784, allocations: 6.864 MB / 432.8 MB, free: 8.031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03221/0.5106, allocations: 22.54 MB / 455.3 MB, free: 1.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.5107, allocations: 0 / 455.3 MB, free: 1.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5107, allocations: 4 kB / 455.4 MB, free: 1.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008/0.5115, allocations: 0 / 455.4 MB, free: 1.422 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4012 * Number of variables: 4012 Notification: Performance of Generate backend data structure: time 0.3754/0.8869, allocations: 13.99 MB / 469.3 MB, free: 98.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.887, allocations: 7.906 kB / 469.3 MB, free: 98.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01529/0.9023, allocations: 3.058 MB / 472.4 MB, free: 97.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01743/0.9198, allocations: 7.051 MB / 479.5 MB, free: 90.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007199/0.9205, allocations: 0.7431 MB / 480.2 MB, free: 89.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006147/0.9267, allocations: 1.1 MB / 481.3 MB, free: 88.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08061/1.007, allocations: 33.9 MB / 0.5031 GB, free: 53.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006036/1.008, allocations: 75.28 kB / 0.5032 GB, free: 53.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004647/1.013, allocations: 459.6 kB / 0.5036 GB, free: 52.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006951/1.02, allocations: 4.556 MB / 0.5081 GB, free: 48.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06474/1.084, allocations: 31.95 MB / 0.5393 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3812/1.466, allocations: 114.2 MB / 0.6508 GB, free: 92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05155/1.517, allocations: 18.71 MB / 0.6691 GB, free: 89.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01168/1.529, allocations: 10.01 MB / 0.6789 GB, free: 83.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04681/1.576, allocations: 32.25 MB / 0.7103 GB, free: 52.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.661e-05/1.576, allocations: 89.62 kB / 0.7104 GB, free: 52.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=512): time 9.608e-06/1.576, allocations: 0 / 0.7104 GB, free: 52.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=773): time 0.8239/2.4, allocations: 165.9 MB / 0.8724 GB, free: 120 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/2.4, allocations: 208.5 kB / 0.8726 GB, free: 119.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01474/2.415, allocations: 7.999 MB / 0.8804 GB, free: 111.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002809/2.418, allocations: 149.4 kB / 0.8806 GB, free: 111.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004293/2.422, allocations: 6.915 MB / 0.8873 GB, free: 104.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004386/2.426, allocations: 2.741 MB / 0.89 GB, free: 102 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01273/2.439, allocations: 3.038 MB / 0.893 GB, free: 98.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.599e-05/2.439, allocations: 301.1 kB / 0.8933 GB, free: 98.67 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01778/2.457, allocations: 11.23 MB / 0.9042 GB, free: 87.44 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02228/2.479, allocations: 17.77 MB / 0.9216 GB, free: 66.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03719/2.517, allocations: 30.23 MB / 0.9511 GB, free: 33.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000241/2.517, allocations: 64 kB / 0.9512 GB, free: 33.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=1941) (initialization): time 0.234/2.751, allocations: 29.52 MB / 0.98 GB, free: 152.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/2.751, allocations: 100.8 kB / 0.9801 GB, free: 152.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003117/2.751, allocations: 220.9 kB / 0.9803 GB, free: 152.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/2.752, allocations: 311.3 kB / 0.9806 GB, free: 152.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02043/2.772, allocations: 4.589 MB / 0.9851 GB, free: 152.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004038/2.772, allocations: 454.2 kB / 0.9855 GB, free: 152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01504/2.788, allocations: 1.183 MB / 0.9867 GB, free: 151.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004165/2.792, allocations: 0.7484 MB / 0.9874 GB, free: 151.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1004 * Number of states: 0 () * Number of discrete variables: 102 (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],jointRRR3.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR1.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.groundColor[3],world.groundColor[2],world.groundColor[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 (1905): * Single equations (assignments): 1896 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01294/2.805, allocations: 5.5 MB / 0.9928 GB, free: 147.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003062/2.808, allocations: 0.8005 MB / 0.9936 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03405/2.842, allocations: 21.35 MB / 1.014 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.041e-05/2.842, allocations: 76 kB / 1.014 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.609e-05/2.842, allocations: 7.938 kB / 1.014 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001824/2.842, allocations: 36.91 kB / 1.015 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07914/2.921, allocations: 45.93 MB / 1.059 GB, free: 82.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.518e-05/2.921, allocations: 8 kB / 1.059 GB, free: 82.42 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01582/2.937, allocations: 2.503 MB / 1.062 GB, free: 79.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/2.937, allocations: 32 kB / 1.062 GB, free: 79.89 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002266/2.94, allocations: 136 kB / 1.062 GB, free: 79.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.415e-05/2.94, allocations: 39.92 kB / 1.062 GB, free: 79.71 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/2.94, allocations: 11.94 kB / 1.062 GB, free: 79.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04416/2.984, allocations: 35.75 MB / 1.097 GB, free: 44.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007274/2.991, allocations: 2.898 MB / 1.1 GB, free: 41.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003567/2.995, allocations: 124 kB / 1.1 GB, free: 41.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009338/3.004, allocations: 0.7761 MB / 1.101 GB, free: 40.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002517/3.007, allocations: 428.6 kB / 1.101 GB, free: 39.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00169/3.009, allocations: 192 kB / 1.101 GB, free: 39.79 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.008049/3.017, allocations: 4.999 MB / 1.106 GB, free: 34.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.81e-07/3.017, allocations: 3.781 kB / 1.106 GB, free: 34.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01352/3.03, allocations: 3.289 MB / 1.109 GB, free: 31.57 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (757): * Single equations (assignments): 754 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002512/3.033, allocations: 432.8 kB / 1.11 GB, free: 31.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2799/3.313, allocations: 54.43 MB / 1.163 GB, free: 146.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/3.313, allocations: 8 kB / 1.163 GB, free: 146.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01507/3.328, allocations: 10.65 MB / 1.173 GB, free: 137 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008747/3.337, allocations: 0.9961 MB / 1.174 GB, free: 136.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06142/3.398, allocations: 34.39 MB / 1.208 GB, free: 105.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01483/3.413, allocations: 8.106 MB / 1.216 GB, free: 97.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.02009/3.433, allocations: 5.268 MB / 1.221 GB, free: 92.08 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009753/3.443, allocations: 0.6126 MB / 1.222 GB, free: 91.46 MB / 478.1 MB Notification: Performance of SimCode: time 1.774e-06/3.443, allocations: 4 kB / 1.222 GB, free: 91.46 MB / 478.1 MB Notification: Performance of Templates: time 0.422/3.865, allocations: 137.2 MB / 1.355 GB, free: 106.6 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1)