Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.Fourbar1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009713/0.0009713, allocations: 179.8 kB / 16.38 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.243/1.243, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001617/0.001617, allocations: 121.8 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08575/0.08607, allocations: 44.51 MB / 355.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2558/0.3419, allocations: 88.82 MB / 443.9 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.3421, allocations: 90.27 kB / 444 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4444/0.7865, allocations: 122.6 MB / 0.5533 GB, free: 80.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7866, allocations: 0 / 0.5533 GB, free: 80.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002629/0.7868, allocations: 121.9 kB / 0.5534 GB, free: 80.25 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: 2055 * Number of variables: 2055 Notification: Performance of Generate backend data structure: time 0.01813/0.805, allocations: 7.121 MB / 0.5604 GB, free: 77.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.805, allocations: 6.156 kB / 0.5604 GB, free: 77.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03179/0.8368, allocations: 9.417 MB / 0.5696 GB, free: 77.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01844/0.8553, allocations: 8.6 MB / 0.578 GB, free: 75.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003008/0.8557, allocations: 432.4 kB / 0.5784 GB, free: 75.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002146/0.8578, allocations: 0.5788 MB / 0.5789 GB, free: 75.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0248/0.8826, allocations: 14.8 MB / 0.5934 GB, free: 66.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002297/0.8829, allocations: 83.2 kB / 0.5935 GB, free: 66.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007834/0.8837, allocations: 273.3 kB / 0.5937 GB, free: 65.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001452/0.8852, allocations: 1.449 MB / 0.5951 GB, free: 64.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02047/0.9056, allocations: 13 MB / 0.6078 GB, free: 51.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06013/0.9658, allocations: 64.64 MB / 0.671 GB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.202/1.168, allocations: 7.851 MB / 0.6786 GB, free: 88.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02176/1.19, allocations: 12.98 MB / 0.6913 GB, free: 87.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.33e-05/1.19, allocations: 72.09 kB / 0.6914 GB, free: 87.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=340): time 6.101e-06/1.19, allocations: 0 / 0.6914 GB, free: 87.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=604): time 1.437/2.627, allocations: 266.1 MB / 0.9513 GB, free: 36.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/2.627, allocations: 277.3 kB / 0.9515 GB, free: 36.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006057/2.633, allocations: 4.755 MB / 0.9562 GB, free: 31.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001509/2.635, allocations: 121.7 kB / 0.9563 GB, free: 31.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001809/2.637, allocations: 3.999 MB / 0.9602 GB, free: 27.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002308/2.639, allocations: 2.111 MB / 0.9623 GB, free: 25.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00077/2.64, allocations: 188 kB / 0.9625 GB, free: 25.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003559/2.64, allocations: 0.7069 MB / 0.9631 GB, free: 24.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009551/2.65, allocations: 8.67 MB / 0.9716 GB, free: 16.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1862/2.836, allocations: 12.76 MB / 0.9841 GB, free: 84.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01415/2.85, allocations: 10.57 MB / 0.9944 GB, free: 84.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001288/2.85, allocations: 39.34 kB / 0.9944 GB, free: 84.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.0859/2.936, allocations: 40.31 MB / 1.034 GB, free: 72.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.805e-05/2.936, allocations: 69.25 kB / 1.034 GB, free: 72.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001301/2.936, allocations: 136.5 kB / 1.034 GB, free: 72.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05822/2.995, allocations: 21.54 MB / 1.055 GB, free: 68.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004225/2.999, allocations: 1.431 MB / 1.056 GB, free: 68.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3592/3.358, allocations: 151.2 MB / 1.204 GB, free: 57.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009626/3.368, allocations: 0.7241 MB / 1.205 GB, free: 57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001794/3.37, allocations: 0.5281 MB / 1.205 GB, free: 56.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 51 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[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 (772): * Single equations (assignments): 765 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 176,(18,37.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 90} Notification: Performance of prepare postOptimizeDAE: time 0.005621/3.375, allocations: 3.117 MB / 1.208 GB, free: 55.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/3.377, allocations: 0.591 MB / 1.209 GB, free: 55.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06819/3.445, allocations: 36.29 MB / 1.244 GB, free: 32.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.001e-05/3.445, allocations: 63.33 kB / 1.244 GB, free: 32.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001129/3.445, allocations: 67.38 kB / 1.244 GB, free: 32.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.465e-05/3.445, allocations: 25.12 kB / 1.244 GB, free: 32.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2744/3.72, allocations: 57.2 MB / 1.3 GB, free: 83.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.988e-05/3.72, allocations: 0 / 1.3 GB, free: 83.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/3.721, allocations: 272.6 kB / 1.301 GB, free: 83.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05682/3.778, allocations: 20.75 MB / 1.321 GB, free: 83.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001538/3.779, allocations: 102.2 kB / 1.321 GB, free: 83.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3721/4.152, allocations: 138.9 MB / 1.457 GB, free: 76.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/4.152, allocations: 8.984 kB / 1.457 GB, free: 76.42 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08658/4.238, allocations: 48.81 MB / 1.504 GB, free: 71.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008502/4.247, allocations: 2.4 MB / 1.507 GB, free: 70.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002666/4.249, allocations: 95.12 kB / 1.507 GB, free: 70.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006516/4.256, allocations: 0.495 MB / 1.507 GB, free: 70.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003192/4.259, allocations: 0.5018 MB / 1.508 GB, free: 69.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007266/4.26, allocations: 145.8 kB / 1.508 GB, free: 69.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004808/4.265, allocations: 3.404 MB / 1.511 GB, free: 68.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/4.265, allocations: 0 / 1.511 GB, free: 68.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01221/4.277, allocations: 3.432 MB / 1.514 GB, free: 68.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (148): * Single equations (assignments): 141 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 173,(18,37.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 100} Notification: Performance of Backend phase and start with SimCode phase: time 0.001204/4.278, allocations: 239.6 kB / 1.515 GB, free: 68.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03227/4.31, allocations: 24.52 MB / 1.539 GB, free: 57.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/4.311, allocations: 1.906 kB / 1.539 GB, free: 57.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02085/4.331, allocations: 13.79 MB / 1.552 GB, free: 45.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004902/4.336, allocations: 0.711 MB / 1.553 GB, free: 44.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03335/4.37, allocations: 26.49 MB / 1.579 GB, free: 21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006789/4.377, allocations: 5.312 MB / 1.584 GB, free: 17.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00486/4.381, allocations: 2.079 MB / 1.586 GB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007558/4.382, allocations: 302.6 kB / 1.586 GB, free: 15.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/4.382, allocations: 0 / 1.586 GB, free: 15.46 MB / 442.7 MB Notification: Performance of Templates: time 0.6956/5.078, allocations: 223.3 MB / 1.804 GB, free: 96.32 MB / 474.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1)