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.001222/0.001223, allocations: 181.8 kB / 13.64 MB, free: 1.676 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.515/1.515, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001621/0.001621, allocations: 130.2 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.759e-05/3.769e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.09143, allocations: 44.49 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.4693, allocations: 92.16 MB / 441.6 MB, free: 3.5 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.4696, allocations: 88.8 kB / 441.7 MB, free: 3.457 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.651/1.121, allocations: 165.2 MB / 0.5927 GB, free: 67.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.394e-06/1.121, allocations: 0 / 0.5927 GB, free: 67.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005746/1.121, allocations: 164.1 kB / 0.5929 GB, free: 67.31 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.02982/1.151, allocations: 8.196 MB / 0.6009 GB, free: 64.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/1.151, allocations: 7.562 kB / 0.6009 GB, free: 64.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06053/1.212, allocations: 16.56 MB / 0.617 GB, free: 60.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03288/1.245, allocations: 13.75 MB / 0.6305 GB, free: 47.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004648/1.245, allocations: 0.5559 MB / 0.631 GB, free: 46.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003931/1.249, allocations: 0.76 MB / 0.6318 GB, free: 45.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03749/1.287, allocations: 16.81 MB / 0.6482 GB, free: 27.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000475/1.287, allocations: 119.5 kB / 0.6483 GB, free: 27.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00171/1.289, allocations: 344.1 kB / 0.6486 GB, free: 27.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00197/1.291, allocations: 1.527 MB / 0.6501 GB, free: 25.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02784/1.319, allocations: 13.14 MB / 0.6629 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3656/1.684, allocations: 74.75 MB / 0.7359 GB, free: 41.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01766/1.702, allocations: 7.04 MB / 0.7428 GB, free: 41.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004138/1.706, allocations: 3.931 MB / 0.7467 GB, free: 41.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0196/1.726, allocations: 11.92 MB / 0.7583 GB, free: 38.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.864e-05/1.726, allocations: 78.53 kB / 0.7584 GB, free: 38.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=293): time 6.903e-06/1.726, allocations: 0 / 0.7584 GB, free: 38.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=366): time 0.1234/1.849, allocations: 35.29 MB / 0.7928 GB, free: 31.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/1.85, allocations: 409.8 kB / 0.7932 GB, free: 31.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01235/1.862, allocations: 6.349 MB / 0.7994 GB, free: 28.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009327/1.863, allocations: 77.17 kB / 0.7995 GB, free: 28.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004038/1.867, allocations: 5.438 MB / 0.8048 GB, free: 24.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001973/1.869, allocations: 1.338 MB / 0.8061 GB, free: 23.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007702/1.87, allocations: 180.7 kB / 0.8063 GB, free: 23.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005295/1.87, allocations: 0.6758 MB / 0.807 GB, free: 23.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004645/1.875, allocations: 3.461 MB / 0.8103 GB, free: 21.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007199/1.882, allocations: 8.317 MB / 0.8185 GB, free: 14.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007699/1.89, allocations: 5.299 MB / 0.8236 GB, free: 10.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001373/1.89, allocations: 51.47 kB / 0.8237 GB, free: 10.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=1137) (initialization): time 0.03483/1.925, allocations: 14.8 MB / 0.8381 GB, free: 14.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002931/1.925, allocations: 81 kB / 0.8382 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004481/1.926, allocations: 168 kB / 0.8384 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01204/1.938, allocations: 3.726 MB / 0.842 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007203/1.945, allocations: 1.86 MB / 0.8438 GB, free: 9.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3164/2.262, allocations: 23.8 MB / 0.8671 GB, free: 94.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01026/2.272, allocations: 493.4 kB / 0.8675 GB, free: 94.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002568/2.274, allocations: 0.4913 MB / 0.868 GB, free: 94.96 MB / 442.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 () * 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.002205/2.277, allocations: 0.7784 MB / 0.8688 GB, free: 94.85 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002275/2.279, allocations: 0.679 MB / 0.8694 GB, free: 94.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01829/2.297, allocations: 8.849 MB / 0.8781 GB, free: 94.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-05/2.297, allocations: 40.09 kB / 0.8781 GB, free: 94.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-05/2.297, allocations: 26.89 kB / 0.8781 GB, free: 94.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.545e-05/2.297, allocations: 17.3 kB / 0.8782 GB, free: 94.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04166/2.339, allocations: 19.45 MB / 0.8972 GB, free: 90.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-05/2.339, allocations: 9.406 kB / 0.8972 GB, free: 90.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002473/2.342, allocations: 450.9 kB / 0.8976 GB, free: 90.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01051/2.352, allocations: 3.486 MB / 0.901 GB, free: 89.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006332/2.353, allocations: 73.23 kB / 0.9011 GB, free: 89.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02744/2.38, allocations: 23.07 MB / 0.9236 GB, free: 78.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/2.38, allocations: 14.92 kB / 0.9236 GB, free: 78.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02202/2.402, allocations: 14.93 MB / 0.9382 GB, free: 71.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0042/2.407, allocations: 1.221 MB / 0.9394 GB, free: 70.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002131/2.409, allocations: 73.02 kB / 0.9395 GB, free: 70.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004371/2.413, allocations: 215.2 kB / 0.9397 GB, free: 70.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009025/2.414, allocations: 274.5 kB / 0.9399 GB, free: 70.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004027/2.415, allocations: 94.84 kB / 0.94 GB, free: 70.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01052/2.425, allocations: 4.568 MB / 0.9445 GB, free: 67.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.72e-07/2.425, allocations: 4 kB / 0.9445 GB, free: 67.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01362/2.439, allocations: 2.005 MB / 0.9464 GB, free: 65.92 MB / 442.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 () * 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.001531/2.44, allocations: 226.4 kB / 0.9467 GB, free: 65.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01664/2.457, allocations: 9.249 MB / 0.9557 GB, free: 57.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.851e-05/2.457, allocations: 0 / 0.9557 GB, free: 57.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007381/2.465, allocations: 4.139 MB / 0.9597 GB, free: 53.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007523/2.472, allocations: 1.016 MB / 0.9607 GB, free: 53.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03955/2.512, allocations: 15.34 MB / 0.9757 GB, free: 39.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01344/2.525, allocations: 5.933 MB / 0.9815 GB, free: 35.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01018/2.535, allocations: 2.787 MB / 0.9842 GB, free: 33.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002112/2.538, allocations: 422 kB / 0.9846 GB, free: 33.14 MB / 442.7 MB Notification: Performance of SimCode: time 1.844e-06/2.538, allocations: 0 / 0.9846 GB, free: 33.14 MB / 442.7 MB Notification: Performance of Templates: time 0.4373/2.975, allocations: 83.47 MB / 1.066 GB, free: 79.29 MB / 442.7 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)