Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.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.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01115/0.01115, allocations: 166.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.231/1.231, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001986/0.001986, allocations: 106.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003395, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2392, allocations: 38.77 MB / 312.9 MB, free: 38.82 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.3508, allocations: 83.11 MB / 396 MB, free: 7.398 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.3511, allocations: 87.95 kB / 396.1 MB, free: 7.312 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4682/0.8194, allocations: 122.3 MB / 0.5063 GB, free: 5.133 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.8194, allocations: 0 / 0.5063 GB, free: 5.133 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003775/0.8198, allocations: 124 kB / 0.5064 GB, free: 5.012 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2049 * Number of variables: 2049 Notification: Performance of Generate backend data structure: time 0.02649/0.8463, allocations: 7.104 MB / 0.5133 GB, free: 13.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.8464, allocations: 16.03 kB / 0.5133 GB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03678/0.8832, allocations: 9.411 MB / 0.5225 GB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02344/0.9067, allocations: 8.594 MB / 0.5309 GB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006303/0.9074, allocations: 427.3 kB / 0.5313 GB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004355/0.9117, allocations: 0.5739 MB / 0.5319 GB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2736/1.185, allocations: 14.79 MB / 0.5463 GB, free: 49.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002919/1.186, allocations: 77.78 kB / 0.5464 GB, free: 49.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008812/1.187, allocations: 271.2 kB / 0.5467 GB, free: 49.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001781/1.188, allocations: 1.447 MB / 0.5481 GB, free: 49.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02752/1.216, allocations: 12.98 MB / 0.5607 GB, free: 49.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07659/1.293, allocations: 64.56 MB / 0.6238 GB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0173/1.31, allocations: 7.863 MB / 0.6315 GB, free: 7.312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01831/1.328, allocations: 12.99 MB / 0.6441 GB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/1.328, allocations: 72.98 kB / 0.6442 GB, free: 1.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=340): time 4.929e-06/1.328, allocations: 0 / 0.6442 GB, free: 1.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=604): time 1.81/3.138, allocations: 266.3 MB / 0.9043 GB, free: 59.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/3.138, allocations: 269.9 kB / 0.9046 GB, free: 59.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007241/3.146, allocations: 4.763 MB / 0.9092 GB, free: 54.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002075/3.148, allocations: 125.7 kB / 0.9093 GB, free: 54.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002421/3.15, allocations: 3.983 MB / 0.9132 GB, free: 50.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002866/3.153, allocations: 2.11 MB / 0.9153 GB, free: 48.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008547/3.154, allocations: 190.7 kB / 0.9155 GB, free: 48.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003704/3.154, allocations: 0.7146 MB / 0.9162 GB, free: 47.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01057/3.165, allocations: 8.667 MB / 0.9246 GB, free: 39.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01368/3.179, allocations: 12.76 MB / 0.9371 GB, free: 24.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01391/3.193, allocations: 10.57 MB / 0.9474 GB, free: 13.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.423e-05/3.193, allocations: 39.61 kB / 0.9475 GB, free: 13.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.3269/3.52, allocations: 40.31 MB / 0.9868 GB, free: 68.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/3.52, allocations: 61.19 kB / 0.9869 GB, free: 68.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001912/3.52, allocations: 139.9 kB / 0.987 GB, free: 68.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06377/3.584, allocations: 21.54 MB / 1.008 GB, free: 65.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005423/3.589, allocations: 1.432 MB / 1.009 GB, free: 65.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4404/4.03, allocations: 151.1 MB / 1.157 GB, free: 63.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01135/4.041, allocations: 0.7305 MB / 1.158 GB, free: 63.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003515/4.045, allocations: 0.5291 MB / 1.158 GB, free: 63.69 MB / 394.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.009013/4.054, allocations: 3.112 MB / 1.161 GB, free: 62.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001779/4.055, allocations: 0.5955 MB / 1.162 GB, free: 62.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07474/4.13, allocations: 36.3 MB / 1.197 GB, free: 39.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.194e-05/4.13, allocations: 63.41 kB / 1.197 GB, free: 39.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001508/4.131, allocations: 64 kB / 1.197 GB, free: 39.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001304/4.131, allocations: 30.44 kB / 1.198 GB, free: 39.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3322/4.463, allocations: 57.19 MB / 1.253 GB, free: 73.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.326e-05/4.463, allocations: 4.625 kB / 1.253 GB, free: 73.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/4.465, allocations: 272.2 kB / 1.254 GB, free: 73.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05787/4.522, allocations: 20.75 MB / 1.274 GB, free: 73.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002555/4.525, allocations: 98.31 kB / 1.274 GB, free: 73.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4295/4.955, allocations: 138.9 MB / 1.41 GB, free: 69.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/4.955, allocations: 6.812 kB / 1.41 GB, free: 69.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09139/5.046, allocations: 48.8 MB / 1.457 GB, free: 53.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00811/5.054, allocations: 2.405 MB / 1.46 GB, free: 51.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003563/5.058, allocations: 101.8 kB / 1.46 GB, free: 51.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008848/5.067, allocations: 0.4973 MB / 1.46 GB, free: 50.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004581/5.071, allocations: 0.4999 MB / 1.461 GB, free: 50.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001359/5.073, allocations: 143.1 kB / 1.461 GB, free: 50.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.006628/5.079, allocations: 3.41 MB / 1.464 GB, free: 47.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.82e-07/5.079, allocations: 7.062 kB / 1.464 GB, free: 47.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.02041/5.1, allocations: 3.427 MB / 1.468 GB, free: 44.09 MB / 394.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.002796/5.103, allocations: 238.5 kB / 1.468 GB, free: 43.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.03732/5.14, allocations: 24.51 MB / 1.492 GB, free: 22.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/5.14, allocations: 4 kB / 1.492 GB, free: 22.81 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02233/5.162, allocations: 13.81 MB / 1.505 GB, free: 10.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005994/5.168, allocations: 0.6963 MB / 1.506 GB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3252/5.494, allocations: 26.46 MB / 1.532 GB, free: 64.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00758/5.501, allocations: 5.317 MB / 1.537 GB, free: 63.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005485/5.507, allocations: 2.081 MB / 1.539 GB, free: 63.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/5.508, allocations: 302.9 kB / 1.539 GB, free: 63.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/5.508, allocations: 0 / 1.539 GB, free: 63.34 MB / 394.7 MB Notification: Performance of Templates: time 0.6012/6.109, allocations: 223.3 MB / 1.757 GB, free: 28.24 MB / 410.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1)