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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 94.78 kB / 16.3 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 180.5 kB / 17.19 MB, free: 5.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004961, allocations: 11.44 kB / 280.1 MB, free: 3.773 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1179, allocations: 47.58 MB / 327.7 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.04216/0.1601, allocations: 45.73 MB / 373.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2362/0.3964, allocations: 11.08 MB / 384.5 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009522/0.4059, allocations: 230 kB / 384.7 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008633/0.4146, allocations: 2.276 MB / 387 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02192/0.4365, allocations: 6.689 MB / 393.7 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003777/0.4403, allocations: 0.8433 MB / 394.5 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.039/0.4794, allocations: 28.08 MB / 422.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009341/0.4887, allocations: 5.005 MB / 427.6 MB, free: 9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00418/0.493, allocations: 1.564 MB / 429.2 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004196/0.4972, allocations: 2.262 MB / 431.5 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001571/0.4988, allocations: 236 kB / 431.7 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003613/0.5024, allocations: 1.095 MB / 432.8 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004111/0.5066, allocations: 2.404 MB / 435.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002887/0.5095, allocations: 1.203 MB / 436.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.011/0.5205, allocations: 8.09 MB / 444.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5205, allocations: 4 kB / 444.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5206, allocations: 0 / 444.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004431/0.521, allocations: 0 / 444.5 MB, free: 11.67 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01956/0.5406, allocations: 6.464 MB / 450.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.5406, allocations: 9.891 kB / 451 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04996/0.5906, allocations: 9.756 MB / 460.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01369/0.6044, allocations: 4.642 MB / 465.4 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004613/0.6049, allocations: 320.6 kB / 465.7 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002953/0.6079, allocations: 431.4 kB / 466.1 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03853/0.6464, allocations: 15.74 MB / 481.8 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003677/0.6468, allocations: 67.38 kB / 481.9 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00291/0.6498, allocations: 203.9 kB / 482.1 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005916/0.6557, allocations: 3.218 MB / 485.3 MB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02884/0.6846, allocations: 14.04 MB / 499.4 MB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3164/1.001, allocations: 57.54 MB / 0.5438 GB, free: 145.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01543/1.017, allocations: 6.576 MB / 0.5503 GB, free: 143.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02473/1.041, allocations: 14.44 MB / 0.5644 GB, free: 139.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/1.041, allocations: 60.47 kB / 0.5644 GB, free: 139.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=286): time 5.781e-06/1.041, allocations: 0 / 0.5644 GB, free: 139.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=336): time 0.1418/1.183, allocations: 42.84 MB / 0.6063 GB, free: 111.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/1.183, allocations: 210 kB / 0.6065 GB, free: 110.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007481/1.191, allocations: 5.736 MB / 0.6121 GB, free: 105.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009952/1.192, allocations: 73.7 kB / 0.6121 GB, free: 105 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002335/1.194, allocations: 4.424 MB / 0.6165 GB, free: 100.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001957/1.196, allocations: 1.241 MB / 0.6177 GB, free: 99.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000578/1.197, allocations: 176 kB / 0.6178 GB, free: 99.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004107/1.197, allocations: 0.6819 MB / 0.6185 GB, free: 98.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005441/1.203, allocations: 4.585 MB / 0.623 GB, free: 93.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008003/1.211, allocations: 9.532 MB / 0.6323 GB, free: 82.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008989/1.22, allocations: 6.46 MB / 0.6386 GB, free: 75.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.003e-05/1.22, allocations: 52 kB / 0.6386 GB, free: 75.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.04037/1.26, allocations: 18.9 MB / 0.6571 GB, free: 56.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/1.26, allocations: 84.22 kB / 0.6572 GB, free: 56.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002209/1.261, allocations: 172 kB / 0.6574 GB, free: 56.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02114/1.282, allocations: 5.835 MB / 0.6631 GB, free: 50.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007558/1.289, allocations: 2.051 MB / 0.6651 GB, free: 48.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02664/1.316, allocations: 24.94 MB / 0.6894 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008063/1.324, allocations: 0.5476 MB / 0.6899 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/1.325, allocations: 0.5078 MB / 0.6904 GB, free: 22.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * Number of states: 0 () * Number of discrete variables: 45 (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.groundColor[3],world.groundColor[2],world.groundColor[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.005408/1.331, allocations: 3.09 MB / 0.6935 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/1.332, allocations: 0.5008 MB / 0.6939 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.239/1.571, allocations: 12.6 MB / 0.7062 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001336/1.571, allocations: 59.48 kB / 0.7063 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.375e-05/1.571, allocations: 9.531 kB / 0.7063 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-05/1.571, allocations: 18.05 kB / 0.7063 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05153/1.623, allocations: 24.33 MB / 0.7301 GB, free: 133.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-05/1.623, allocations: 7.719 kB / 0.7301 GB, free: 133.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00324/1.626, allocations: 0.5713 MB / 0.7307 GB, free: 133.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01828/1.645, allocations: 4.847 MB / 0.7354 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000986/1.646, allocations: 60.53 kB / 0.7354 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02238/1.668, allocations: 20.21 MB / 0.7552 GB, free: 114 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.668, allocations: 11.66 kB / 0.7552 GB, free: 114 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03412/1.702, allocations: 17.71 MB / 0.7725 GB, free: 96.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004721/1.707, allocations: 1.245 MB / 0.7737 GB, free: 95.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002123/1.709, allocations: 55.98 kB / 0.7738 GB, free: 95.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004281/1.713, allocations: 255.6 kB / 0.774 GB, free: 95.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001079/1.715, allocations: 195.6 kB / 0.7742 GB, free: 94.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006221/1.715, allocations: 94.19 kB / 0.7743 GB, free: 94.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007334/1.723, allocations: 3.612 MB / 0.7778 GB, free: 91.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.71e-07/1.723, allocations: 0 / 0.7778 GB, free: 91.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01058/1.733, allocations: 1.723 MB / 0.7795 GB, free: 89.47 MB / 446.1 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.001389/1.735, allocations: 225.6 kB / 0.7797 GB, free: 89.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01619/1.751, allocations: 10.54 MB / 0.79 GB, free: 78.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/1.751, allocations: 384 / 0.79 GB, free: 78.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005708/1.757, allocations: 4.005 MB / 0.7939 GB, free: 74.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004121/1.761, allocations: 0.5755 MB / 0.7945 GB, free: 74.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03553/1.796, allocations: 18.37 MB / 0.8124 GB, free: 55.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007208/1.803, allocations: 4.755 MB / 0.817 GB, free: 51.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00693/1.81, allocations: 2.987 MB / 0.82 GB, free: 48.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/1.812, allocations: 359.4 kB / 0.8203 GB, free: 47.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.664e-06/1.812, allocations: 0 / 0.8203 GB, free: 47.77 MB / 446.1 MB Notification: Performance of Templates: time 0.3312/2.143, allocations: 75.38 MB / 0.8939 GB, free: 126.4 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: