Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 1.06/1.06, allocations: 110.8 MB / 123.3 MB, free: 10.79 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002206/0.002206, allocations: 143.5 kB / 149.1 MB, free: 0.9961 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.2e-05/2.201e-05, allocations: 0 / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05188/0.05192, allocations: 25.18 MB / 205.4 MB, free: 8.434 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.2549, allocations: 51.12 MB / 256.5 MB, free: 16.66 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.2551, allocations: 71.22 kB / 256.6 MB, free: 16.66 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.409/1.664, allocations: 274.6 MB / 0.5187 GB, free: 15.57 MB / 250.8 MB Notification: Performance of FrontEnd: time 3.586e-06/1.664, allocations: 1.375 kB / 0.5187 GB, free: 15.57 MB / 250.8 MB Notification: Performance of Transformations before backend: time 0.0008421/1.665, allocations: 199.1 kB / 0.5189 GB, free: 15.57 MB / 250.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3136 * Number of variables: 3136 Notification: Performance of Generate backend data structure: time 0.04942/1.714, allocations: 12.22 MB / 0.5309 GB, free: 13.16 MB / 250.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.714, allocations: 9.844 kB / 0.5309 GB, free: 13.16 MB / 250.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1742/1.888, allocations: 40.57 MB / 0.5705 GB, free: 11.84 MB / 250.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03863/1.927, allocations: 15.98 MB / 0.5861 GB, free: 4.836 MB / 250.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001016/1.928, allocations: 0.6927 MB / 0.5868 GB, free: 4.449 MB / 250.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006817/1.935, allocations: 0.9233 MB / 0.5877 GB, free: 3.844 MB / 250.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06457/1.999, allocations: 26.83 MB / 0.6139 GB, free: 12.27 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007142/2, allocations: 86.2 kB / 0.614 GB, free: 12.21 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005526/2.006, allocations: 419.8 kB / 0.6144 GB, free: 11.86 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04949/2.055, allocations: 11.2 MB / 0.6253 GB, free: 0.6523 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2303/2.286, allocations: 26.28 MB / 0.651 GB, free: 41.83 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7246/3.01, allocations: 162.8 MB / 0.81 GB, free: 7.023 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01979/3.03, allocations: 9.373 MB / 0.8192 GB, free: 36 kB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007964/3.038, allocations: 5.599 MB / 0.8246 GB, free: 12.64 MB / 298.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2766/3.315, allocations: 32.25 MB / 0.8561 GB, free: 70.55 MB / 314.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.022e-05/3.315, allocations: 68.12 kB / 0.8562 GB, free: 70.51 MB / 314.8 MB Notification: Performance of pre-optimization done (n=358): time 7.434e-06/3.315, allocations: 1.438 kB / 0.8562 GB, free: 70.51 MB / 314.8 MB Notification: Performance of matching and sorting (n=444): time 0.1254/3.44, allocations: 40.49 MB / 0.8957 GB, free: 65.16 MB / 314.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/3.44, allocations: 407.8 kB / 0.8961 GB, free: 64.72 MB / 314.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01317/3.454, allocations: 7.807 MB / 0.9037 GB, free: 64.1 MB / 314.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001342/3.455, allocations: 93.27 kB / 0.9038 GB, free: 64.07 MB / 314.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004494/3.459, allocations: 6.605 MB / 0.9103 GB, free: 60.86 MB / 314.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0023/3.462, allocations: 1.637 MB / 0.9119 GB, free: 59.89 MB / 314.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/3.463, allocations: 223.3 kB / 0.9121 GB, free: 59.89 MB / 314.8 MB Notification: Performance of setup shared object (initialization): time 0.000523/3.463, allocations: 0.7795 MB / 0.9129 GB, free: 59.57 MB / 314.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007372/3.471, allocations: 5.249 MB / 0.918 GB, free: 59.21 MB / 314.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01012/3.481, allocations: 11.51 MB / 0.9292 GB, free: 49.01 MB / 314.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00983/3.491, allocations: 6.921 MB / 0.936 GB, free: 44.56 MB / 314.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001572/3.491, allocations: 60 kB / 0.936 GB, free: 44.5 MB / 314.8 MB Notification: Performance of matching and sorting (n=1455) (initialization): time 0.03605/3.527, allocations: 19.15 MB / 0.9547 GB, free: 28.61 MB / 314.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000134/3.527, allocations: 100 kB / 0.9548 GB, free: 28.51 MB / 314.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000288/3.528, allocations: 220.8 kB / 0.955 GB, free: 28.29 MB / 314.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/3.538, allocations: 3.652 MB / 0.9586 GB, free: 25.59 MB / 314.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009181/3.547, allocations: 2.498 MB / 0.9611 GB, free: 23.45 MB / 314.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.28/3.827, allocations: 23.17 MB / 0.9837 GB, free: 55.85 MB / 314.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01763/3.845, allocations: 1.9 MB / 0.9855 GB, free: 55.85 MB / 314.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002955/3.848, allocations: 0.8255 MB / 0.9863 GB, free: 55.85 MB / 314.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 997 * 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 (1301): * Single equations (assignments): 1286 * Array equations: 12 * 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 {(5,72.0%) 101,(1,100.0%) 4} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.002871/3.851, allocations: 0.9469 MB / 0.9873 GB, free: 55.73 MB / 314.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001981/3.853, allocations: 0.7897 MB / 0.988 GB, free: 55.73 MB / 314.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01847/3.871, allocations: 9.717 MB / 0.9975 GB, free: 55.43 MB / 314.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0106/3.882, allocations: 2.49 MB / 1 GB, free: 55.43 MB / 314.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001033/3.882, allocations: 17.88 kB / 1 GB, free: 55.43 MB / 314.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001644/3.882, allocations: 22.38 kB / 1 GB, free: 55.43 MB / 314.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08192/3.964, allocations: 30.3 MB / 1.03 GB, free: 47.63 MB / 314.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.732e-05/3.964, allocations: 7.688 kB / 1.03 GB, free: 47.63 MB / 314.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002955/3.967, allocations: 0.5427 MB / 1.03 GB, free: 47.61 MB / 314.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009613/3.977, allocations: 3.36 MB / 1.033 GB, free: 46.95 MB / 314.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001286/3.978, allocations: 143.7 kB / 1.034 GB, free: 46.89 MB / 314.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02656/4.004, allocations: 22.3 MB / 1.055 GB, free: 30.74 MB / 314.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/4.005, allocations: 14.47 kB / 1.055 GB, free: 30.73 MB / 314.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2295/4.234, allocations: 19.6 MB / 1.074 GB, free: 55.7 MB / 314.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006498/4.241, allocations: 1.761 MB / 1.076 GB, free: 55.61 MB / 314.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002538/4.243, allocations: 80.62 kB / 1.076 GB, free: 55.61 MB / 314.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01147/4.255, allocations: 1.471 MB / 1.078 GB, free: 55.61 MB / 314.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001856/4.257, allocations: 306.7 kB / 1.078 GB, free: 55.61 MB / 314.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001193/4.258, allocations: 276.3 kB / 1.078 GB, free: 55.61 MB / 314.8 MB Notification: Performance of sorting global known variables: time 0.01134/4.269, allocations: 5.58 MB / 1.084 GB, free: 55.32 MB / 314.8 MB Notification: Performance of sort global known variables: time 7.12e-07/4.269, allocations: 0 / 1.084 GB, free: 55.32 MB / 314.8 MB Notification: Performance of remove unused functions: time 0.01754/4.287, allocations: 2.484 MB / 1.086 GB, free: 55.32 MB / 314.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * 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 (303): * Single equations (assignments): 288 * Array equations: 12 * 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 {(9,69.1%) 92,(1,100.0%) 4} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001819/4.289, allocations: 240.2 kB / 1.086 GB, free: 55.23 MB / 314.8 MB Notification: Performance of simCode: created initialization part: time 0.03377/4.322, allocations: 13.03 MB / 1.099 GB, free: 54.73 MB / 314.8 MB Notification: Performance of simCode: created event and clocks part: time 1.838e-05/4.322, allocations: 3.188 kB / 1.099 GB, free: 54.73 MB / 314.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01588/4.338, allocations: 5.493 MB / 1.104 GB, free: 54.22 MB / 314.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01239/4.351, allocations: 1.047 MB / 1.105 GB, free: 54.18 MB / 314.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04006/4.391, allocations: 19.18 MB / 1.124 GB, free: 50.16 MB / 314.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01054/4.401, allocations: 6.988 MB / 1.131 GB, free: 48.12 MB / 314.8 MB Notification: Performance of simCode: alias equations: time 0.01388/4.415, allocations: 4.001 MB / 1.135 GB, free: 48.01 MB / 314.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004145/4.42, allocations: 0.8534 MB / 1.136 GB, free: 47.92 MB / 314.8 MB Notification: Performance of SimCode: time 1.533e-06/4.42, allocations: 0 / 1.136 GB, free: 47.92 MB / 314.8 MB Notification: Performance of Templates: time 0.3885/4.808, allocations: 117 MB / 1.25 GB, free: 39.59 MB / 314.8 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1)