Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.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.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009835/0.0009835, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.211/1.211, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001643/0.001643, allocations: 106.8 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.14e-05/2.142e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06852/0.06855, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3204/0.389, allocations: 98.08 MB / 405.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.3893, allocations: 86.08 kB / 405.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6167/1.006, allocations: 182.5 MB / 0.5745 GB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.006, allocations: 0 / 0.5745 GB, free: 13.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000658/1.007, allocations: 184 kB / 0.5747 GB, free: 13.34 MB / 346.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.02979/1.036, allocations: 9.149 MB / 0.5836 GB, free: 4.102 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.037, allocations: 8.031 kB / 0.5836 GB, free: 4.094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.462/1.499, allocations: 16.66 MB / 0.5999 GB, free: 29.93 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03411/1.533, allocations: 14.59 MB / 0.6141 GB, free: 29.23 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005618/1.533, allocations: 0.6232 MB / 0.6147 GB, free: 29.21 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004427/1.538, allocations: 0.8596 MB / 0.6156 GB, free: 29.2 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04433/1.582, allocations: 19.25 MB / 0.6344 GB, free: 25.55 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005432/1.583, allocations: 108.2 kB / 0.6345 GB, free: 25.53 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002385/1.585, allocations: 393.2 kB / 0.6348 GB, free: 25.53 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002142/1.587, allocations: 1.605 MB / 0.6364 GB, free: 25.52 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03342/1.621, allocations: 15.35 MB / 0.6514 GB, free: 22.38 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1033/1.724, allocations: 80.61 MB / 0.7301 GB, free: 2.273 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2904/2.014, allocations: 8.866 MB / 0.7388 GB, free: 71.14 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005978/2.02, allocations: 4.001 MB / 0.7427 GB, free: 71.1 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02609/2.047, allocations: 14.11 MB / 0.7565 GB, free: 67.64 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.505e-05/2.047, allocations: 71.47 kB / 0.7565 GB, free: 67.6 MB / 394.8 MB Notification: Performance of pre-optimization done (n=308): time 6.502e-06/2.047, allocations: 0 / 0.7565 GB, free: 67.6 MB / 394.8 MB Notification: Performance of matching and sorting (n=408): time 0.1238/2.171, allocations: 38.06 MB / 0.7937 GB, free: 62.8 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/2.171, allocations: 406.1 kB / 0.7941 GB, free: 62.36 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01158/2.182, allocations: 6.578 MB / 0.8005 GB, free: 61.67 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001077/2.184, allocations: 94.73 kB / 0.8006 GB, free: 61.64 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004107/2.188, allocations: 5.856 MB / 0.8063 GB, free: 57.7 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002045/2.19, allocations: 1.487 MB / 0.8078 GB, free: 56.59 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006795/2.19, allocations: 187.5 kB / 0.808 GB, free: 56.45 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0004094/2.191, allocations: 0.6946 MB / 0.8086 GB, free: 55.97 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005327/2.196, allocations: 4.095 MB / 0.8126 GB, free: 54.39 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00878/2.205, allocations: 9.113 MB / 0.8215 GB, free: 46.15 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009119/2.214, allocations: 6.066 MB / 0.8275 GB, free: 44.1 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001656/2.214, allocations: 50.31 kB / 0.8275 GB, free: 44.1 MB / 394.8 MB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.03505/2.249, allocations: 17.08 MB / 0.8442 GB, free: 31.84 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/2.25, allocations: 76.78 kB / 0.8442 GB, free: 31.77 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002059/2.25, allocations: 179.9 kB / 0.8444 GB, free: 31.59 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01365/2.263, allocations: 4.703 MB / 0.849 GB, free: 28.15 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006805/2.27, allocations: 1.961 MB / 0.8509 GB, free: 26.43 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03365/2.304, allocations: 25.11 MB / 0.8754 GB, free: 4.867 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/2.314, allocations: 0.5343 MB / 0.876 GB, free: 4.414 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002331/2.317, allocations: 0.5145 MB / 0.8765 GB, free: 3.902 MB / 394.8 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.2981/2.615, allocations: 0.874 MB / 0.8773 GB, free: 59.18 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003029/2.618, allocations: 0.7084 MB / 0.878 GB, free: 59.18 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02758/2.646, allocations: 10.87 MB / 0.8886 GB, free: 58.91 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001586/2.646, allocations: 49.27 kB / 0.8887 GB, free: 58.91 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.376e-05/2.646, allocations: 21.88 kB / 0.8887 GB, free: 58.91 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.833e-05/2.646, allocations: 18.39 kB / 0.8887 GB, free: 58.91 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06034/2.706, allocations: 23.7 MB / 0.9119 GB, free: 57.57 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-05/2.706, allocations: 10.22 kB / 0.9119 GB, free: 57.57 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002634/2.709, allocations: 0.5158 MB / 0.9124 GB, free: 57.57 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01307/2.722, allocations: 4.148 MB / 0.9164 GB, free: 57.55 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009961/2.723, allocations: 83.38 kB / 0.9165 GB, free: 57.55 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03116/2.754, allocations: 21.83 MB / 0.9378 GB, free: 50.49 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/2.754, allocations: 13.28 kB / 0.9378 GB, free: 50.49 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03014/2.785, allocations: 17.5 MB / 0.9549 GB, free: 42.58 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005977/2.791, allocations: 1.372 MB / 0.9563 GB, free: 42.07 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00315/2.794, allocations: 76.62 kB / 0.9563 GB, free: 42.02 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006218/2.8, allocations: 249.6 kB / 0.9566 GB, free: 41.97 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001837/2.802, allocations: 283.3 kB / 0.9568 GB, free: 41.93 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008562/2.803, allocations: 120.2 kB / 0.957 GB, free: 41.9 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.01302/2.816, allocations: 4.731 MB / 0.9616 GB, free: 40.27 MB / 394.8 MB Notification: Performance of sort global known variables: time 2.204e-06/2.816, allocations: 0 / 0.9616 GB, free: 40.27 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01529/2.831, allocations: 2.207 MB / 0.9637 GB, free: 40.05 MB / 394.8 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.001723/2.833, allocations: 260.5 kB / 0.964 GB, free: 39.91 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.01889/2.852, allocations: 10.45 MB / 0.9742 GB, free: 33.68 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.866e-05/2.852, allocations: 0 / 0.9742 GB, free: 33.68 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007843/2.86, allocations: 4.362 MB / 0.9784 GB, free: 29.73 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0096/2.87, allocations: 1.052 MB / 0.9795 GB, free: 28.87 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0507/2.92, allocations: 17.9 MB / 0.997 GB, free: 13.19 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01613/2.936, allocations: 6.564 MB / 1.003 GB, free: 8.43 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.01202/2.949, allocations: 2.94 MB / 1.006 GB, free: 6.633 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002304/2.951, allocations: 434.7 kB / 1.007 GB, free: 6.215 MB / 394.8 MB Notification: Performance of SimCode: time 2.064e-06/2.951, allocations: 0 / 1.007 GB, free: 6.215 MB / 394.8 MB Notification: Performance of Templates: time 0.4511/3.402, allocations: 93.07 MB / 1.098 GB, free: 55.25 MB / 410.8 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1)