Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001459/0.001459, allocations: 183.8 kB / 8.354 MB, free: 0.7305 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.445/1.445, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.00166/0.001659, allocations: 116.3 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.776e-05/1.778e-05, allocations: 4 kB / 298.1 MB, free: 35.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08268/0.08272, allocations: 44.5 MB / 342.6 MB, free: 6.992 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3229/0.4056, allocations: 91.5 MB / 434.1 MB, free: 7.25 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.4059, allocations: 89.19 kB / 434.2 MB, free: 7.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6442/1.05, allocations: 161.9 MB / 0.5821 GB, free: 66.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.05, allocations: 0 / 0.5821 GB, free: 66.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0007459/1.051, allocations: 162.9 kB / 0.5822 GB, free: 66.02 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: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.0252/1.076, allocations: 8.178 MB / 0.5902 GB, free: 62.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.076, allocations: 11.12 kB / 0.5902 GB, free: 62.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.062/1.138, allocations: 16.56 MB / 0.6064 GB, free: 62.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03319/1.171, allocations: 13.74 MB / 0.6198 GB, free: 60.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007035/1.172, allocations: 240.4 kB / 0.62 GB, free: 59.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004521/1.177, allocations: 470.4 kB / 0.6205 GB, free: 59.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02002/1.197, allocations: 9.871 MB / 0.6301 GB, free: 49.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03255/1.229, allocations: 14.78 MB / 0.6446 GB, free: 34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005987/1.23, allocations: 115 kB / 0.6447 GB, free: 33.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002965/1.233, allocations: 43.38 kB / 0.6447 GB, free: 33.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002152/1.235, allocations: 1.527 MB / 0.6462 GB, free: 32.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3546/1.59, allocations: 72.58 MB / 0.7171 GB, free: 37.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007433/1.597, allocations: 5.396 MB / 0.7224 GB, free: 36.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003762/1.601, allocations: 3.82 MB / 0.7261 GB, free: 36.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/1.602, allocations: 1.381 MB / 0.7274 GB, free: 35.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/1.602, allocations: 65.12 kB / 0.7275 GB, free: 35.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=299): time 6.172e-06/1.602, allocations: 0 / 0.7275 GB, free: 35.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=371): time 0.08558/1.688, allocations: 35.79 MB / 0.7624 GB, free: 30.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/1.688, allocations: 398.8 kB / 0.7628 GB, free: 29.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009749/1.698, allocations: 5.634 MB / 0.7683 GB, free: 27.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001052/1.699, allocations: 28.98 kB / 0.7684 GB, free: 27.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003624/1.703, allocations: 5.475 MB / 0.7737 GB, free: 23.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00227/1.705, allocations: 1.308 MB / 0.775 GB, free: 22.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00053/1.705, allocations: 0 / 0.775 GB, free: 22.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004933/1.706, allocations: 0.6864 MB / 0.7757 GB, free: 22.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005294/1.711, allocations: 3.35 MB / 0.7789 GB, free: 21.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006484/1.718, allocations: 8.294 MB / 0.787 GB, free: 13.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007029/1.725, allocations: 5.191 MB / 0.7921 GB, free: 11.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000118/1.725, allocations: 48.69 kB / 0.7921 GB, free: 11.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.02635/1.751, allocations: 13.79 MB / 0.8056 GB, free: 1.043 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/1.751, allocations: 80 kB / 0.8057 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002813/1.752, allocations: 175.9 kB / 0.8059 GB, free: 0.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01276/1.764, allocations: 3.823 MB / 0.8096 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006979/1.771, allocations: 1.913 MB / 0.8115 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03168/1.803, allocations: 22.22 MB / 0.8332 GB, free: 9.285 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008856/1.812, allocations: 332.4 kB / 0.8335 GB, free: 9.023 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00243/1.815, allocations: 0.5023 MB / 0.834 GB, free: 8.531 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * Number of states: 0 () * Number of discrete variables: 69 (Rod3.color[3],Rod3.color[2],Rod3.color[1],Rod1.color[3],Rod1.color[2],Rod1.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.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 (1030): * Single equations (assignments): 1024 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,64.1%) 98,(1,100.0%) 4} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.003204/1.818, allocations: 0.5557 MB / 0.8345 GB, free: 7.977 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001955/1.82, allocations: 0.6555 MB / 0.8351 GB, free: 7.316 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01742/1.837, allocations: 8.498 MB / 0.8434 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001379/1.837, allocations: 39.95 kB / 0.8435 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.478e-05/1.837, allocations: 20 kB / 0.8435 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.997e-05/1.837, allocations: 21.58 kB / 0.8435 GB, free: 0.543 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03807/1.876, allocations: 18.23 MB / 0.8613 GB, free: 1.973 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.002e-05/1.876, allocations: 8 kB / 0.8613 GB, free: 1.965 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/1.878, allocations: 460.9 kB / 0.8618 GB, free: 1.586 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2826/2.161, allocations: 3.602 MB / 0.8653 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009602/2.162, allocations: 13.94 kB / 0.8653 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02877/2.19, allocations: 21.54 MB / 0.8863 GB, free: 105.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/2.191, allocations: 15.22 kB / 0.8863 GB, free: 105.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02105/2.212, allocations: 14.58 MB / 0.9006 GB, free: 103.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003563/2.215, allocations: 1.189 MB / 0.9017 GB, free: 103.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001578/2.217, allocations: 13 kB / 0.9018 GB, free: 103.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003547/2.22, allocations: 162.6 kB / 0.9019 GB, free: 103.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008613/2.221, allocations: 263 kB / 0.9022 GB, free: 103.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002713/2.222, allocations: 109.3 kB / 0.9023 GB, free: 103.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007446/2.229, allocations: 3.934 MB / 0.9061 GB, free: 102.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.022e-06/2.229, allocations: 0 / 0.9061 GB, free: 102.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01115/2.24, allocations: 1.754 MB / 0.9078 GB, free: 102.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (248): * Single equations (assignments): 242 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,64.1%) 93,(1,100.0%) 4} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001168/2.241, allocations: 168.5 kB / 0.908 GB, free: 102.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01512/2.256, allocations: 8.975 MB / 0.9167 GB, free: 99.35 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/2.257, allocations: 5.359 kB / 0.9168 GB, free: 99.35 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005769/2.262, allocations: 3.938 MB / 0.9206 GB, free: 97.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005991/2.268, allocations: 0.8665 MB / 0.9214 GB, free: 97.37 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03025/2.299, allocations: 15.16 MB / 0.9363 GB, free: 91.99 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007842/2.307, allocations: 5.932 MB / 0.942 GB, free: 90.16 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007734/2.314, allocations: 2.838 MB / 0.9448 GB, free: 90.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/2.315, allocations: 403.1 kB / 0.9452 GB, free: 90.09 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/2.315, allocations: 3.469 kB / 0.9452 GB, free: 90.09 MB / 458.7 MB Notification: Performance of Templates: time 0.1151/2.431, allocations: 75.43 MB / 1.019 GB, free: 28.72 MB / 458.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1)