Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_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.Engine1b_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001841/0.001841, allocations: 188.1 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.589/1.589, allocations: 194.3 MB / 203.1 MB, free: 9.324 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.001684/0.001684, allocations: 112.8 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.858e-05/1.861e-05, allocations: 0 / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0905/0.09054, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3168/0.4074, allocations: 103.1 MB / 445.7 MB, free: 9.047 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.4077, allocations: 90.69 kB / 445.8 MB, free: 9 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6473/1.055, allocations: 178.7 MB / 0.6098 GB, free: 52.96 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.255e-06/1.055, allocations: 0 / 0.6098 GB, free: 52.96 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0009452/1.056, allocations: 186 kB / 0.61 GB, free: 52.96 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: 2751 * Number of variables: 2751 Notification: Performance of Generate backend data structure: time 0.03117/1.087, allocations: 9.142 MB / 0.6189 GB, free: 44.4 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.087, allocations: 15.97 kB / 0.619 GB, free: 44.38 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06048/1.148, allocations: 16.65 MB / 0.6352 GB, free: 27.7 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03152/1.179, allocations: 14.58 MB / 0.6495 GB, free: 13.17 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003798/1.18, allocations: 272.9 kB / 0.6497 GB, free: 12.9 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003528/1.183, allocations: 0.5152 MB / 0.6502 GB, free: 12.39 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02114/1.204, allocations: 11.71 MB / 0.6617 GB, free: 0.6797 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2928/1.497, allocations: 16.53 MB / 0.6778 GB, free: 45.38 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004737/1.498, allocations: 114.9 kB / 0.6779 GB, free: 45.38 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001577/1.499, allocations: 41.94 kB / 0.6779 GB, free: 45.38 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002045/1.502, allocations: 1.595 MB / 0.6795 GB, free: 45.36 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1076/1.609, allocations: 78.11 MB / 0.7558 GB, free: 31.2 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006971/1.616, allocations: 5.435 MB / 0.7611 GB, free: 28.43 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004857/1.621, allocations: 3.884 MB / 0.7649 GB, free: 26.66 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002518/1.624, allocations: 2.849 MB / 0.7677 GB, free: 24.19 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.55e-05/1.624, allocations: 75.27 kB / 0.7677 GB, free: 24.12 MB / 427.1 MB Notification: Performance of pre-optimization done (n=314): time 6.672e-06/1.624, allocations: 0 / 0.7677 GB, free: 24.12 MB / 427.1 MB Notification: Performance of matching and sorting (n=415): time 0.1097/1.733, allocations: 40.66 MB / 0.8074 GB, free: 5.16 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002172/1.734, allocations: 409 kB / 0.8078 GB, free: 4.676 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01517/1.749, allocations: 5.915 MB / 0.8136 GB, free: 15.53 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009966/1.75, allocations: 29.7 kB / 0.8136 GB, free: 15.49 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005682/1.756, allocations: 5.876 MB / 0.8194 GB, free: 10.16 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0025/1.758, allocations: 1.455 MB / 0.8208 GB, free: 8.84 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001643/1.76, allocations: 1.875 kB / 0.8208 GB, free: 8.84 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.001228/1.761, allocations: 0.7086 MB / 0.8215 GB, free: 8.242 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007316/1.768, allocations: 3.987 MB / 0.8254 GB, free: 4.625 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2749/2.043, allocations: 9.084 MB / 0.8342 GB, free: 85.91 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/2.053, allocations: 5.946 MB / 0.8401 GB, free: 85.86 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002326/2.054, allocations: 51.19 kB / 0.8401 GB, free: 85.86 MB / 443.1 MB Notification: Performance of matching and sorting (n=1244) (initialization): time 0.03752/2.091, allocations: 16.02 MB / 0.8557 GB, free: 85.3 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000289/2.091, allocations: 84.84 kB / 0.8558 GB, free: 85.3 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004688/2.092, allocations: 179.9 kB / 0.856 GB, free: 85.3 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0157/2.108, allocations: 4.552 MB / 0.8604 GB, free: 85.27 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008335/2.116, allocations: 2.019 MB / 0.8624 GB, free: 85.1 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03414/2.15, allocations: 23.44 MB / 0.8853 GB, free: 80.36 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009965/2.16, allocations: 374.2 kB / 0.8857 GB, free: 80.35 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002574/2.163, allocations: 0.5309 MB / 0.8862 GB, free: 80.27 MB / 443.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 815 * Number of states: 0 () * Number of discrete variables: 70 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1092): * Single equations (assignments): 1087 * Array equations: 4 * 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 {(3,77.8%) 124} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00344/2.166, allocations: 0.5805 MB / 0.8868 GB, free: 79.92 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001938/2.168, allocations: 0.6796 MB / 0.8874 GB, free: 79.92 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02188/2.19, allocations: 10.5 MB / 0.8977 GB, free: 76.23 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.549e-05/2.19, allocations: 45.22 kB / 0.8977 GB, free: 76.23 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.407e-05/2.19, allocations: 21.5 kB / 0.8977 GB, free: 76.23 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001074/2.19, allocations: 23.05 kB / 0.8978 GB, free: 76.23 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05094/2.241, allocations: 22.13 MB / 0.9194 GB, free: 67.81 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.521e-05/2.242, allocations: 12.66 kB / 0.9194 GB, free: 67.81 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002936/2.245, allocations: 0.5304 MB / 0.9199 GB, free: 67.77 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01364/2.258, allocations: 4.04 MB / 0.9238 GB, free: 66.84 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001176/2.259, allocations: 21.17 kB / 0.9239 GB, free: 66.84 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03051/2.29, allocations: 20.29 MB / 0.9437 GB, free: 52.37 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/2.29, allocations: 16.88 kB / 0.9437 GB, free: 52.35 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02872/2.319, allocations: 17.21 MB / 0.9605 GB, free: 37.15 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004403/2.323, allocations: 1.339 MB / 0.9618 GB, free: 35.9 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002662/2.326, allocations: 11.61 kB / 0.9618 GB, free: 35.89 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004867/2.331, allocations: 188.2 kB / 0.962 GB, free: 35.79 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001297/2.332, allocations: 298.1 kB / 0.9623 GB, free: 35.59 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007332/2.333, allocations: 111 kB / 0.9624 GB, free: 35.49 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.009599/2.342, allocations: 4.13 MB / 0.9664 GB, free: 31.93 MB / 443.1 MB Notification: Performance of sort global known variables: time 2.9e-07/2.342, allocations: 4 kB / 0.9664 GB, free: 31.93 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.01373/2.356, allocations: 1.929 MB / 0.9683 GB, free: 30.01 MB / 443.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 2 (Inertia.phi,Inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 287 * 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 {(3,77.8%) 108} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001413/2.358, allocations: 209.2 kB / 0.9685 GB, free: 29.84 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.01633/2.374, allocations: 10.04 MB / 0.9783 GB, free: 20.64 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/2.374, allocations: 0 / 0.9783 GB, free: 20.64 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006389/2.38, allocations: 4.245 MB / 0.9825 GB, free: 16.75 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0068/2.387, allocations: 0.917 MB / 0.9834 GB, free: 16.01 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2852/2.673, allocations: 17.76 MB / 1.001 GB, free: 81.13 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01158/2.684, allocations: 6.56 MB / 1.007 GB, free: 80.21 MB / 443.1 MB Notification: Performance of simCode: alias equations: time 0.01023/2.694, allocations: 3.014 MB / 1.01 GB, free: 80.14 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001657/2.696, allocations: 421.6 kB / 1.01 GB, free: 80.14 MB / 443.1 MB Notification: Performance of SimCode: time 1.833e-06/2.696, allocations: 0 / 1.01 GB, free: 80.14 MB / 443.1 MB Notification: Performance of Templates: time 0.147/2.843, allocations: 85.59 MB / 1.094 GB, free: 45.68 MB / 443.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1)