Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01104/0.01104, allocations: 165 kB / 15.11 MB, free: 5.973 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.262/1.262, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001624/0.001624, allocations: 110.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003223, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.241, allocations: 38.77 MB / 312.9 MB, free: 38.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.3547, allocations: 86.54 MB / 399.4 MB, free: 3.953 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/0.3551, allocations: 87.95 kB / 399.5 MB, free: 3.867 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7705/1.126, allocations: 165.1 MB / 0.5514 GB, free: 32.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.126, allocations: 1.406 kB / 0.5514 GB, free: 32.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006874/1.126, allocations: 165.4 kB / 0.5516 GB, free: 32.69 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: 2486 * Number of variables: 2486 Notification: Performance of Generate backend data structure: time 0.03275/1.159, allocations: 9.31 MB / 0.5606 GB, free: 29.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/1.159, allocations: 9.438 kB / 0.5607 GB, free: 29.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06306/1.222, allocations: 16.54 MB / 0.5768 GB, free: 28.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03608/1.258, allocations: 13.83 MB / 0.5903 GB, free: 27.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007584/1.259, allocations: 0.5522 MB / 0.5908 GB, free: 27.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004426/1.264, allocations: 0.7555 MB / 0.5916 GB, free: 27.4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04462/1.308, allocations: 16.96 MB / 0.6081 GB, free: 23.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006135/1.309, allocations: 117.7 kB / 0.6083 GB, free: 23.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002689/1.312, allocations: 347.7 kB / 0.6086 GB, free: 23.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002267/1.314, allocations: 1.528 MB / 0.6101 GB, free: 23.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03027/1.344, allocations: 13.34 MB / 0.6231 GB, free: 21.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3819/1.726, allocations: 74.74 MB / 0.6961 GB, free: 20.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/1.744, allocations: 7.084 MB / 0.703 GB, free: 19.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02205/1.766, allocations: 11.93 MB / 0.7147 GB, free: 17.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.416e-05/1.766, allocations: 73.95 kB / 0.7147 GB, free: 17.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=293): time 6.573e-06/1.766, allocations: 0 / 0.7147 GB, free: 17.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=366): time 0.1518/1.918, allocations: 42.6 MB / 0.7563 GB, free: 12.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/1.918, allocations: 400 kB / 0.7567 GB, free: 11.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01921/1.937, allocations: 6.418 MB / 0.763 GB, free: 11.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001183/1.938, allocations: 88.2 kB / 0.7631 GB, free: 11.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006486/1.945, allocations: 5.433 MB / 0.7684 GB, free: 8.816 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002414/1.947, allocations: 1.342 MB / 0.7697 GB, free: 8.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001586/1.949, allocations: 171.4 kB / 0.7699 GB, free: 8.023 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.001129/1.95, allocations: 0.6771 MB / 0.7705 GB, free: 7.695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006451/1.957, allocations: 3.54 MB / 0.774 GB, free: 6.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01145/1.968, allocations: 8.39 MB / 0.7822 GB, free: 12.87 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/1.979, allocations: 5.323 MB / 0.7874 GB, free: 8.422 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002562/1.979, allocations: 48 kB / 0.7874 GB, free: 8.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=1137) (initialization): time 0.04453/2.023, allocations: 15.27 MB / 0.8023 GB, free: 13.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002558/2.024, allocations: 76 kB / 0.8024 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00041/2.024, allocations: 172.1 kB / 0.8026 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01226/2.036, allocations: 3.734 MB / 0.8062 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007605/2.044, allocations: 1.858 MB / 0.808 GB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04124/2.085, allocations: 24.88 MB / 0.8323 GB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009163/2.095, allocations: 491.9 kB / 0.8328 GB, free: 2.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002317/2.097, allocations: 0.4969 MB / 0.8333 GB, free: 2.402 MB / 426.7 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.2958/2.393, allocations: 3.619 MB / 0.8368 GB, free: 95.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002079/2.395, allocations: 0.6814 MB / 0.8375 GB, free: 95.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0187/2.414, allocations: 8.928 MB / 0.8462 GB, free: 95.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.542e-05/2.414, allocations: 38.94 kB / 0.8462 GB, free: 95.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.105e-05/2.414, allocations: 26.05 kB / 0.8463 GB, free: 95.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-05/2.414, allocations: 21.66 kB / 0.8463 GB, free: 95.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05211/2.466, allocations: 19.5 MB / 0.8653 GB, free: 93.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.146e-05/2.466, allocations: 10.56 kB / 0.8653 GB, free: 93.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002338/2.468, allocations: 452.9 kB / 0.8658 GB, free: 93.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01046/2.479, allocations: 3.498 MB / 0.8692 GB, free: 93.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008366/2.48, allocations: 63.22 kB / 0.8692 GB, free: 93.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04197/2.522, allocations: 24.02 MB / 0.8927 GB, free: 86.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-05/2.522, allocations: 13.03 kB / 0.8927 GB, free: 86.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04159/2.563, allocations: 15.05 MB / 0.9074 GB, free: 80.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007279/2.571, allocations: 1.231 MB / 0.9086 GB, free: 79.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003777/2.575, allocations: 78.17 kB / 0.9087 GB, free: 79.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008091/2.583, allocations: 213 kB / 0.9089 GB, free: 79.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001978/2.585, allocations: 272 kB / 0.9091 GB, free: 79.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001125/2.586, allocations: 101.4 kB / 0.9092 GB, free: 79.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01812/2.604, allocations: 4.644 MB / 0.9138 GB, free: 78.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.71e-07/2.604, allocations: 0 / 0.9138 GB, free: 78.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.02045/2.625, allocations: 2.002 MB / 0.9157 GB, free: 77.81 MB / 426.7 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.001802/2.626, allocations: 231.6 kB / 0.9159 GB, free: 77.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02382/2.65, allocations: 9.391 MB / 0.9251 GB, free: 74.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.777e-05/2.65, allocations: 0 / 0.9251 GB, free: 74.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009398/2.66, allocations: 4.208 MB / 0.9292 GB, free: 71.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008429/2.668, allocations: 1.013 MB / 0.9302 GB, free: 71.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04525/2.714, allocations: 21.47 MB / 0.9512 GB, free: 51.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01283/2.726, allocations: 5.934 MB / 0.957 GB, free: 47.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009622/2.736, allocations: 2.79 MB / 0.9597 GB, free: 45.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001883/2.738, allocations: 416.4 kB / 0.9601 GB, free: 45.47 MB / 426.7 MB Notification: Performance of SimCode: time 3.807e-06/2.738, allocations: 0 / 0.9601 GB, free: 45.47 MB / 426.7 MB Notification: Performance of Templates: time 0.4864/3.224, allocations: 83.48 MB / 1.042 GB, free: 79.73 MB / 426.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1)