Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.Fourbar2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007973/0.007973, allocations: 165.5 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.328/1.328, 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.00172/0.00172, allocations: 107.4 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 12 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2397, allocations: 38.76 MB / 312.9 MB, free: 38.74 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.3548, allocations: 88.51 MB / 401.4 MB, free: 1.984 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.3551, allocations: 87.95 kB / 401.5 MB, free: 1.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4759/0.8311, allocations: 126.1 MB / 0.5152 GB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.8311, allocations: 0 / 0.5152 GB, free: 11.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003315/0.8314, allocations: 116 kB / 0.5153 GB, free: 11.88 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2237 * Number of variables: 2237 Notification: Performance of Generate backend data structure: time 0.02358/0.855, allocations: 6.771 MB / 0.522 GB, free: 5.023 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.8551, allocations: 12.03 kB / 0.522 GB, free: 5.012 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03285/0.888, allocations: 8.306 MB / 0.5301 GB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02401/0.912, allocations: 7.296 MB / 0.5372 GB, free: 5.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006623/0.9127, allocations: 451.7 kB / 0.5376 GB, free: 4.887 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004202/0.9169, allocations: 0.5817 MB / 0.5382 GB, free: 4.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2708/1.188, allocations: 15.69 MB / 0.5535 GB, free: 50.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003576/1.188, allocations: 75.19 kB / 0.5536 GB, free: 50.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002391/1.191, allocations: 279.8 kB / 0.5539 GB, free: 50.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002101/1.193, allocations: 1.612 MB / 0.5554 GB, free: 50.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02984/1.223, allocations: 13.95 MB / 0.5691 GB, free: 49.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07734/1.3, allocations: 63.96 MB / 0.6315 GB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01247/1.312, allocations: 6.44 MB / 0.6378 GB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02352/1.336, allocations: 14.34 MB / 0.6518 GB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/1.336, allocations: 60.5 kB / 0.6519 GB, free: 12.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=286): time 6.532e-06/1.336, allocations: 0 / 0.6519 GB, free: 12.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=336): time 0.347/1.683, allocations: 42.62 MB / 0.6935 GB, free: 81.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.683, allocations: 213.3 kB / 0.6937 GB, free: 80.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008398/1.692, allocations: 4.81 MB / 0.6984 GB, free: 80.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009053/1.693, allocations: 74 kB / 0.6985 GB, free: 80.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003942/1.697, allocations: 4.414 MB / 0.7028 GB, free: 79.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002598/1.699, allocations: 1.245 MB / 0.704 GB, free: 78.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007464/1.7, allocations: 176.9 kB / 0.7042 GB, free: 78.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005995/1.701, allocations: 0.6865 MB / 0.7048 GB, free: 78.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007219/1.708, allocations: 4.531 MB / 0.7093 GB, free: 78.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01245/1.72, allocations: 9.484 MB / 0.7185 GB, free: 71.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/1.732, allocations: 6.413 MB / 0.7248 GB, free: 71.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003245/1.732, allocations: 49.28 kB / 0.7248 GB, free: 71.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.04613/1.779, allocations: 18.64 MB / 0.743 GB, free: 65.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/1.779, allocations: 77.72 kB / 0.7431 GB, free: 65.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002911/1.779, allocations: 181.8 kB / 0.7433 GB, free: 65.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02082/1.8, allocations: 5.637 MB / 0.7488 GB, free: 65.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008825/1.809, allocations: 2.044 MB / 0.7508 GB, free: 64.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02933/1.838, allocations: 24.29 MB / 0.7745 GB, free: 50.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009674/1.848, allocations: 0.5385 MB / 0.775 GB, free: 50.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002447/1.85, allocations: 0.5002 MB / 0.7755 GB, free: 49.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1057): * Single equations (assignments): 1049 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009183/1.86, allocations: 3.095 MB / 0.7785 GB, free: 47.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001415/1.861, allocations: 0.4897 MB / 0.779 GB, free: 46.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02858/1.89, allocations: 12.35 MB / 0.7911 GB, free: 37.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.637e-05/1.89, allocations: 55 kB / 0.7911 GB, free: 37.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-05/1.89, allocations: 8 kB / 0.7911 GB, free: 37.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.161e-05/1.89, allocations: 20.17 kB / 0.7912 GB, free: 37.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04812/1.938, allocations: 23.93 MB / 0.8145 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.505e-05/1.938, allocations: 4 kB / 0.8145 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00353/1.942, allocations: 0.5694 MB / 0.8151 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2438/2.185, allocations: 4.636 MB / 0.8196 GB, free: 70.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001253/2.187, allocations: 60.27 kB / 0.8197 GB, free: 70.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02335/2.21, allocations: 19.56 MB / 0.8388 GB, free: 68.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/2.21, allocations: 6.688 kB / 0.8388 GB, free: 68.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03731/2.248, allocations: 17.38 MB / 0.8557 GB, free: 65.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005238/2.253, allocations: 1.216 MB / 0.8569 GB, free: 64.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001437/2.254, allocations: 55.16 kB / 0.857 GB, free: 64.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003026/2.257, allocations: 246.2 kB / 0.8572 GB, free: 64.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006458/2.258, allocations: 191.2 kB / 0.8574 GB, free: 64.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002571/2.258, allocations: 84.23 kB / 0.8575 GB, free: 64.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00613/2.264, allocations: 3.352 MB / 0.8608 GB, free: 63.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/2.264, allocations: 0 / 0.8608 GB, free: 63.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008697/2.273, allocations: 1.7 MB / 0.8624 GB, free: 63.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (251): * Single equations (assignments): 243 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007464/2.274, allocations: 213.2 kB / 0.8626 GB, free: 63.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01609/2.29, allocations: 10.42 MB / 0.8728 GB, free: 59.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/2.29, allocations: 3.75 kB / 0.8728 GB, free: 59.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005852/2.296, allocations: 3.936 MB / 0.8766 GB, free: 58.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004567/2.301, allocations: 0.5829 MB / 0.8772 GB, free: 57.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03219/2.333, allocations: 18.29 MB / 0.8951 GB, free: 49.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007128/2.34, allocations: 4.747 MB / 0.8997 GB, free: 46.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.007931/2.348, allocations: 2.98 MB / 0.9026 GB, free: 44.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/2.35, allocations: 350.4 kB / 0.903 GB, free: 44.01 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/2.35, allocations: 3.469 kB / 0.903 GB, free: 44.01 MB / 378.7 MB Notification: Performance of Templates: time 0.357/2.707, allocations: 73.17 MB / 0.9744 GB, free: 73.58 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1)