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.001044/0.001044, allocations: 182.3 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.65/1.65, allocations: 194.3 MB / 208.4 MB, free: 6.742 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.001635/0.001635, allocations: 124.7 kB / 253.5 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.954e-05/2.957e-05, allocations: 3.984 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0979/0.09795, allocations: 44.49 MB / 349.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3575/0.4555, allocations: 94.14 MB / 443.6 MB, free: 1.539 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.4558, allocations: 87.33 kB / 443.7 MB, free: 1.496 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5625/1.018, allocations: 126.2 MB / 0.5565 GB, free: 70.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.018, allocations: 0 / 0.5565 GB, free: 70.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002369/1.019, allocations: 114.7 kB / 0.5566 GB, free: 70.73 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.02218/1.041, allocations: 6.322 MB / 0.5628 GB, free: 68.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/1.041, allocations: 6.906 kB / 0.5628 GB, free: 68.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03145/1.072, allocations: 8.312 MB / 0.5709 GB, free: 67.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01987/1.092, allocations: 7.252 MB / 0.578 GB, free: 67.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006623/1.093, allocations: 449.7 kB / 0.5784 GB, free: 67.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004391/1.097, allocations: 0.5907 MB / 0.579 GB, free: 67.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03518/1.133, allocations: 15.57 MB / 0.5942 GB, free: 63.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002956/1.133, allocations: 75.41 kB / 0.5943 GB, free: 63.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001708/1.135, allocations: 281.8 kB / 0.5946 GB, free: 63.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002/1.137, allocations: 1.615 MB / 0.5961 GB, free: 63.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02675/1.163, allocations: 13.76 MB / 0.6096 GB, free: 58.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07519/1.239, allocations: 64.01 MB / 0.6721 GB, free: 0 / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01458/1.253, allocations: 6.418 MB / 0.6784 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005094/1.258, allocations: 3.462 MB / 0.6817 GB, free: 6.449 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2985/1.557, allocations: 14.31 MB / 0.6957 GB, free: 80.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/1.557, allocations: 63.66 kB / 0.6958 GB, free: 80.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=286): time 4.809e-06/1.557, allocations: 0 / 0.6958 GB, free: 80.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=336): time 0.08597/1.643, allocations: 29.64 MB / 0.7247 GB, free: 77.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.725e-05/1.643, allocations: 213.2 kB / 0.7249 GB, free: 76.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007256/1.65, allocations: 4.761 MB / 0.7296 GB, free: 76.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007682/1.651, allocations: 75.3 kB / 0.7296 GB, free: 76.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002676/1.654, allocations: 4.418 MB / 0.734 GB, free: 74.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001812/1.656, allocations: 1.246 MB / 0.7352 GB, free: 73.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005757/1.656, allocations: 175.8 kB / 0.7353 GB, free: 73.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004208/1.657, allocations: 0.6835 MB / 0.736 GB, free: 73.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005868/1.663, allocations: 4.457 MB / 0.7404 GB, free: 71.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01019/1.673, allocations: 9.401 MB / 0.7495 GB, free: 63.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00909/1.682, allocations: 6.397 MB / 0.7558 GB, free: 61.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001614/1.682, allocations: 49.56 kB / 0.7558 GB, free: 61.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.04143/1.724, allocations: 18.49 MB / 0.7739 GB, free: 54.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1.724, allocations: 80 kB / 0.774 GB, free: 54.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002097/1.724, allocations: 172 kB / 0.7741 GB, free: 54.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02069/1.745, allocations: 5.63 MB / 0.7796 GB, free: 51.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007693/1.752, allocations: 2.037 MB / 0.7816 GB, free: 49.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02558/1.778, allocations: 23.61 MB / 0.8047 GB, free: 28.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00758/1.786, allocations: 0.5443 MB / 0.8052 GB, free: 28.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001661/1.787, allocations: 0.5023 MB / 0.8057 GB, free: 28.04 MB / 410.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 () * 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.001557/1.789, allocations: 0.7556 MB / 0.8064 GB, free: 27.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.79, allocations: 0.4936 MB / 0.8069 GB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02639/1.816, allocations: 12.27 MB / 0.8189 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.31e-05/1.816, allocations: 48 kB / 0.8189 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.065e-05/1.816, allocations: 11.95 kB / 0.819 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.647e-05/1.816, allocations: 18.62 kB / 0.819 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3059/2.122, allocations: 23.85 MB / 0.8423 GB, free: 82.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.107e-05/2.123, allocations: 7.312 kB / 0.8423 GB, free: 82.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003323/2.126, allocations: 0.5639 MB / 0.8428 GB, free: 82.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01823/2.144, allocations: 4.642 MB / 0.8474 GB, free: 82.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008016/2.145, allocations: 56.31 kB / 0.8474 GB, free: 82.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02273/2.168, allocations: 18.9 MB / 0.8659 GB, free: 79.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/2.168, allocations: 11.88 kB / 0.8659 GB, free: 79.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03199/2.2, allocations: 17.25 MB / 0.8827 GB, free: 76.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003365/2.203, allocations: 1.218 MB / 0.8839 GB, free: 76.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001427/2.205, allocations: 54.17 kB / 0.884 GB, free: 76.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003444/2.208, allocations: 250.2 kB / 0.8842 GB, free: 76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006814/2.209, allocations: 190.2 kB / 0.8844 GB, free: 75.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002667/2.209, allocations: 85.14 kB / 0.8845 GB, free: 75.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00551/2.215, allocations: 3.306 MB / 0.8877 GB, free: 74.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.7e-07/2.215, allocations: 0 / 0.8877 GB, free: 74.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009693/2.224, allocations: 1.7 MB / 0.8894 GB, free: 74.65 MB / 426.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 () * 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.0008479/2.225, allocations: 210 kB / 0.8896 GB, free: 74.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01479/2.24, allocations: 10.3 MB / 0.8996 GB, free: 71.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/2.24, allocations: 7.375 kB / 0.8996 GB, free: 71.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004997/2.245, allocations: 3.887 MB / 0.9034 GB, free: 69.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003289/2.248, allocations: 0.5741 MB / 0.904 GB, free: 69.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02391/2.272, allocations: 13.44 MB / 0.9171 GB, free: 64.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005113/2.277, allocations: 4.749 MB / 0.9217 GB, free: 62.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007182/2.285, allocations: 2.981 MB / 0.9247 GB, free: 61.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001527/2.286, allocations: 353 kB / 0.925 GB, free: 61.44 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/2.286, allocations: 0 / 0.925 GB, free: 61.44 MB / 426.7 MB Notification: Performance of Templates: time 0.3685/2.655, allocations: 73.17 MB / 0.9964 GB, free: 75.82 MB / 426.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)