Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001054/0.001054, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.639/1.639, allocations: 194.3 MB / 208.4 MB, free: 6.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001717/0.001718, allocations: 118.2 kB / 253.5 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.313e-05/3.315e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09482, allocations: 44.5 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3792/0.4741, allocations: 97.71 MB / 447.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4744, allocations: 90.89 kB / 447.2 MB, free: 13.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5211/0.9955, allocations: 110.4 MB / 0.5446 GB, free: 75.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.327e-06/0.9955, allocations: 0 / 0.5446 GB, free: 75.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003161/0.9959, allocations: 103.7 kB / 0.5447 GB, free: 75.22 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: 1738 * Number of variables: 1738 Notification: Performance of Generate backend data structure: time 0.01889/1.015, allocations: 4.914 MB / 0.5495 GB, free: 73.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.355e-05/1.015, allocations: 8.594 kB / 0.5495 GB, free: 73.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02897/1.044, allocations: 6.903 MB / 0.5562 GB, free: 72.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01697/1.061, allocations: 6.761 MB / 0.5628 GB, free: 72.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003319/1.061, allocations: 387.4 kB / 0.5632 GB, free: 72.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002017/1.063, allocations: 0.5156 MB / 0.5637 GB, free: 72.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02487/1.088, allocations: 12.53 MB / 0.5759 GB, free: 69.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002013/1.088, allocations: 63.84 kB / 0.576 GB, free: 69.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007094/1.089, allocations: 247.2 kB / 0.5762 GB, free: 69.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001311/1.09, allocations: 1.042 MB / 0.5773 GB, free: 69.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02133/1.112, allocations: 10.37 MB / 0.5874 GB, free: 68.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06148/1.173, allocations: 50.11 MB / 0.6363 GB, free: 31.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/1.186, allocations: 4.774 MB / 0.641 GB, free: 27.64 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002472/1.188, allocations: 1.876 MB / 0.6428 GB, free: 25.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01225/1.2, allocations: 7.045 MB / 0.6497 GB, free: 19.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/1.2, allocations: 47.56 kB / 0.6497 GB, free: 19.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=179): time 6.963e-06/1.2, allocations: 0 / 0.6497 GB, free: 19.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=224): time 0.05514/1.256, allocations: 17.09 MB / 0.6664 GB, free: 5.969 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/1.256, allocations: 204.8 kB / 0.6666 GB, free: 5.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00782/1.264, allocations: 3.876 MB / 0.6704 GB, free: 2.125 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004829/1.264, allocations: 57.7 kB / 0.6705 GB, free: 2.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002315/1.266, allocations: 3.554 MB / 0.6739 GB, free: 14.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001122/1.268, allocations: 0.8516 MB / 0.6748 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/1.268, allocations: 124 kB / 0.6749 GB, free: 13.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003837/1.268, allocations: 0.5668 MB / 0.6754 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003221/1.271, allocations: 2.109 MB / 0.6775 GB, free: 10.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005647/1.277, allocations: 5.84 MB / 0.6832 GB, free: 3.148 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2723/1.549, allocations: 3.499 MB / 0.6866 GB, free: 79.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001721/1.55, allocations: 38.12 kB / 0.6867 GB, free: 79.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.01931/1.569, allocations: 8.658 MB / 0.6951 GB, free: 79.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/1.569, allocations: 61.22 kB / 0.6952 GB, free: 79.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002423/1.569, allocations: 131.8 kB / 0.6953 GB, free: 79.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003347/1.573, allocations: 1.026 MB / 0.6963 GB, free: 79.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005301/1.578, allocations: 1.416 MB / 0.6977 GB, free: 79.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008997/1.587, allocations: 6.87 MB / 0.7044 GB, free: 78.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005341/1.592, allocations: 322.9 kB / 0.7047 GB, free: 78.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/1.594, allocations: 383.9 kB / 0.7051 GB, free: 78.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 43 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (768): * Single equations (assignments): 764 * 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%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009588/1.595, allocations: 0.5937 MB / 0.7056 GB, free: 77.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007832/1.595, allocations: 405.7 kB / 0.706 GB, free: 77.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007532/1.603, allocations: 3.608 MB / 0.7096 GB, free: 77.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/1.603, allocations: 24.62 kB / 0.7096 GB, free: 77.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/1.603, allocations: 10.83 kB / 0.7096 GB, free: 77.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.182e-05/1.603, allocations: 13.11 kB / 0.7096 GB, free: 77.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02076/1.624, allocations: 9.826 MB / 0.7192 GB, free: 76.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/1.624, allocations: 10.81 kB / 0.7192 GB, free: 76.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/1.626, allocations: 352.6 kB / 0.7195 GB, free: 76.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002648/1.628, allocations: 0.7981 MB / 0.7203 GB, free: 76.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003076/1.629, allocations: 44.16 kB / 0.7204 GB, free: 76.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007252/1.636, allocations: 5.582 MB / 0.7258 GB, free: 74.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/1.636, allocations: 14.67 kB / 0.7258 GB, free: 74.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009312/1.645, allocations: 6.941 MB / 0.7326 GB, free: 70.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002269/1.647, allocations: 0.7131 MB / 0.7333 GB, free: 70.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008898/1.648, allocations: 41.55 kB / 0.7333 GB, free: 70.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/1.65, allocations: 96.52 kB / 0.7334 GB, free: 70.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/1.65, allocations: 149.2 kB / 0.7336 GB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/1.65, allocations: 67.25 kB / 0.7336 GB, free: 70.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004064/1.655, allocations: 2.713 MB / 0.7363 GB, free: 69.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.655, allocations: 3.844 kB / 0.7363 GB, free: 69.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005565/1.66, allocations: 1.176 MB / 0.7374 GB, free: 69.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 172 * 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%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005761/1.661, allocations: 218.6 kB / 0.7377 GB, free: 69.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007652/1.668, allocations: 5.303 MB / 0.7428 GB, free: 67.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/1.668, allocations: 3.438 kB / 0.7428 GB, free: 67.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003386/1.672, allocations: 1.754 MB / 0.7445 GB, free: 66.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/1.675, allocations: 0.5124 MB / 0.745 GB, free: 66.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/1.691, allocations: 8.98 MB / 0.7538 GB, free: 62.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003727/1.695, allocations: 3.97 MB / 0.7577 GB, free: 61.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004717/1.699, allocations: 1.934 MB / 0.7596 GB, free: 61.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000831/1.7, allocations: 275.5 kB / 0.7598 GB, free: 60.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/1.7, allocations: 0 / 0.7598 GB, free: 60.96 MB / 410.7 MB Notification: Performance of Templates: time 0.07422/1.775, allocations: 41.37 MB / 0.8002 GB, free: 30.22 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1)