Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001303/0.001303, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.207/1.207, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001564/0.001564, allocations: 111.6 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002674, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07507/0.07536, allocations: 44.51 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2426/0.318, allocations: 92.24 MB / 447.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.3183, allocations: 92.7 kB / 447.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5412/0.8595, allocations: 165.1 MB / 0.5982 GB, free: 64.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.8595, allocations: 0 / 0.5982 GB, free: 64.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005671/0.8601, allocations: 160 kB / 0.5983 GB, free: 64.52 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: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.0269/0.887, allocations: 9.323 MB / 0.6074 GB, free: 55.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.8871, allocations: 12.03 kB / 0.6074 GB, free: 55.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05455/0.9416, allocations: 16.54 MB / 0.6236 GB, free: 38.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.028/0.9697, allocations: 13.83 MB / 0.6371 GB, free: 24.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003838/0.9701, allocations: 0.5497 MB / 0.6376 GB, free: 24.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002856/0.9729, allocations: 0.7651 MB / 0.6384 GB, free: 23.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03347/1.006, allocations: 16.95 MB / 0.6549 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004671/1.007, allocations: 107 kB / 0.655 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001968/1.009, allocations: 359.8 kB / 0.6554 GB, free: 4.559 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001892/1.011, allocations: 1.531 MB / 0.6569 GB, free: 3.027 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3556/1.366, allocations: 13.33 MB / 0.6699 GB, free: 57.38 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07628/1.443, allocations: 74.76 MB / 0.7429 GB, free: 12.4 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0152/1.458, allocations: 7.078 MB / 0.7498 GB, free: 9.957 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01488/1.473, allocations: 11.94 MB / 0.7614 GB, free: 3.961 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/1.473, allocations: 73.86 kB / 0.7615 GB, free: 3.898 MB / 394.8 MB Notification: Performance of pre-optimization done (n=293): time 4.939e-06/1.473, allocations: 4.156 kB / 0.7615 GB, free: 3.898 MB / 394.8 MB Notification: Performance of matching and sorting (n=366): time 0.1648/1.638, allocations: 42.59 MB / 0.8031 GB, free: 8.941 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/1.638, allocations: 400.4 kB / 0.8035 GB, free: 8.465 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008747/1.647, allocations: 6.417 MB / 0.8098 GB, free: 3.121 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005829/1.647, allocations: 88.09 kB / 0.8098 GB, free: 3.031 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003746/1.651, allocations: 5.43 MB / 0.8151 GB, free: 13.88 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0016/1.653, allocations: 1.343 MB / 0.8165 GB, free: 12.54 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004692/1.653, allocations: 172.6 kB / 0.8166 GB, free: 12.38 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.000507/1.654, allocations: 0.6816 MB / 0.8173 GB, free: 11.68 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005382/1.659, allocations: 3.539 MB / 0.8207 GB, free: 8.137 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1983/1.857, allocations: 8.389 MB / 0.8289 GB, free: 96 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007948/1.865, allocations: 5.318 MB / 0.8341 GB, free: 95.95 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001297/1.865, allocations: 47.78 kB / 0.8342 GB, free: 95.95 MB / 442.8 MB Notification: Performance of matching and sorting (n=1137) (initialization): time 0.03191/1.897, allocations: 14.96 MB / 0.8488 GB, free: 95.2 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002365/1.898, allocations: 77 kB / 0.8489 GB, free: 95.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003238/1.898, allocations: 168.6 kB / 0.849 GB, free: 95.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01227/1.91, allocations: 3.739 MB / 0.8527 GB, free: 95.16 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007345/1.918, allocations: 1.857 MB / 0.8545 GB, free: 95 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03053/1.948, allocations: 24.73 MB / 0.8786 GB, free: 86.98 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009394/1.958, allocations: 0.4927 MB / 0.8791 GB, free: 86.84 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001896/1.96, allocations: 0.4971 MB / 0.8796 GB, free: 86.77 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 768 * Number of states: 0 () * Number of discrete variables: 69 (Rod3.color[3],Rod3.color[2],Rod3.color[1],Rod1.color[3],Rod1.color[2],Rod1.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.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 (1001): * Single equations (assignments): 995 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,72.0%) 101,(1,100.0%) 4} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.008476/1.968, allocations: 3.616 MB / 0.8831 GB, free: 85.27 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001416/1.97, allocations: 0.6803 MB / 0.8838 GB, free: 85.27 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01689/1.987, allocations: 8.927 MB / 0.8925 GB, free: 82.08 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-05/1.987, allocations: 38.5 kB / 0.8925 GB, free: 82.08 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.322e-05/1.987, allocations: 18.91 kB / 0.8926 GB, free: 82.08 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-05/1.987, allocations: 18.56 kB / 0.8926 GB, free: 82.08 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03839/2.025, allocations: 19.52 MB / 0.9116 GB, free: 74.4 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.235e-05/2.025, allocations: 8 kB / 0.9116 GB, free: 74.39 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/2.027, allocations: 453.9 kB / 0.9121 GB, free: 74.02 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009807/2.037, allocations: 3.496 MB / 0.9155 GB, free: 71.53 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007589/2.038, allocations: 71.19 kB / 0.9156 GB, free: 71.46 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02753/2.066, allocations: 24.01 MB / 0.939 GB, free: 50.65 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/2.066, allocations: 16.03 kB / 0.939 GB, free: 50.63 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02085/2.086, allocations: 15.05 MB / 0.9537 GB, free: 37.42 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004482/2.091, allocations: 1.222 MB / 0.9549 GB, free: 36.28 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002074/2.093, allocations: 69.56 kB / 0.955 GB, free: 36.21 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00406/2.097, allocations: 212.2 kB / 0.9552 GB, free: 36.07 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008408/2.098, allocations: 274.4 kB / 0.9554 GB, free: 35.9 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002556/2.098, allocations: 94.02 kB / 0.9555 GB, free: 35.81 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.00882/2.107, allocations: 4.643 MB / 0.9601 GB, free: 31.83 MB / 442.8 MB Notification: Performance of sort global known variables: time 6.11e-07/2.107, allocations: 0 / 0.9601 GB, free: 31.83 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01124/2.118, allocations: 2.008 MB / 0.962 GB, free: 29.83 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (243): * Single equations (assignments): 237 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,69.1%) 92,(1,100.0%) 4} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008559/2.119, allocations: 234.4 kB / 0.9623 GB, free: 29.62 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01373/2.133, allocations: 9.396 MB / 0.9714 GB, free: 20.18 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/2.133, allocations: 0 / 0.9714 GB, free: 20.18 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006092/2.139, allocations: 4.198 MB / 0.9755 GB, free: 15.94 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005214/2.144, allocations: 1.015 MB / 0.9765 GB, free: 14.97 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2382/2.383, allocations: 21.46 MB / 0.9975 GB, free: 85.45 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01125/2.394, allocations: 5.934 MB / 1.003 GB, free: 84.54 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.0107/2.405, allocations: 2.778 MB / 1.006 GB, free: 84.48 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001861/2.407, allocations: 420 kB / 1.006 GB, free: 84.48 MB / 442.8 MB Notification: Performance of SimCode: time 1.102e-06/2.407, allocations: 2.344 kB / 1.006 GB, free: 84.48 MB / 442.8 MB Notification: Performance of Templates: time 0.147/2.554, allocations: 83.47 MB / 1.088 GB, free: 50 MB / 442.8 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1)