Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.793/0.793, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001718/0.001718, allocations: 155.4 kB / 149.1 MB, free: 0.9531 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.494e-05, allocations: 4 kB / 180.2 MB, free: 17.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05534/0.05538, allocations: 25.17 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2322/0.2876, allocations: 60.88 MB / 266.3 MB, free: 14.13 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.2879, allocations: 82.33 kB / 266.4 MB, free: 14.12 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.208/1.496, allocations: 277.7 MB / 0.5313 GB, free: 8.004 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.325e-06/1.496, allocations: 3.812 kB / 0.5313 GB, free: 8.004 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0007398/1.497, allocations: 212.9 kB / 0.5315 GB, free: 8 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: 3326 * Number of variables: 3326 Notification: Performance of Generate backend data structure: time 0.04763/1.544, allocations: 12.77 MB / 0.544 GB, free: 4.086 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.544, allocations: 14.19 kB / 0.544 GB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1634/1.708, allocations: 38.14 MB / 0.5812 GB, free: 2.621 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04304/1.751, allocations: 16.62 MB / 0.5975 GB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008705/1.752, allocations: 0.7519 MB / 0.5982 GB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007312/1.759, allocations: 1 MB / 0.5992 GB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2882/2.047, allocations: 28.26 MB / 0.6268 GB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008199/2.048, allocations: 84.84 kB / 0.6269 GB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006046/2.054, allocations: 444.3 kB / 0.6273 GB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04322/2.098, allocations: 10.28 MB / 0.6373 GB, free: 16.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0532/2.151, allocations: 27.23 MB / 0.6639 GB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6835/2.834, allocations: 159.3 MB / 0.8195 GB, free: 7.027 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2201/3.055, allocations: 9.845 MB / 0.8291 GB, free: 46.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008658/3.063, allocations: 5.466 MB / 0.8344 GB, free: 45.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08122/3.145, allocations: 32.31 MB / 0.866 GB, free: 40.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.117e-05/3.145, allocations: 79.97 kB / 0.866 GB, free: 40.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=360): time 9.318e-06/3.145, allocations: 3.094 kB / 0.866 GB, free: 40.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=466): time 0.1439/3.289, allocations: 44.7 MB / 0.9097 GB, free: 31.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/3.289, allocations: 413.8 kB / 0.9101 GB, free: 30.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01389/3.303, allocations: 7.859 MB / 0.9178 GB, free: 24.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00129/3.304, allocations: 96.12 kB / 0.9178 GB, free: 23.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00546/3.309, allocations: 6.891 MB / 0.9246 GB, free: 17.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002828/3.312, allocations: 1.705 MB / 0.9262 GB, free: 16.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/3.314, allocations: 223 kB / 0.9265 GB, free: 16.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0005241/3.314, allocations: 0.787 MB / 0.9272 GB, free: 15.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009632/3.324, allocations: 5.953 MB / 0.933 GB, free: 11.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.199/3.523, allocations: 11.81 MB / 0.9446 GB, free: 37.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/3.534, allocations: 7.316 MB / 0.9517 GB, free: 37.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001953/3.534, allocations: 61.56 kB / 0.9518 GB, free: 37.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=1479) (initialization): time 0.0391/3.573, allocations: 20.21 MB / 0.9715 GB, free: 36.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001883/3.574, allocations: 100.7 kB / 0.9716 GB, free: 36.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002595/3.574, allocations: 226.1 kB / 0.9718 GB, free: 36.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0129/3.587, allocations: 4.56 MB / 0.9763 GB, free: 35.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009129/3.596, allocations: 2.521 MB / 0.9787 GB, free: 35.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008292/3.604, allocations: 6.878 MB / 0.9855 GB, free: 33.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01491/3.619, allocations: 1.845 MB / 0.9873 GB, free: 33.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002518/3.622, allocations: 0.8111 MB / 0.9881 GB, free: 33.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 999 * 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 (1311): * Single equations (assignments): 1298 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 124} Notification: Performance of prepare postOptimizeDAE: time 0.003543/3.625, allocations: 0.9503 MB / 0.989 GB, free: 32.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002043/3.627, allocations: 0.8023 MB / 0.9898 GB, free: 32.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01806/3.645, allocations: 9.985 MB / 0.9995 GB, free: 29.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00964/3.655, allocations: 2.301 MB / 1.002 GB, free: 29.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.881e-05/3.655, allocations: 3.875 kB / 1.002 GB, free: 29.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001332/3.655, allocations: 20.48 kB / 1.002 GB, free: 29.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08091/3.736, allocations: 31.72 MB / 1.033 GB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.331e-05/3.736, allocations: 8 kB / 1.033 GB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003011/3.739, allocations: 0.6213 MB / 1.033 GB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01219/3.752, allocations: 3.924 MB / 1.037 GB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001277/3.753, allocations: 145.3 kB / 1.037 GB, free: 6.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2334/3.986, allocations: 6.068 MB / 1.043 GB, free: 36.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/3.986, allocations: 13.66 kB / 1.043 GB, free: 36.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04051/4.027, allocations: 19.82 MB / 1.063 GB, free: 33.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009047/4.036, allocations: 1.817 MB / 1.064 GB, free: 33.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00357/4.04, allocations: 81.59 kB / 1.064 GB, free: 33.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01501/4.055, allocations: 1.429 MB / 1.066 GB, free: 33.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001604/4.056, allocations: 257.9 kB / 1.066 GB, free: 33.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009991/4.057, allocations: 262.8 kB / 1.066 GB, free: 33.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.01785/4.075, allocations: 5.623 MB / 1.072 GB, free: 33.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.062e-06/4.075, allocations: 0 / 1.072 GB, free: 33.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.02053/4.096, allocations: 2.377 MB / 1.074 GB, free: 33.07 MB / 298.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 (326): * Single equations (assignments): 314 * Array equations: 11 * 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: 0 * Non-linear torn systems: 1 {3 108} Notification: Performance of Backend phase and start with SimCode phase: time 0.001617/4.097, allocations: 288.3 kB / 1.074 GB, free: 32.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.01873/4.116, allocations: 12.7 MB / 1.087 GB, free: 29.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/4.116, allocations: 3.062 kB / 1.087 GB, free: 29.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006952/4.123, allocations: 4.734 MB / 1.091 GB, free: 28.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006817/4.13, allocations: 1.094 MB / 1.093 GB, free: 27.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04786/4.178, allocations: 20.86 MB / 1.113 GB, free: 19.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01263/4.191, allocations: 7.438 MB / 1.12 GB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0133/4.204, allocations: 3.984 MB / 1.124 GB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004011/4.208, allocations: 0.824 MB / 1.125 GB, free: 10.75 MB / 298.7 MB Notification: Performance of SimCode: time 1.503e-06/4.208, allocations: 2.516 kB / 1.125 GB, free: 10.75 MB / 298.7 MB Notification: Performance of Templates: time 0.3894/4.597, allocations: 122.3 MB / 1.244 GB, free: 7.723 MB / 314.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1)