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.001447/0.001447, allocations: 187.2 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.561/1.561, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001722/0.001722, allocations: 113.3 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.634e-05, allocations: 4 kB / 298.1 MB, free: 8.227 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.09709, allocations: 44.5 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3829/0.48, allocations: 97.03 MB / 439.6 MB, free: 15.06 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.4804, allocations: 90 kB / 439.7 MB, free: 15.02 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5363/1.017, allocations: 108 MB / 0.5348 GB, free: 73.91 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.823e-06/1.017, allocations: 3.719 kB / 0.5348 GB, free: 73.91 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0004587/1.017, allocations: 104 kB / 0.5349 GB, free: 73.91 MB / 395.1 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.01765/1.035, allocations: 4.912 MB / 0.5397 GB, free: 71.87 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.035, allocations: 9.656 kB / 0.5397 GB, free: 71.87 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03042/1.065, allocations: 6.908 MB / 0.5465 GB, free: 71.52 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0193/1.085, allocations: 6.746 MB / 0.5531 GB, free: 70.76 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004353/1.085, allocations: 166.1 kB / 0.5532 GB, free: 70.76 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002783/1.088, allocations: 309.3 kB / 0.5535 GB, free: 70.75 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0175/1.106, allocations: 7.487 MB / 0.5608 GB, free: 70.72 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02405/1.13, allocations: 10.62 MB / 0.5712 GB, free: 66.38 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003604/1.13, allocations: 68.66 kB / 0.5713 GB, free: 66.36 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002046/1.132, allocations: 35.31 kB / 0.5713 GB, free: 66.36 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001447/1.134, allocations: 1.04 MB / 0.5723 GB, free: 66.18 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0563/1.19, allocations: 48.36 MB / 0.6196 GB, free: 30.64 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004016/1.194, allocations: 3.15 MB / 0.6226 GB, free: 28.93 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002169/1.196, allocations: 1.789 MB / 0.6244 GB, free: 28.16 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/1.197, allocations: 1.21 MB / 0.6256 GB, free: 27.08 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/1.197, allocations: 55.56 kB / 0.6256 GB, free: 27.03 MB / 395.1 MB Notification: Performance of pre-optimization done (n=185): time 5.239e-06/1.197, allocations: 0 / 0.6256 GB, free: 27.03 MB / 395.1 MB Notification: Performance of matching and sorting (n=233): time 0.04335/1.241, allocations: 16.17 MB / 0.6414 GB, free: 15.63 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/1.241, allocations: 201.9 kB / 0.6416 GB, free: 15.39 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006966/1.248, allocations: 3.453 MB / 0.645 GB, free: 12.34 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004017/1.248, allocations: 25.7 kB / 0.645 GB, free: 12.3 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002142/1.251, allocations: 3.607 MB / 0.6485 GB, free: 9.031 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008567/1.251, allocations: 0.8463 MB / 0.6493 GB, free: 8.27 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/1.252, allocations: 0 / 0.6493 GB, free: 8.27 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002704/1.252, allocations: 0.5874 MB / 0.6499 GB, free: 7.754 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002316/1.254, allocations: 2.048 MB / 0.6519 GB, free: 5.91 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2515/1.506, allocations: 5.885 MB / 0.6577 GB, free: 63.59 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007581/1.513, allocations: 3.468 MB / 0.6611 GB, free: 63.57 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001788/1.514, allocations: 39.94 kB / 0.6611 GB, free: 63.57 MB / 395.1 MB Notification: Performance of matching and sorting (n=865) (initialization): time 0.01473/1.528, allocations: 7.988 MB / 0.6689 GB, free: 63.27 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/1.528, allocations: 63.28 kB / 0.6689 GB, free: 63.27 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/1.529, allocations: 140.3 kB / 0.6691 GB, free: 63.27 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002817/1.531, allocations: 1.028 MB / 0.6701 GB, free: 63.26 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004133/1.536, allocations: 1.47 MB / 0.6715 GB, free: 63.12 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008438/1.544, allocations: 6.522 MB / 0.6779 GB, free: 61.75 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004903/1.549, allocations: 208.9 kB / 0.6781 GB, free: 61.75 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006849/1.55, allocations: 390.9 kB / 0.6785 GB, free: 61.75 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * 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 (801): * Single equations (assignments): 797 * 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.0008518/1.551, allocations: 465.1 kB / 0.6789 GB, free: 61.51 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005965/1.551, allocations: 386.5 kB / 0.6793 GB, free: 61.51 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006834/1.558, allocations: 3.433 MB / 0.6826 GB, free: 61.33 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-05/1.558, allocations: 25.34 kB / 0.6827 GB, free: 61.33 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/1.558, allocations: 6.969 kB / 0.6827 GB, free: 61.33 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/1.558, allocations: 14.62 kB / 0.6827 GB, free: 61.33 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01793/1.576, allocations: 8.93 MB / 0.6914 GB, free: 60.38 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/1.576, allocations: 10.69 kB / 0.6914 GB, free: 60.38 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/1.578, allocations: 367.6 kB / 0.6918 GB, free: 60.36 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002697/1.581, allocations: 0.7892 MB / 0.6925 GB, free: 60.34 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001974/1.581, allocations: 17.17 kB / 0.6925 GB, free: 60.33 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007441/1.588, allocations: 5.236 MB / 0.6977 GB, free: 57.5 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/1.588, allocations: 11.5 kB / 0.6977 GB, free: 57.5 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009968/1.598, allocations: 6.892 MB / 0.7044 GB, free: 53.98 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/1.6, allocations: 0.6981 MB / 0.7051 GB, free: 53.54 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004895/1.601, allocations: 11.22 kB / 0.7051 GB, free: 53.54 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/1.602, allocations: 71.8 kB / 0.7052 GB, free: 53.54 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003852/1.603, allocations: 146.6 kB / 0.7053 GB, free: 53.52 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/1.603, allocations: 70.52 kB / 0.7054 GB, free: 53.5 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.003737/1.607, allocations: 2.335 MB / 0.7076 GB, free: 52.62 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.5e-07/1.607, allocations: 0 / 0.7076 GB, free: 52.62 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.006101/1.613, allocations: 1.016 MB / 0.7086 GB, free: 52.62 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (185): * Single equations (assignments): 181 * 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.0005558/1.613, allocations: 186.7 kB / 0.7088 GB, free: 52.51 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.00728/1.621, allocations: 5.076 MB / 0.7138 GB, free: 50.59 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.621, allocations: 5.219 kB / 0.7138 GB, free: 50.59 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00224/1.623, allocations: 1.733 MB / 0.7155 GB, free: 49.83 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003266/1.626, allocations: 448 kB / 0.7159 GB, free: 49.65 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/1.644, allocations: 8.926 MB / 0.7246 GB, free: 46.29 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00417/1.648, allocations: 3.975 MB / 0.7285 GB, free: 44.84 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.005084/1.653, allocations: 2.024 MB / 0.7305 GB, free: 44.68 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007315/1.654, allocations: 268.7 kB / 0.7307 GB, free: 44.66 MB / 395.1 MB Notification: Performance of SimCode: time 6.61e-07/1.654, allocations: 0 / 0.7307 GB, free: 44.66 MB / 395.1 MB Notification: Performance of Templates: time 0.06882/1.723, allocations: 37.33 MB / 0.7672 GB, free: 23.96 MB / 395.1 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)