Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.Engine1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8345/0.8345, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002304/0.002304, allocations: 151.5 kB / 149.1 MB, free: 0.9609 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.318e-05/2.322e-05, allocations: 0 / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05165/0.05169, allocations: 25.18 MB / 205.4 MB, free: 8.422 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2088/0.2606, allocations: 50.02 MB / 255.4 MB, free: 16.69 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/0.2608, allocations: 75.41 kB / 255.5 MB, free: 16.69 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9614/1.222, allocations: 269.7 MB / 0.5129 GB, free: 2.234 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.033e-06/1.222, allocations: 0 / 0.5129 GB, free: 2.234 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0007493/1.223, allocations: 188 kB / 0.5131 GB, free: 2.051 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3032 * Number of variables: 3032 Notification: Performance of Generate backend data structure: time 0.2392/1.462, allocations: 11.9 MB / 0.5247 GB, free: 17.13 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/1.462, allocations: 15.59 kB / 0.5247 GB, free: 17.13 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.178/1.64, allocations: 40.51 MB / 0.5643 GB, free: 16.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0399/1.68, allocations: 15.72 MB / 0.5796 GB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009396/1.681, allocations: 0.6614 MB / 0.5803 GB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008368/1.69, allocations: 0.8836 MB / 0.5811 GB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07658/1.766, allocations: 26.27 MB / 0.6068 GB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008128/1.767, allocations: 87.41 kB / 0.6069 GB, free: 2.961 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007271/1.774, allocations: 402 kB / 0.6073 GB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.05055/1.825, allocations: 11.16 MB / 0.6182 GB, free: 7.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3579/2.183, allocations: 25.88 MB / 0.6434 GB, free: 42.27 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7142/2.897, allocations: 161.2 MB / 0.8009 GB, free: 14.51 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02131/2.918, allocations: 9.803 MB / 0.8104 GB, free: 8.414 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006942/2.926, allocations: 5.635 MB / 0.8159 GB, free: 5.023 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09632/3.022, allocations: 31.65 MB / 0.8469 GB, free: 7.945 MB / 314.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.921e-05/3.022, allocations: 68.5 kB / 0.8469 GB, free: 7.871 MB / 314.8 MB Notification: Performance of pre-optimization done (n=341): time 6.772e-06/3.022, allocations: 0 / 0.8469 GB, free: 7.871 MB / 314.8 MB Notification: Performance of matching and sorting (n=404): time 0.3189/3.341, allocations: 38.39 MB / 0.8844 GB, free: 68.95 MB / 314.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/3.341, allocations: 405 kB / 0.8848 GB, free: 68.51 MB / 314.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01268/3.354, allocations: 7.624 MB / 0.8922 GB, free: 67.77 MB / 314.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001144/3.355, allocations: 88.94 kB / 0.8923 GB, free: 67.74 MB / 314.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003854/3.359, allocations: 6.411 MB / 0.8986 GB, free: 64.5 MB / 314.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001924/3.361, allocations: 1.501 MB / 0.9001 GB, free: 63.62 MB / 314.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009395/3.362, allocations: 206.7 kB / 0.9003 GB, free: 63.62 MB / 314.8 MB Notification: Performance of setup shared object (initialization): time 0.0004497/3.362, allocations: 0.7529 MB / 0.901 GB, free: 63.3 MB / 314.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006704/3.369, allocations: 5.183 MB / 0.9061 GB, free: 63.28 MB / 314.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00935/3.378, allocations: 11.26 MB / 0.9171 GB, free: 53.75 MB / 314.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008548/3.387, allocations: 6.785 MB / 0.9237 GB, free: 51.6 MB / 314.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/3.387, allocations: 60 kB / 0.9237 GB, free: 51.6 MB / 314.8 MB Notification: Performance of matching and sorting (n=1385) (initialization): time 0.03621/3.423, allocations: 19.94 MB / 0.9432 GB, free: 39.27 MB / 314.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001866/3.423, allocations: 99.95 kB / 0.9433 GB, free: 39.17 MB / 314.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002726/3.424, allocations: 208 kB / 0.9435 GB, free: 38.96 MB / 314.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01481/3.438, allocations: 5.055 MB / 0.9484 GB, free: 35.43 MB / 314.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008087/3.447, allocations: 2.384 MB / 0.9508 GB, free: 33.4 MB / 314.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2189/3.666, allocations: 27.3 MB / 0.9774 GB, free: 58.46 MB / 314.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.017/3.683, allocations: 1.899 MB / 0.9793 GB, free: 58.46 MB / 314.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003054/3.686, allocations: 0.7951 MB / 0.9801 GB, free: 58.46 MB / 314.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 967 * Number of states: 0 () * Number of discrete variables: 63 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[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],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.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 (1231): * Single equations (assignments): 1216 * 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 {(7,55.1%) 94,(2,100.0%) 6} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0042/3.69, allocations: 0.9046 MB / 0.9809 GB, free: 58.25 MB / 314.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002122/3.692, allocations: 0.7643 MB / 0.9817 GB, free: 58.25 MB / 314.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02345/3.716, allocations: 10.71 MB / 0.9921 GB, free: 57.96 MB / 314.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01084/3.726, allocations: 2.483 MB / 0.9946 GB, free: 57.96 MB / 314.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001044/3.727, allocations: 21.81 kB / 0.9946 GB, free: 57.96 MB / 314.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001449/3.727, allocations: 23.02 kB / 0.9946 GB, free: 57.96 MB / 314.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08446/3.811, allocations: 33.19 MB / 1.027 GB, free: 51.51 MB / 314.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-05/3.811, allocations: 8.281 kB / 1.027 GB, free: 51.51 MB / 314.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002512/3.814, allocations: 495.5 kB / 1.028 GB, free: 51.5 MB / 314.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01441/3.828, allocations: 4.581 MB / 1.032 GB, free: 50.67 MB / 314.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001118/3.829, allocations: 148.7 kB / 1.032 GB, free: 50.62 MB / 314.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03041/3.86, allocations: 25.32 MB / 1.057 GB, free: 35.23 MB / 314.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/3.86, allocations: 11.47 kB / 1.057 GB, free: 35.22 MB / 314.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.031/3.891, allocations: 19.84 MB / 1.076 GB, free: 17.02 MB / 314.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2099/4.101, allocations: 1.721 MB / 1.078 GB, free: 60.16 MB / 314.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003356/4.104, allocations: 68.97 kB / 1.078 GB, free: 60.16 MB / 314.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01249/4.117, allocations: 1.469 MB / 1.079 GB, free: 60.16 MB / 314.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001616/4.118, allocations: 273.2 kB / 1.08 GB, free: 60.16 MB / 314.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008704/4.119, allocations: 263.8 kB / 1.08 GB, free: 60.16 MB / 314.8 MB Notification: Performance of sorting global known variables: time 0.01257/4.132, allocations: 5.46 MB / 1.085 GB, free: 59.87 MB / 314.8 MB Notification: Performance of sort global known variables: time 3.01e-07/4.132, allocations: 0 / 1.085 GB, free: 59.87 MB / 314.8 MB Notification: Performance of remove unused functions: time 0.01391/4.146, allocations: 2.39 MB / 1.088 GB, free: 59.87 MB / 314.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (261): * Single equations (assignments): 246 * 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 {(7,55.1%) 87,(2,100.0%) 4} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001692/4.148, allocations: 225.3 kB / 1.088 GB, free: 59.79 MB / 314.8 MB Notification: Performance of simCode: created initialization part: time 0.02259/4.17, allocations: 12.97 MB / 1.1 GB, free: 59.29 MB / 314.8 MB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/4.17, allocations: 3.312 kB / 1.1 GB, free: 59.29 MB / 314.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008895/4.179, allocations: 5.345 MB / 1.106 GB, free: 58.82 MB / 314.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007111/4.186, allocations: 1.007 MB / 1.107 GB, free: 58.78 MB / 314.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04179/4.228, allocations: 18.9 MB / 1.125 GB, free: 55.39 MB / 314.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01136/4.239, allocations: 6.743 MB / 1.132 GB, free: 53.57 MB / 314.8 MB Notification: Performance of simCode: alias equations: time 0.01266/4.252, allocations: 3.764 MB / 1.135 GB, free: 53.49 MB / 314.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003744/4.256, allocations: 0.8215 MB / 1.136 GB, free: 53.41 MB / 314.8 MB Notification: Performance of SimCode: time 1.122e-06/4.256, allocations: 0 / 1.136 GB, free: 53.41 MB / 314.8 MB Notification: Performance of Templates: time 0.3673/4.623, allocations: 115.1 MB / 1.249 GB, free: 47.85 MB / 314.8 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1)