Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006001/0.006001, allocations: 166.5 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.23/1.23, allocations: 170.8 MB / 186.6 MB, free: 0.9688 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001672/0.001672, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 12 kB / 274.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2244, allocations: 38.76 MB / 312.9 MB, free: 38.95 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.3418, allocations: 98.18 MB / 411.1 MB, free: 8.309 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.3421, allocations: 95.94 kB / 411.2 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7974/1.139, allocations: 182.3 MB / 0.5796 GB, free: 31.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.235e-06/1.14, allocations: 0 / 0.5796 GB, free: 31.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007973/1.14, allocations: 191.5 kB / 0.5798 GB, free: 31.75 MB / 346.7 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.03926/1.18, allocations: 10.29 MB / 0.5898 GB, free: 27.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/1.18, allocations: 10.22 kB / 0.5898 GB, free: 27.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06048/1.24, allocations: 16.63 MB / 0.6061 GB, free: 27.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03895/1.279, allocations: 14.65 MB / 0.6204 GB, free: 26.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008435/1.28, allocations: 0.6354 MB / 0.621 GB, free: 26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006669/1.287, allocations: 0.8587 MB / 0.6218 GB, free: 25.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05541/1.342, allocations: 19.41 MB / 0.6408 GB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001174/1.343, allocations: 115.2 kB / 0.6409 GB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005743/1.349, allocations: 386.5 kB / 0.6413 GB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003004/1.352, allocations: 1.599 MB / 0.6428 GB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0383/1.391, allocations: 15.59 MB / 0.6581 GB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4031/1.794, allocations: 80.54 MB / 0.7367 GB, free: 38.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02205/1.816, allocations: 7.89 MB / 0.7444 GB, free: 37.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0294/1.845, allocations: 14.1 MB / 0.7582 GB, free: 33.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.528e-05/1.845, allocations: 75.59 kB / 0.7583 GB, free: 33.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=308): time 6.172e-06/1.846, allocations: 0 / 0.7583 GB, free: 33.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=408): time 0.1637/2.009, allocations: 47.58 MB / 0.8047 GB, free: 27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/2.009, allocations: 407.8 kB / 0.8051 GB, free: 26.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01353/2.023, allocations: 6.654 MB / 0.8116 GB, free: 24.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001354/2.024, allocations: 93 kB / 0.8117 GB, free: 24.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005619/2.03, allocations: 5.861 MB / 0.8174 GB, free: 20.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002667/2.033, allocations: 1.473 MB / 0.8189 GB, free: 19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007423/2.033, allocations: 184.8 kB / 0.819 GB, free: 18.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005069/2.034, allocations: 0.6949 MB / 0.8197 GB, free: 18.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005838/2.04, allocations: 4.184 MB / 0.8238 GB, free: 15.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01096/2.051, allocations: 9.201 MB / 0.8328 GB, free: 5.195 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/2.063, allocations: 6.141 MB / 0.8388 GB, free: 20 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003669/2.063, allocations: 78.66 kB / 0.8389 GB, free: 20 kB / 410.7 MB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.3285/2.392, allocations: 17.3 MB / 0.8558 GB, free: 80.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/2.392, allocations: 79.06 kB / 0.8558 GB, free: 80.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002737/2.392, allocations: 180.6 kB / 0.856 GB, free: 80.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01582/2.408, allocations: 4.724 MB / 0.8606 GB, free: 80.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008269/2.416, allocations: 1.961 MB / 0.8625 GB, free: 80.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03664/2.453, allocations: 26.21 MB / 0.8881 GB, free: 75.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009537/2.463, allocations: 0.5356 MB / 0.8886 GB, free: 75.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001856/2.465, allocations: 0.5162 MB / 0.8891 GB, free: 75.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1061): * Single equations (assignments): 1056 * 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,100.0%) 124} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01003/2.475, allocations: 4.086 MB / 0.8931 GB, free: 74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002776/2.477, allocations: 0.7166 MB / 0.8938 GB, free: 74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02365/2.501, allocations: 10.96 MB / 0.9045 GB, free: 69.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.443e-05/2.501, allocations: 43.27 kB / 0.9046 GB, free: 69.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.775e-05/2.501, allocations: 21.12 kB / 0.9046 GB, free: 69.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.179e-05/2.501, allocations: 24.09 kB / 0.9046 GB, free: 69.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04856/2.55, allocations: 23.79 MB / 0.9279 GB, free: 59.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-05/2.55, allocations: 8 kB / 0.9279 GB, free: 59.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002642/2.553, allocations: 0.5217 MB / 0.9284 GB, free: 58.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01285/2.565, allocations: 4.17 MB / 0.9324 GB, free: 55.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006771/2.566, allocations: 78 kB / 0.9325 GB, free: 55.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03092/2.597, allocations: 22.92 MB / 0.9549 GB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/2.597, allocations: 14.78 kB / 0.9549 GB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0303/2.627, allocations: 17.64 MB / 0.9721 GB, free: 20.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005329/2.633, allocations: 1.371 MB / 0.9735 GB, free: 19.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002632/2.636, allocations: 79.31 kB / 0.9736 GB, free: 19.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004906/2.64, allocations: 252.1 kB / 0.9738 GB, free: 19.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001085/2.642, allocations: 278.4 kB / 0.9741 GB, free: 18.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005005/2.642, allocations: 115.1 kB / 0.9742 GB, free: 18.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01076/2.653, allocations: 4.802 MB / 0.9789 GB, free: 14.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/2.653, allocations: 0 / 0.9789 GB, free: 14.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0136/2.667, allocations: 2.2 MB / 0.981 GB, free: 12.74 MB / 410.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 280 * 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.001387/2.668, allocations: 280.4 kB / 0.9813 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.2482/2.916, allocations: 11.04 MB / 0.9921 GB, free: 81.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-05/2.916, allocations: 3 kB / 0.9921 GB, free: 81.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007915/2.924, allocations: 4.428 MB / 0.9964 GB, free: 80.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006821/2.931, allocations: 1.057 MB / 0.9974 GB, free: 80.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05364/2.985, allocations: 24.68 MB / 1.022 GB, free: 71.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01041/2.995, allocations: 6.563 MB / 1.028 GB, free: 71.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008843/3.004, allocations: 2.935 MB / 1.031 GB, free: 70.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/3.005, allocations: 435 kB / 1.031 GB, free: 70.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.753e-06/3.005, allocations: 0 / 1.031 GB, free: 70.95 MB / 410.7 MB Notification: Performance of Templates: time 0.1717/3.177, allocations: 93.12 MB / 1.122 GB, free: 15.24 MB / 410.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1)