Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.9038/0.9038, 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.001684/0.001684, allocations: 155.4 kB / 144 MB, free: 4.805 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.193e-05/1.196e-05, allocations: 4 kB / 173.8 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03988/0.03991, allocations: 25.19 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.2289, allocations: 50.45 MB / 249.5 MB, free: 20.53 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.2291, allocations: 75.91 kB / 249.6 MB, free: 20.53 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9553/1.184, allocations: 270.4 MB / 0.5078 GB, free: 15.9 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.804e-06/1.184, allocations: 0 / 0.5078 GB, free: 15.9 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0005913/1.185, allocations: 196 kB / 0.508 GB, free: 15.71 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: 3136 * Number of variables: 3136 Notification: Performance of Generate backend data structure: time 0.04498/1.23, allocations: 12.21 MB / 0.5199 GB, free: 3.402 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.23, allocations: 8.031 kB / 0.5199 GB, free: 3.395 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.335/1.565, allocations: 40.56 MB / 0.5595 GB, free: 20.71 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03763/1.603, allocations: 15.98 MB / 0.5751 GB, free: 19.89 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005622/1.603, allocations: 306.2 kB / 0.5754 GB, free: 19.89 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006691/1.61, allocations: 0.5524 MB / 0.576 GB, free: 19.88 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03984/1.65, allocations: 21.1 MB / 0.5966 GB, free: 8.801 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06412/1.714, allocations: 24.76 MB / 0.6208 GB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006006/1.715, allocations: 93.16 kB / 0.6209 GB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005259/1.72, allocations: 24 kB / 0.6209 GB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2316/1.952, allocations: 11.2 MB / 0.6318 GB, free: 33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7034/2.655, allocations: 160.1 MB / 0.7881 GB, free: 22.37 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00917/2.664, allocations: 7.667 MB / 0.7956 GB, free: 21.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005982/2.67, allocations: 5.472 MB / 0.801 GB, free: 21.38 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/2.671, allocations: 1.405 MB / 0.8023 GB, free: 20.14 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/2.671, allocations: 83.17 kB / 0.8024 GB, free: 20.1 MB / 282.7 MB Notification: Performance of pre-optimization done (n=451): time 7.274e-06/2.671, allocations: 0 / 0.8024 GB, free: 20.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=534): time 0.2823/2.954, allocations: 52.97 MB / 0.8541 GB, free: 57.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001795/2.954, allocations: 0.6103 MB / 0.8547 GB, free: 57.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01249/2.967, allocations: 6.598 MB / 0.8612 GB, free: 56.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001477/2.968, allocations: 29.14 kB / 0.8612 GB, free: 56.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004374/2.972, allocations: 6.43 MB / 0.8675 GB, free: 53.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002562/2.975, allocations: 1.854 MB / 0.8693 GB, free: 52.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/2.976, allocations: 2.844 kB / 0.8693 GB, free: 52.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0005081/2.977, allocations: 0.7997 MB / 0.8701 GB, free: 52.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007034/2.984, allocations: 5.398 MB / 0.8754 GB, free: 52.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01126/2.995, allocations: 11.53 MB / 0.8866 GB, free: 44.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009465/3.005, allocations: 7.069 MB / 0.8935 GB, free: 42.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001374/3.005, allocations: 59.81 kB / 0.8936 GB, free: 42.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=1518) (initialization): time 0.03585/3.041, allocations: 18.45 MB / 0.9116 GB, free: 37.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003193/3.041, allocations: 94.69 kB / 0.9117 GB, free: 37.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006513/3.042, allocations: 378.7 kB / 0.912 GB, free: 37.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01045/3.052, allocations: 3.758 MB / 0.9157 GB, free: 36.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01049/3.063, allocations: 2.604 MB / 0.9183 GB, free: 36.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0266/3.089, allocations: 22.3 MB / 0.94 GB, free: 21.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01753/3.107, allocations: 1.766 MB / 0.9418 GB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003948/3.111, allocations: 0.832 MB / 0.9426 GB, free: 19.36 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 981 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1352): * Single equations (assignments): 1331 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,64.1%) 98,(1,100.0%) 4} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.004155/3.115, allocations: 0.6543 MB / 0.9432 GB, free: 18.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002384/3.117, allocations: 0.7444 MB / 0.9439 GB, free: 17.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2202/3.338, allocations: 10.81 MB / 0.9545 GB, free: 48.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02682/3.364, allocations: 11.42 MB / 0.9656 GB, free: 48.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.95e-05/3.365, allocations: 24.94 kB / 0.9657 GB, free: 48.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.935e-05/3.365, allocations: 27.73 kB / 0.9657 GB, free: 48.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07828/3.443, allocations: 32.64 MB / 0.9976 GB, free: 46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-05/3.443, allocations: 21.28 kB / 0.9976 GB, free: 46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003182/3.446, allocations: 0.6895 MB / 0.9983 GB, free: 46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009188/3.455, allocations: 3.314 MB / 1.002 GB, free: 45.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001109/3.457, allocations: 103.4 kB / 1.002 GB, free: 45.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0252/3.482, allocations: 20.91 MB / 1.022 GB, free: 35.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.542e-05/3.482, allocations: 33.41 kB / 1.022 GB, free: 35.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02774/3.51, allocations: 22.47 MB / 1.044 GB, free: 16.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004937/3.515, allocations: 1.759 MB / 1.046 GB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001801/3.516, allocations: 31.98 kB / 1.046 GB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009747/3.526, allocations: 1.411 MB / 1.047 GB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009452/3.527, allocations: 393.9 kB / 1.047 GB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005535/3.528, allocations: 312.1 kB / 1.048 GB, free: 13.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.006537/3.534, allocations: 4.559 MB / 1.052 GB, free: 9.977 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.2e-07/3.534, allocations: 4 kB / 1.052 GB, free: 9.973 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.1777/3.712, allocations: 2.468 MB / 1.055 GB, free: 47.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 88 * 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 (393): * Single equations (assignments): 378 * Array equations: 12 * 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.001553/3.714, allocations: 203.8 kB / 1.055 GB, free: 47.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.02295/3.736, allocations: 13.13 MB / 1.068 GB, free: 47.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.188e-05/3.737, allocations: 3.875 kB / 1.068 GB, free: 47.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008646/3.745, allocations: 5.64 MB / 1.073 GB, free: 46.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007394/3.753, allocations: 0.956 MB / 1.074 GB, free: 46.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03417/3.787, allocations: 19.56 MB / 1.093 GB, free: 42.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009744/3.797, allocations: 7.013 MB / 1.1 GB, free: 41.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.01256/3.809, allocations: 4.042 MB / 1.104 GB, free: 41.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004252/3.813, allocations: 0.854 MB / 1.105 GB, free: 41.45 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/3.813, allocations: 0 / 1.105 GB, free: 41.45 MB / 298.7 MB Notification: Performance of Templates: time 0.3523/4.166, allocations: 115.6 MB / 1.218 GB, free: 39.99 MB / 298.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1)