Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00135/0.00135, allocations: 179.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.167/1.167, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001529/0.001529, allocations: 112.2 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002932, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0762/0.0765, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2648/0.3414, allocations: 103.9 MB / 458.9 MB, free: 2.035 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.3416, allocations: 97.27 kB / 459 MB, free: 1.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5316/0.8732, allocations: 182.3 MB / 0.6263 GB, free: 37.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.8733, allocations: 0 / 0.6263 GB, free: 37.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.001035/0.8743, allocations: 188 kB / 0.6265 GB, free: 37.25 MB / 394.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.03438/0.9087, allocations: 10.3 MB / 0.6365 GB, free: 26.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.9088, allocations: 8.031 kB / 0.6366 GB, free: 26.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05739/0.9662, allocations: 16.62 MB / 0.6528 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2535/1.22, allocations: 14.65 MB / 0.6671 GB, free: 47.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006828/1.22, allocations: 0.6232 MB / 0.6677 GB, free: 47.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003939/1.224, allocations: 0.8522 MB / 0.6685 GB, free: 47.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04674/1.271, allocations: 19.4 MB / 0.6875 GB, free: 43.51 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007188/1.272, allocations: 111.5 kB / 0.6876 GB, free: 43.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003275/1.275, allocations: 387.5 kB / 0.688 GB, free: 43.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003175/1.278, allocations: 1.6 MB / 0.6895 GB, free: 43.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03568/1.314, allocations: 15.59 MB / 0.7048 GB, free: 43.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1059/1.42, allocations: 80.55 MB / 0.7834 GB, free: 4.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02154/1.442, allocations: 7.879 MB / 0.7911 GB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02957/1.471, allocations: 14.12 MB / 0.8049 GB, free: 4.336 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.637e-05/1.471, allocations: 72.5 kB / 0.805 GB, free: 4.258 MB / 426.7 MB Notification: Performance of pre-optimization done (n=308): time 5.851e-06/1.471, allocations: 0 / 0.805 GB, free: 4.258 MB / 426.7 MB Notification: Performance of matching and sorting (n=408): time 0.3726/1.844, allocations: 48.31 MB / 0.8521 GB, free: 88.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/1.844, allocations: 412 kB / 0.8525 GB, free: 87.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01293/1.857, allocations: 6.642 MB / 0.859 GB, free: 87.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001068/1.858, allocations: 88.67 kB / 0.8591 GB, free: 87.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004226/1.862, allocations: 5.857 MB / 0.8648 GB, free: 84.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002289/1.865, allocations: 1.479 MB / 0.8663 GB, free: 83.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006834/1.865, allocations: 183.7 kB / 0.8664 GB, free: 83.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006057/1.866, allocations: 0.6956 MB / 0.8671 GB, free: 83.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007169/1.873, allocations: 4.185 MB / 0.8712 GB, free: 83.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009558/1.883, allocations: 9.194 MB / 0.8802 GB, free: 77.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008646/1.891, allocations: 6.09 MB / 0.8861 GB, free: 76.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000138/1.892, allocations: 53.77 kB / 0.8862 GB, free: 76.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.03371/1.925, allocations: 17.26 MB / 0.903 GB, free: 71.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00014/1.926, allocations: 78.16 kB / 0.9031 GB, free: 71.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002728/1.926, allocations: 174.6 kB / 0.9033 GB, free: 71.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01357/1.939, allocations: 4.723 MB / 0.9079 GB, free: 70.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006305/1.946, allocations: 1.966 MB / 0.9098 GB, free: 70.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03201/1.978, allocations: 26.2 MB / 0.9354 GB, free: 58.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009042/1.987, allocations: 0.5399 MB / 0.9359 GB, free: 57.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001871/1.989, allocations: 0.5129 MB / 0.9364 GB, free: 57.08 MB / 442.7 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 () * Number of clocked 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.009355/1.998, allocations: 4.087 MB / 0.9404 GB, free: 53.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001847/2, allocations: 0.7094 MB / 0.9411 GB, free: 52.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02044/2.02, allocations: 10.95 MB / 0.9518 GB, free: 44.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.915e-05/2.021, allocations: 45.89 kB / 0.9519 GB, free: 44.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.438e-05/2.021, allocations: 23.94 kB / 0.9519 GB, free: 44.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.76e-05/2.021, allocations: 21.48 kB / 0.9519 GB, free: 44.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04061/2.061, allocations: 23.8 MB / 0.9751 GB, free: 24.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.75e-05/2.061, allocations: 8 kB / 0.9751 GB, free: 24.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00237/2.064, allocations: 0.5243 MB / 0.9757 GB, free: 24.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01237/2.076, allocations: 4.164 MB / 0.9797 GB, free: 21.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006318/2.077, allocations: 75.38 kB / 0.9798 GB, free: 21.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2357/2.312, allocations: 23.12 MB / 1.002 GB, free: 80.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/2.312, allocations: 13.28 kB / 1.002 GB, free: 80.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0301/2.343, allocations: 17.64 MB / 1.02 GB, free: 77.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004812/2.347, allocations: 1.368 MB / 1.021 GB, free: 77.85 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002192/2.35, allocations: 79.27 kB / 1.021 GB, free: 77.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00485/2.355, allocations: 247.9 kB / 1.021 GB, free: 77.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/2.356, allocations: 286.7 kB / 1.022 GB, free: 77.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003525/2.356, allocations: 113.8 kB / 1.022 GB, free: 77.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01099/2.367, allocations: 4.799 MB / 1.026 GB, free: 77.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.367, allocations: 0 / 1.026 GB, free: 77.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01158/2.379, allocations: 2.195 MB / 1.028 GB, free: 77.59 MB / 442.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 () * Number of clocked 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.00099/2.38, allocations: 272.8 kB / 1.029 GB, free: 77.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01503/2.395, allocations: 10.61 MB / 1.039 GB, free: 76.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/2.395, allocations: 3.812 kB / 1.039 GB, free: 76.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00589/2.401, allocations: 4.423 MB / 1.043 GB, free: 74.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006421/2.407, allocations: 1.048 MB / 1.044 GB, free: 74.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04347/2.451, allocations: 24.68 MB / 1.069 GB, free: 62.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/2.461, allocations: 6.557 MB / 1.075 GB, free: 60.19 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00934/2.47, allocations: 2.938 MB / 1.078 GB, free: 60 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/2.472, allocations: 434.5 kB / 1.078 GB, free: 59.98 MB / 442.7 MB Notification: Performance of SimCode: time 8.22e-07/2.472, allocations: 0 / 1.078 GB, free: 59.98 MB / 442.7 MB Notification: Performance of Templates: time 0.3416/2.813, allocations: 93.1 MB / 1.169 GB, free: 76.91 MB / 442.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1)