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.7985/0.7985, allocations: 110.8 MB / 118.3 MB, free: 14.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001615/0.001615, allocations: 163.3 kB / 144 MB, free: 4.797 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.344e-05, allocations: 0 / 173.9 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04941/0.04945, allocations: 25.19 MB / 199 MB, free: 13.69 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/0.2498, allocations: 60.21 MB / 259.2 MB, free: 18.83 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.2501, allocations: 78.2 kB / 259.3 MB, free: 18.82 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9439/1.194, allocations: 273.3 MB / 0.5201 GB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.754e-06/1.194, allocations: 0 / 0.5201 GB, free: 4.402 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.001132/1.195, allocations: 212 kB / 0.5203 GB, free: 4.195 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.3888/1.584, allocations: 12.77 MB / 0.5328 GB, free: 12.05 MB / 250.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.584, allocations: 9.406 kB / 0.5328 GB, free: 12.05 MB / 250.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1641/1.748, allocations: 38.14 MB / 0.57 GB, free: 11 MB / 250.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04198/1.79, allocations: 16.59 MB / 0.5862 GB, free: 9.602 MB / 250.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000727/1.791, allocations: 335.5 kB / 0.5865 GB, free: 9.438 MB / 250.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007382/1.798, allocations: 0.5984 MB / 0.5871 GB, free: 8.855 MB / 250.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05108/1.849, allocations: 22.5 MB / 0.6091 GB, free: 11.95 MB / 266.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06999/1.919, allocations: 25.27 MB / 0.6338 GB, free: 1.852 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000867/1.92, allocations: 84.17 kB / 0.6339 GB, free: 1.793 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006679/1.927, allocations: 28 kB / 0.6339 GB, free: 1.766 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2415/2.169, allocations: 10.28 MB / 0.6439 GB, free: 42.23 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.668/2.837, allocations: 156.4 MB / 0.7966 GB, free: 16.66 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007795/2.844, allocations: 7.411 MB / 0.8039 GB, free: 15.78 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005312/2.85, allocations: 5.313 MB / 0.809 GB, free: 15.66 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002117/2.852, allocations: 2.869 MB / 0.8119 GB, free: 13.29 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/2.852, allocations: 104.4 kB / 0.812 GB, free: 13.24 MB / 282.8 MB Notification: Performance of pre-optimization done (n=447): time 9.197e-06/2.852, allocations: 2.844 kB / 0.812 GB, free: 13.24 MB / 282.8 MB Notification: Performance of matching and sorting (n=550): time 0.3015/3.154, allocations: 57.42 MB / 0.868 GB, free: 67.11 MB / 314.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/3.154, allocations: 0.6069 MB / 0.8686 GB, free: 66.42 MB / 314.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01285/3.167, allocations: 6.764 MB / 0.8752 GB, free: 65.91 MB / 314.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001515/3.168, allocations: 29.52 kB / 0.8753 GB, free: 65.88 MB / 314.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004582/3.173, allocations: 6.723 MB / 0.8818 GB, free: 63.35 MB / 314.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002437/3.175, allocations: 1.903 MB / 0.8837 GB, free: 62.16 MB / 314.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/3.176, allocations: 3.75 kB / 0.8837 GB, free: 62.16 MB / 314.8 MB Notification: Performance of setup shared object (initialization): time 0.0005961/3.177, allocations: 0.8077 MB / 0.8845 GB, free: 61.83 MB / 314.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00735/3.184, allocations: 5.629 MB / 0.89 GB, free: 61.8 MB / 314.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009736/3.194, allocations: 11.81 MB / 0.9015 GB, free: 53.89 MB / 314.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00934/3.203, allocations: 7.422 MB / 0.9087 GB, free: 53.82 MB / 314.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001463/3.204, allocations: 66.84 kB / 0.9088 GB, free: 53.82 MB / 314.8 MB Notification: Performance of matching and sorting (n=1542) (initialization): time 0.03528/3.239, allocations: 19.33 MB / 0.9277 GB, free: 48.63 MB / 314.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002065/3.239, allocations: 97.94 kB / 0.9278 GB, free: 48.63 MB / 314.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005322/3.24, allocations: 348.5 kB / 0.9281 GB, free: 48.59 MB / 314.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01307/3.253, allocations: 4.443 MB / 0.9324 GB, free: 47.69 MB / 314.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009169/3.262, allocations: 2.604 MB / 0.935 GB, free: 47.39 MB / 314.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007529/3.27, allocations: 7.185 MB / 0.942 GB, free: 44.16 MB / 314.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01687/3.286, allocations: 1.652 MB / 0.9436 GB, free: 44.11 MB / 314.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0034/3.29, allocations: 0.8116 MB / 0.9444 GB, free: 44.01 MB / 314.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 987 * 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 (1362): * Single equations (assignments): 1343 * Array equations: 18 * 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.002981/3.293, allocations: 0.6628 MB / 0.9451 GB, free: 43.48 MB / 314.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002058/3.295, allocations: 0.7674 MB / 0.9458 GB, free: 43.05 MB / 314.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01703/3.312, allocations: 10.31 MB / 0.9559 GB, free: 35.66 MB / 314.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02117/3.333, allocations: 10.59 MB / 0.9662 GB, free: 27.2 MB / 314.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-05/3.333, allocations: 4 kB / 0.9662 GB, free: 27.2 MB / 314.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.64e-05/3.333, allocations: 26.94 kB / 0.9662 GB, free: 27.2 MB / 314.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2826/3.616, allocations: 33.51 MB / 0.999 GB, free: 58.59 MB / 314.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.548e-05/3.616, allocations: 19.78 kB / 0.999 GB, free: 58.59 MB / 314.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003372/3.619, allocations: 0.7273 MB / 0.9997 GB, free: 58.59 MB / 314.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01136/3.631, allocations: 3.713 MB / 1.003 GB, free: 58.56 MB / 314.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009162/3.632, allocations: 97.3 kB / 1.003 GB, free: 58.56 MB / 314.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006549/3.638, allocations: 6.178 MB / 1.009 GB, free: 58 MB / 314.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-05/3.638, allocations: 26.72 kB / 1.009 GB, free: 58 MB / 314.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02428/3.663, allocations: 22.08 MB / 1.031 GB, free: 49.2 MB / 314.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004738/3.667, allocations: 1.805 MB / 1.033 GB, free: 48.65 MB / 314.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00193/3.669, allocations: 26.28 kB / 1.033 GB, free: 48.65 MB / 314.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009508/3.679, allocations: 1.319 MB / 1.034 GB, free: 48.65 MB / 314.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006568/3.68, allocations: 342 kB / 1.034 GB, free: 48.59 MB / 314.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005507/3.68, allocations: 297.1 kB / 1.035 GB, free: 48.55 MB / 314.8 MB Notification: Performance of sorting global known variables: time 0.007216/3.687, allocations: 4.681 MB / 1.039 GB, free: 46.86 MB / 314.8 MB Notification: Performance of sort global known variables: time 5.11e-07/3.687, allocations: 0 / 1.039 GB, free: 46.86 MB / 314.8 MB Notification: Performance of remove unused functions: time 0.01114/3.699, allocations: 2.094 MB / 1.041 GB, free: 46.85 MB / 314.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * 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 (410): * Single equations (assignments): 398 * 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.001258/3.7, allocations: 249.3 kB / 1.042 GB, free: 46.74 MB / 314.8 MB Notification: Performance of simCode: created initialization part: time 0.0165/3.716, allocations: 12.64 MB / 1.054 GB, free: 39.73 MB / 314.8 MB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/3.716, allocations: 4 kB / 1.054 GB, free: 39.73 MB / 314.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006517/3.723, allocations: 4.889 MB / 1.059 GB, free: 35.35 MB / 314.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007229/3.73, allocations: 0.9906 MB / 1.06 GB, free: 34.55 MB / 314.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04496/3.775, allocations: 21.06 MB / 1.08 GB, free: 15.98 MB / 314.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1915/3.967, allocations: 8.149 MB / 1.088 GB, free: 52.8 MB / 314.8 MB Notification: Performance of simCode: alias equations: time 0.01397/3.981, allocations: 4.049 MB / 1.092 GB, free: 52.72 MB / 314.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003489/3.984, allocations: 0.8314 MB / 1.093 GB, free: 52.71 MB / 314.8 MB Notification: Performance of SimCode: time 5.91e-07/3.984, allocations: 0 / 1.093 GB, free: 52.71 MB / 314.8 MB Notification: Performance of Templates: time 0.3436/4.328, allocations: 119.2 MB / 1.209 GB, free: 67.43 MB / 330.8 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)