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.001078/0.001079, allocations: 182.8 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.617/1.617, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001589/0.001589, allocations: 112.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.965e-05, allocations: 0 / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08468/0.08473, allocations: 44.5 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3939/0.4787, allocations: 103.8 MB / 453.2 MB, free: 7.961 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.479, allocations: 92.31 kB / 453.3 MB, free: 7.914 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6544/1.133, allocations: 182.4 MB / 0.6209 GB, free: 59.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.825e-06/1.133, allocations: 0 / 0.6209 GB, free: 59.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000729/1.134, allocations: 182.9 kB / 0.621 GB, free: 59.61 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: 2751 * Number of variables: 2751 Notification: Performance of Generate backend data structure: time 0.03062/1.165, allocations: 9.166 MB / 0.63 GB, free: 50.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/1.165, allocations: 8.031 kB / 0.63 GB, free: 50.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06088/1.226, allocations: 16.64 MB / 0.6462 GB, free: 33.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03444/1.26, allocations: 14.6 MB / 0.6605 GB, free: 19.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005946/1.261, allocations: 0.6298 MB / 0.6611 GB, free: 18.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005079/1.266, allocations: 0.8588 MB / 0.6619 GB, free: 17.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05362/1.32, allocations: 19.24 MB / 0.6807 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008541/1.32, allocations: 107 kB / 0.6808 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004565/1.325, allocations: 391.9 kB / 0.6812 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002921/1.328, allocations: 1.604 MB / 0.6828 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3113/1.639, allocations: 15.35 MB / 0.6978 GB, free: 65.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1097/1.749, allocations: 80.54 MB / 0.7764 GB, free: 20.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02123/1.77, allocations: 7.835 MB / 0.7841 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00572/1.776, allocations: 4.003 MB / 0.788 GB, free: 16.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02163/1.798, allocations: 14.11 MB / 0.8018 GB, free: 8.891 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/1.798, allocations: 68.81 kB / 0.8018 GB, free: 8.832 MB / 410.7 MB Notification: Performance of pre-optimization done (n=308): time 4.839e-06/1.798, allocations: 0 / 0.8018 GB, free: 8.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=408): time 0.1324/1.93, allocations: 38.77 MB / 0.8397 GB, free: 4.609 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001983/1.931, allocations: 406.6 kB / 0.8401 GB, free: 4.125 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01403/1.945, allocations: 6.577 MB / 0.8465 GB, free: 14.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001325/1.946, allocations: 85.7 kB / 0.8466 GB, free: 14.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006156/1.952, allocations: 5.852 MB / 0.8523 GB, free: 8.945 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002339/1.955, allocations: 1.492 MB / 0.8537 GB, free: 7.621 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008822/1.956, allocations: 184 kB / 0.8539 GB, free: 7.441 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005922/1.956, allocations: 0.6914 MB / 0.8546 GB, free: 6.852 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006588/1.963, allocations: 4.1 MB / 0.8586 GB, free: 3.086 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3011/2.264, allocations: 9.114 MB / 0.8675 GB, free: 91.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/2.275, allocations: 6.055 MB / 0.8734 GB, free: 91.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002852/2.275, allocations: 50.84 kB / 0.8735 GB, free: 91.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.04122/2.316, allocations: 17.07 MB / 0.8901 GB, free: 90.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003826/2.317, allocations: 80.97 kB / 0.8902 GB, free: 90.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003561/2.317, allocations: 173 kB / 0.8904 GB, free: 90.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0146/2.332, allocations: 4.702 MB / 0.895 GB, free: 90.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006764/2.338, allocations: 1.959 MB / 0.8969 GB, free: 90.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03518/2.374, allocations: 25.11 MB / 0.9214 GB, free: 83.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009178/2.383, allocations: 0.5408 MB / 0.9219 GB, free: 82.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002273/2.385, allocations: 0.5107 MB / 0.9224 GB, free: 82.88 MB / 442.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 () * 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.003136/2.388, allocations: 0.8055 MB / 0.9232 GB, free: 82.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001878/2.39, allocations: 0.7071 MB / 0.9239 GB, free: 82.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02273/2.413, allocations: 10.86 MB / 0.9345 GB, free: 78.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.406e-05/2.413, allocations: 41.06 kB / 0.9346 GB, free: 78.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.355e-05/2.413, allocations: 25.7 kB / 0.9346 GB, free: 78.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001071/2.413, allocations: 22.44 kB / 0.9346 GB, free: 78.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04751/2.461, allocations: 23.71 MB / 0.9578 GB, free: 65.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.682e-05/2.461, allocations: 8.938 kB / 0.9578 GB, free: 65.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002666/2.464, allocations: 0.5183 MB / 0.9583 GB, free: 64.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01258/2.476, allocations: 4.143 MB / 0.9623 GB, free: 61.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009802/2.477, allocations: 82.97 kB / 0.9624 GB, free: 61.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02793/2.505, allocations: 21.84 MB / 0.9837 GB, free: 43.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/2.505, allocations: 8 kB / 0.9837 GB, free: 43.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02695/2.532, allocations: 17.51 MB / 1.001 GB, free: 27.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004202/2.536, allocations: 1.366 MB / 1.002 GB, free: 25.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001903/2.538, allocations: 77.23 kB / 1.002 GB, free: 25.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003785/2.542, allocations: 243.8 kB / 1.002 GB, free: 25.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008297/2.543, allocations: 291 kB / 1.003 GB, free: 25.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002952/2.543, allocations: 109.2 kB / 1.003 GB, free: 25.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008118/2.551, allocations: 4.735 MB / 1.007 GB, free: 20.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.551, allocations: 0 / 1.007 GB, free: 20.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01277/2.564, allocations: 2.198 MB / 1.01 GB, free: 18.36 MB / 442.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 () * 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.00149/2.566, allocations: 264.5 kB / 1.01 GB, free: 18.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2867/2.852, allocations: 10.44 MB / 1.02 GB, free: 85.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.534e-05/2.853, allocations: 4.594 kB / 1.02 GB, free: 85.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008649/2.861, allocations: 4.357 MB / 1.024 GB, free: 85.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006484/2.868, allocations: 1.051 MB / 1.025 GB, free: 85.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04436/2.912, allocations: 17.89 MB / 1.043 GB, free: 82.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01149/2.924, allocations: 6.566 MB / 1.049 GB, free: 81.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009541/2.933, allocations: 2.931 MB / 1.052 GB, free: 81.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00204/2.935, allocations: 437.2 kB / 1.053 GB, free: 81.15 MB / 442.7 MB Notification: Performance of SimCode: time 1.513e-06/2.935, allocations: 0 / 1.053 GB, free: 81.15 MB / 442.7 MB Notification: Performance of Templates: time 0.1629/3.098, allocations: 93.06 MB / 1.143 GB, free: 29.48 MB / 442.7 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)