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.6694/0.6694, allocations: 110.9 MB / 125.9 MB, free: 6.227 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001629/0.001629, allocations: 146.7 kB / 151.8 MB, free: 4.988 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000261/0.000261, allocations: 4 kB / 184.9 MB, free: 3.914 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.119, allocations: 25.16 MB / 210.1 MB, free: 29.69 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05552/0.1746, allocations: 50.12 MB / 260.2 MB, free: 15.66 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.1749, allocations: 79.95 kB / 260.3 MB, free: 15.58 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9903/1.165, allocations: 269.9 MB / 0.5177 GB, free: 16.08 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.165, allocations: 0 / 0.5177 GB, free: 16.08 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0007002/1.166, allocations: 189 kB / 0.5179 GB, free: 16.07 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.04897/1.215, allocations: 13.01 MB / 0.5306 GB, free: 11.9 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.215, allocations: 12.94 kB / 0.5306 GB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.166/1.381, allocations: 40.55 MB / 0.5702 GB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1983/1.579, allocations: 15.78 MB / 0.5856 GB, free: 29.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008421/1.58, allocations: 0.6688 MB / 0.5863 GB, free: 29.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007285/1.588, allocations: 0.8875 MB / 0.5871 GB, free: 29.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1205/1.708, allocations: 38.12 MB / 0.6244 GB, free: 26.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005087/1.709, allocations: 87 kB / 0.6245 GB, free: 26.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003817/1.713, allocations: 392.6 kB / 0.6248 GB, free: 26.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04507/1.758, allocations: 11.15 MB / 0.6357 GB, free: 26.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1023/1.86, allocations: 38.93 MB / 0.6737 GB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8755/2.736, allocations: 161.2 MB / 0.8312 GB, free: 28.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03601/2.772, allocations: 13.31 MB / 0.8442 GB, free: 27.15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08302/2.855, allocations: 31.65 MB / 0.8751 GB, free: 23.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/2.855, allocations: 78.59 kB / 0.8751 GB, free: 23.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=341): time 7.294e-06/2.855, allocations: 0 / 0.8751 GB, free: 23.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=404): time 0.3697/3.224, allocations: 57.06 MB / 0.9309 GB, free: 68.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/3.225, allocations: 403.8 kB / 0.9312 GB, free: 68.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01488/3.24, allocations: 7.751 MB / 0.9388 GB, free: 67.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001258/3.241, allocations: 83.23 kB / 0.9389 GB, free: 67.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004317/3.245, allocations: 6.401 MB / 0.9451 GB, free: 65.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002166/3.247, allocations: 1.501 MB / 0.9466 GB, free: 64.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/3.248, allocations: 211.2 kB / 0.9468 GB, free: 64.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0005386/3.249, allocations: 0.753 MB / 0.9475 GB, free: 64.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02165/3.271, allocations: 8.261 MB / 0.9556 GB, free: 64.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02616/3.297, allocations: 14.33 MB / 0.9696 GB, free: 56.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02078/3.318, allocations: 9.318 MB / 0.9787 GB, free: 56.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002666/3.318, allocations: 61.72 kB / 0.9788 GB, free: 56.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=1385) (initialization): time 0.06678/3.385, allocations: 25.62 MB / 1.004 GB, free: 49.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002195/3.385, allocations: 97.12 kB / 1.004 GB, free: 49.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004091/3.385, allocations: 213.5 kB / 1.004 GB, free: 49.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01444/3.4, allocations: 5.063 MB / 1.009 GB, free: 48.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00823/3.408, allocations: 2.382 MB / 1.011 GB, free: 48.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0329/3.441, allocations: 27.63 MB / 1.038 GB, free: 25.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01792/3.459, allocations: 1.89 MB / 1.04 GB, free: 24.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002991/3.462, allocations: 0.8008 MB / 1.041 GB, free: 23.36 MB / 314.7 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 () * Number of clocked 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.2119/3.674, allocations: 4.201 MB / 1.045 GB, free: 59.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002374/3.676, allocations: 0.7603 MB / 1.046 GB, free: 59.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02724/3.704, allocations: 11.63 MB / 1.057 GB, free: 58.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01085/3.714, allocations: 2.49 MB / 1.06 GB, free: 58.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001096/3.715, allocations: 18.41 kB / 1.06 GB, free: 58.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001183/3.715, allocations: 19.06 kB / 1.06 GB, free: 58.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08534/3.8, allocations: 34.11 MB / 1.093 GB, free: 55.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.6e-05/3.8, allocations: 7.25 kB / 1.093 GB, free: 55.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/3.803, allocations: 484.7 kB / 1.093 GB, free: 55.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01359/3.816, allocations: 4.602 MB / 1.098 GB, free: 55.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001043/3.817, allocations: 139 kB / 1.098 GB, free: 55.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02962/3.847, allocations: 26.25 MB / 1.124 GB, free: 42.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/3.847, allocations: 13.59 kB / 1.124 GB, free: 42.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06592/3.913, allocations: 28.35 MB / 1.151 GB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005468/3.919, allocations: 1.718 MB / 1.153 GB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002523/3.921, allocations: 81.34 kB / 1.153 GB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1828/4.104, allocations: 1.469 MB / 1.155 GB, free: 56.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001623/4.106, allocations: 269.8 kB / 1.155 GB, free: 56.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007212/4.106, allocations: 264.8 kB / 1.155 GB, free: 56.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.01326/4.12, allocations: 5.569 MB / 1.161 GB, free: 56.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.42e-07/4.12, allocations: 1.688 kB / 1.161 GB, free: 56.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.01535/4.135, allocations: 2.388 MB / 1.163 GB, free: 56.4 MB / 314.7 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 () * Number of clocked 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.001552/4.137, allocations: 232.5 kB / 1.163 GB, free: 56.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0502/4.187, allocations: 19.06 MB / 1.182 GB, free: 55.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/4.187, allocations: 2.312 kB / 1.182 GB, free: 55.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02259/4.209, allocations: 8.367 MB / 1.19 GB, free: 55.33 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007317/4.217, allocations: 1.017 MB / 1.191 GB, free: 55.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05726/4.274, allocations: 28.85 MB / 1.219 GB, free: 46.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01052/4.285, allocations: 6.741 MB / 1.226 GB, free: 45.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.01234/4.297, allocations: 3.765 MB / 1.229 GB, free: 43.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003402/4.3, allocations: 0.8226 MB / 1.23 GB, free: 42.98 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/4.3, allocations: 0 / 1.23 GB, free: 42.98 MB / 314.7 MB Notification: Performance of Templates: time 0.3516/4.652, allocations: 115.1 MB / 1.343 GB, free: 27.61 MB / 314.7 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)