Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.9102/0.9102, allocations: 110.8 MB / 123.3 MB, free: 10.78 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001718/0.001718, allocations: 159.4 kB / 149.1 MB, free: 0.9883 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.415e-05/2.447e-05, allocations: 4 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05626/0.0563, allocations: 25.18 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2112/0.2676, allocations: 48.33 MB / 253.7 MB, free: 20.06 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.2679, allocations: 78.09 kB / 253.8 MB, free: 20.06 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8939/1.162, allocations: 226.8 MB / 480.6 MB, free: 15.93 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.162, allocations: 0 / 480.6 MB, free: 15.93 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0004084/1.162, allocations: 155 kB / 480.7 MB, free: 15.92 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2674 * Number of variables: 2674 Notification: Performance of Generate backend data structure: time 0.03839/1.201, allocations: 10.38 MB / 491.1 MB, free: 12.85 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.201, allocations: 9.688 kB / 491.1 MB, free: 12.85 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1522/1.353, allocations: 32.65 MB / 0.5115 GB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2262/1.579, allocations: 10.69 MB / 0.5219 GB, free: 29.06 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008766/1.58, allocations: 0.5534 MB / 0.5225 GB, free: 29.05 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007201/1.587, allocations: 0.7343 MB / 0.5232 GB, free: 29.05 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06479/1.652, allocations: 24.24 MB / 0.5469 GB, free: 25.99 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000712/1.653, allocations: 65.97 kB / 0.5469 GB, free: 25.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007272/1.66, allocations: 332 kB / 0.5472 GB, free: 25.79 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04569/1.706, allocations: 10.78 MB / 0.5578 GB, free: 25.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05048/1.757, allocations: 25.39 MB / 0.5826 GB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9265/2.683, allocations: 154.3 MB / 0.7332 GB, free: 29.81 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02152/2.705, allocations: 10.99 MB / 0.7439 GB, free: 28.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008634/2.713, allocations: 7.409 MB / 0.7512 GB, free: 28.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.14/2.853, allocations: 43.16 MB / 0.7933 GB, free: 21.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/2.854, allocations: 79.19 kB / 0.7934 GB, free: 21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=464): time 1.003e-05/2.854, allocations: 3.625 kB / 0.7934 GB, free: 21 MB / 282.7 MB Notification: Performance of matching and sorting (n=728): time 0.4333/3.287, allocations: 85.57 MB / 0.877 GB, free: 57.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/3.287, allocations: 287.9 kB / 0.8772 GB, free: 57.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009004/3.296, allocations: 6.102 MB / 0.8832 GB, free: 55.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002291/3.298, allocations: 132.7 kB / 0.8833 GB, free: 55.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002896/3.301, allocations: 5.016 MB / 0.8882 GB, free: 51.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003699/3.305, allocations: 2.547 MB / 0.8907 GB, free: 49.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001568/3.307, allocations: 239.3 kB / 0.8909 GB, free: 49.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0005062/3.307, allocations: 0.8192 MB / 0.8917 GB, free: 48.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01679/3.324, allocations: 10.8 MB / 0.9023 GB, free: 44.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01921/3.343, allocations: 16.02 MB / 0.9179 GB, free: 33.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01807/3.361, allocations: 12.43 MB / 0.9301 GB, free: 24.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002627/3.362, allocations: 52 kB / 0.9301 GB, free: 24.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=1570) (initialization): time 0.2986/3.66, allocations: 45.72 MB / 0.9747 GB, free: 55.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002044/3.66, allocations: 80.97 kB / 0.9748 GB, free: 55.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003195/3.661, allocations: 177.4 kB / 0.975 GB, free: 55.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06132/3.722, allocations: 21.14 MB / 0.9956 GB, free: 52.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008033/3.73, allocations: 2.126 MB / 0.9977 GB, free: 52.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3663/4.096, allocations: 141.5 MB / 1.136 GB, free: 16.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02403/4.12, allocations: 2.584 MB / 1.138 GB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004266/4.125, allocations: 0.9045 MB / 1.139 GB, free: 14.15 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 800 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1083): * Single equations (assignments): 1063 * Array equations: 16 * 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,38.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 90} Notification: Performance of prepare postOptimizeDAE: time 0.004926/4.13, allocations: 0.8816 MB / 1.14 GB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002365/4.132, allocations: 0.7147 MB / 1.141 GB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2858/4.418, allocations: 39.11 MB / 1.179 GB, free: 48.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01546/4.433, allocations: 3.296 MB / 1.182 GB, free: 48.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002119/4.434, allocations: 65.41 kB / 1.182 GB, free: 48.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001988/4.434, allocations: 36.77 kB / 1.182 GB, free: 48.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1799/4.614, allocations: 71 MB / 1.252 GB, free: 18.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001366/4.614, allocations: 4 kB / 1.252 GB, free: 18.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003106/4.617, allocations: 481.3 kB / 1.252 GB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2359/4.853, allocations: 20.29 MB / 1.272 GB, free: 42.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002882/4.856, allocations: 213.4 kB / 1.272 GB, free: 42.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.372/5.228, allocations: 130.2 MB / 1.399 GB, free: 41.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/5.228, allocations: 0 / 1.399 GB, free: 41.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09976/5.328, allocations: 54.34 MB / 1.452 GB, free: 20.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008822/5.337, allocations: 3.066 MB / 1.455 GB, free: 17.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004847/5.342, allocations: 112.9 kB / 1.455 GB, free: 17.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0171/5.359, allocations: 2.195 MB / 1.458 GB, free: 16.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005136/5.364, allocations: 0.5582 MB / 1.458 GB, free: 16.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002408/5.366, allocations: 398.1 kB / 1.459 GB, free: 15.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.007346/5.374, allocations: 4.329 MB / 1.463 GB, free: 12.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.8e-07/5.374, allocations: 0 / 1.463 GB, free: 12.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.01997/5.394, allocations: 3.965 MB / 1.467 GB, free: 8.145 MB / 298.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 226 * Array equations: 16 * 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.002613/5.396, allocations: 263 kB / 1.467 GB, free: 7.926 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.2145/5.611, allocations: 30.14 MB / 1.496 GB, free: 43.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/5.611, allocations: 3.188 kB / 1.496 GB, free: 43.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02633/5.637, allocations: 15.48 MB / 1.511 GB, free: 42.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005992/5.643, allocations: 0.7475 MB / 1.512 GB, free: 42.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04009/5.683, allocations: 25.4 MB / 1.537 GB, free: 33.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007976/5.691, allocations: 6.314 MB / 1.543 GB, free: 31.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.01312/5.705, allocations: 3.69 MB / 1.547 GB, free: 31.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003924/5.709, allocations: 0.813 MB / 1.548 GB, free: 30.55 MB / 298.7 MB Notification: Performance of SimCode: time 9.31e-07/5.709, allocations: 0 / 1.548 GB, free: 30.55 MB / 298.7 MB Notification: Performance of Templates: time 0.8683/6.577, allocations: 261 MB / 1.802 GB, free: 72.34 MB / 330.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1)