Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.Fourbar2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001045/0.001045, allocations: 182.3 kB / 16.39 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.256/1.256, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.00167/0.00167, allocations: 110.5 kB / 256.9 MB, free: 4.387 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003131, allocations: 12 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08588/0.08621, allocations: 44.5 MB / 355.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2539/0.3401, allocations: 94.23 MB / 449.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.3404, allocations: 89.09 kB / 449.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4452/0.7857, allocations: 126.1 MB / 0.562 GB, free: 81.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.7857, allocations: 0 / 0.562 GB, free: 81.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002116/0.7859, allocations: 116.2 kB / 0.5621 GB, free: 81.32 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: 2237 * Number of variables: 2237 Notification: Performance of Generate backend data structure: time 0.01812/0.8041, allocations: 6.764 MB / 0.5687 GB, free: 78.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.8041, allocations: 12.59 kB / 0.5687 GB, free: 78.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02811/0.8322, allocations: 8.304 MB / 0.5768 GB, free: 78.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01566/0.8479, allocations: 7.293 MB / 0.5839 GB, free: 75.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/0.8482, allocations: 451.1 kB / 0.5844 GB, free: 75.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002404/0.8506, allocations: 0.5939 MB / 0.585 GB, free: 74.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02531/0.876, allocations: 15.69 MB / 0.6003 GB, free: 59.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001893/0.8762, allocations: 75.39 kB / 0.6003 GB, free: 59.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009899/0.8772, allocations: 281.5 kB / 0.6006 GB, free: 59.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001635/0.8788, allocations: 1.616 MB / 0.6022 GB, free: 58.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0232/0.902, allocations: 13.95 MB / 0.6158 GB, free: 44.06 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2678/1.17, allocations: 63.97 MB / 0.6783 GB, free: 49.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/1.182, allocations: 6.432 MB / 0.6846 GB, free: 48.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02358/1.205, allocations: 14.33 MB / 0.6986 GB, free: 45.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/1.205, allocations: 57.03 kB / 0.6986 GB, free: 45.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=286): time 7.554e-06/1.205, allocations: 0 / 0.6986 GB, free: 45.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=336): time 0.1238/1.329, allocations: 42.14 MB / 0.7398 GB, free: 39.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/1.329, allocations: 217.7 kB / 0.74 GB, free: 39.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006058/1.335, allocations: 4.805 MB / 0.7447 GB, free: 37.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006118/1.336, allocations: 67.08 kB / 0.7447 GB, free: 37.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002018/1.338, allocations: 4.428 MB / 0.7491 GB, free: 34.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001285/1.339, allocations: 1.249 MB / 0.7503 GB, free: 33.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004178/1.34, allocations: 171.4 kB / 0.7504 GB, free: 32.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003358/1.34, allocations: 0.68 MB / 0.7511 GB, free: 32.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004725/1.345, allocations: 4.53 MB / 0.7555 GB, free: 30.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00641/1.351, allocations: 9.484 MB / 0.7648 GB, free: 22.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006619/1.358, allocations: 6.406 MB / 0.771 GB, free: 16.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.163e-05/1.358, allocations: 58.86 kB / 0.7711 GB, free: 16.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.03531/1.393, allocations: 18.64 MB / 0.7893 GB, free: 1.309 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.886e-05/1.393, allocations: 83.91 kB / 0.7894 GB, free: 1.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/1.394, allocations: 176 kB / 0.7895 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02016/1.414, allocations: 5.63 MB / 0.795 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007166/1.421, allocations: 2.043 MB / 0.797 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03122/1.452, allocations: 24.28 MB / 0.8208 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007618/1.46, allocations: 0.543 MB / 0.8213 GB, free: 292 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/1.462, allocations: 0.5039 MB / 0.8218 GB, free: 15.78 MB / 458.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.006406/1.468, allocations: 3.099 MB / 0.8248 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/1.469, allocations: 0.4936 MB / 0.8253 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02788/1.497, allocations: 12.34 MB / 0.8373 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-05/1.497, allocations: 59.94 kB / 0.8374 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-05/1.497, allocations: 9.812 kB / 0.8374 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.08e-05/1.497, allocations: 14.47 kB / 0.8374 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2246/1.722, allocations: 23.92 MB / 0.8608 GB, free: 138.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/1.722, allocations: 7.797 kB / 0.8608 GB, free: 138.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002688/1.724, allocations: 0.5678 MB / 0.8613 GB, free: 138.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0173/1.742, allocations: 4.643 MB / 0.8659 GB, free: 138.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007081/1.743, allocations: 57.94 kB / 0.8659 GB, free: 138.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0236/1.766, allocations: 19.58 MB / 0.885 GB, free: 134.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/1.766, allocations: 8.25 kB / 0.8851 GB, free: 134.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02859/1.795, allocations: 17.36 MB / 0.902 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003574/1.798, allocations: 1.215 MB / 0.9032 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007991/1.799, allocations: 60.81 kB / 0.9032 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002503/1.802, allocations: 244.3 kB / 0.9035 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005526/1.802, allocations: 192.1 kB / 0.9037 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/1.803, allocations: 84.14 kB / 0.9037 GB, free: 127.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004332/1.807, allocations: 3.349 MB / 0.907 GB, free: 126.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.807, allocations: 3.281 kB / 0.907 GB, free: 126.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007748/1.815, allocations: 1.702 MB / 0.9087 GB, free: 126.5 MB / 474.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.0009691/1.816, allocations: 206.9 kB / 0.9089 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01332/1.829, allocations: 10.43 MB / 0.9191 GB, free: 122.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.829, allocations: 3.438 kB / 0.9191 GB, free: 122.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004776/1.834, allocations: 3.939 MB / 0.9229 GB, free: 121.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/1.838, allocations: 0.5757 MB / 0.9235 GB, free: 120.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02766/1.866, allocations: 18.27 MB / 0.9413 GB, free: 109.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004596/1.87, allocations: 4.74 MB / 0.9459 GB, free: 106.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006978/1.877, allocations: 2.986 MB / 0.9489 GB, free: 104.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/1.879, allocations: 349.8 kB / 0.9492 GB, free: 104 MB / 474.7 MB Notification: Performance of SimCode: time 1.072e-06/1.879, allocations: 0 / 0.9492 GB, free: 104 MB / 474.7 MB Notification: Performance of Templates: time 0.1003/1.979, allocations: 73.18 MB / 1.021 GB, free: 35.4 MB / 474.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1)