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.7055/0.7055, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001832/0.001832, allocations: 138.7 kB / 151.8 MB, free: 4.984 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002621/0.0002621, allocations: 7.984 kB / 184.9 MB, free: 3.902 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1197, allocations: 25.15 MB / 210.1 MB, free: 29.73 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05973/0.1794, allocations: 48.43 MB / 258.5 MB, free: 1.348 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.1797, allocations: 79.95 kB / 258.6 MB, free: 1.27 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7805/0.9602, allocations: 226.9 MB / 485.5 MB, free: 4.629 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.9603, allocations: 0 / 485.5 MB, free: 4.629 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.000494/0.9608, allocations: 159.9 kB / 485.7 MB, free: 4.473 MB / 250.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.3199/1.281, allocations: 11 MB / 496.7 MB, free: 23.89 MB / 250.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/1.281, allocations: 14.48 kB / 496.7 MB, free: 23.89 MB / 250.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1473/1.428, allocations: 32.71 MB / 0.517 GB, free: 23.01 MB / 250.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02729/1.455, allocations: 10.72 MB / 0.5274 GB, free: 22.19 MB / 250.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006798/1.456, allocations: 0.5623 MB / 0.528 GB, free: 22.17 MB / 250.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006109/1.462, allocations: 0.7365 MB / 0.5287 GB, free: 22.16 MB / 250.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1078/1.57, allocations: 35.67 MB / 0.5635 GB, free: 13.7 MB / 266.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000568/1.571, allocations: 58.12 kB / 0.5636 GB, free: 13.66 MB / 266.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005726/1.576, allocations: 339.2 kB / 0.5639 GB, free: 13.39 MB / 266.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04602/1.622, allocations: 10.77 MB / 0.5744 GB, free: 2.609 MB / 266.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2702/1.893, allocations: 37.97 MB / 0.6115 GB, free: 38.48 MB / 266.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.693/2.586, allocations: 154.3 MB / 0.7622 GB, free: 21.97 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04616/2.632, allocations: 16.32 MB / 0.7781 GB, free: 8.473 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2914/2.923, allocations: 43.16 MB / 0.8202 GB, free: 63.29 MB / 298.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/2.924, allocations: 83.62 kB / 0.8203 GB, free: 63.25 MB / 298.8 MB Notification: Performance of pre-optimization done (n=464): time 1.045e-05/2.924, allocations: 4.812 kB / 0.8203 GB, free: 63.25 MB / 298.8 MB Notification: Performance of matching and sorting (n=728): time 1.64/4.563, allocations: 285.9 MB / 1.099 GB, free: 45.29 MB / 298.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/4.563, allocations: 278.4 kB / 1.1 GB, free: 44.97 MB / 298.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/4.573, allocations: 6.211 MB / 1.106 GB, free: 38.77 MB / 298.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002342/4.576, allocations: 136 kB / 1.106 GB, free: 38.64 MB / 298.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003186/4.579, allocations: 5.011 MB / 1.111 GB, free: 33.65 MB / 298.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004137/4.583, allocations: 2.559 MB / 1.113 GB, free: 31.11 MB / 298.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002622/4.586, allocations: 237.6 kB / 1.114 GB, free: 30.88 MB / 298.8 MB Notification: Performance of setup shared object (initialization): time 0.0006684/4.586, allocations: 0.8184 MB / 1.114 GB, free: 30.05 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1554/4.742, allocations: 14.85 MB / 1.129 GB, free: 58.48 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0348/4.777, allocations: 20.08 MB / 1.148 GB, free: 52.04 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03132/4.808, allocations: 15.81 MB / 1.164 GB, free: 51.52 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002005/4.808, allocations: 54.06 kB / 1.164 GB, free: 51.52 MB / 298.8 MB Notification: Performance of matching and sorting (n=1570) (initialization): time 0.1248/4.933, allocations: 52.24 MB / 1.215 GB, free: 33.45 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/4.933, allocations: 80 kB / 1.215 GB, free: 33.37 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002587/4.934, allocations: 176 kB / 1.215 GB, free: 33.2 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2048/5.138, allocations: 21.18 MB / 1.236 GB, free: 48.9 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007672/5.146, allocations: 2.133 MB / 1.238 GB, free: 48.9 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3335/5.48, allocations: 148.2 MB / 1.383 GB, free: 35.82 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02192/5.502, allocations: 2.58 MB / 1.385 GB, free: 35.63 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004208/5.506, allocations: 0.9066 MB / 1.386 GB, free: 35.53 MB / 298.8 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 () * Number of clocked 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.01232/5.518, allocations: 3.779 MB / 1.39 GB, free: 34.05 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002511/5.521, allocations: 0.7099 MB / 1.39 GB, free: 34.05 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09214/5.613, allocations: 40.36 MB / 1.43 GB, free: 18.77 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01444/5.627, allocations: 3.291 MB / 1.433 GB, free: 15.89 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003429/5.628, allocations: 65 kB / 1.433 GB, free: 15.83 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002013/5.628, allocations: 35.83 kB / 1.433 GB, free: 15.79 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3177/5.946, allocations: 73.7 MB / 1.505 GB, free: 39.86 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.289e-05/5.946, allocations: 9.781 kB / 1.505 GB, free: 39.86 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00277/5.949, allocations: 487.8 kB / 1.506 GB, free: 39.84 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05309/6.002, allocations: 20.33 MB / 1.526 GB, free: 28.07 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002127/6.004, allocations: 215.2 kB / 1.526 GB, free: 27.87 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4612/6.465, allocations: 135.8 MB / 1.658 GB, free: 40.66 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/6.465, allocations: 3.562 kB / 1.658 GB, free: 40.66 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1499/6.615, allocations: 65.62 MB / 1.722 GB, free: 33.08 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01024/6.625, allocations: 3.074 MB / 1.725 GB, free: 31.42 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003941/6.629, allocations: 111.4 kB / 1.726 GB, free: 31.31 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0165/6.646, allocations: 2.194 MB / 1.728 GB, free: 30.11 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005063/6.651, allocations: 0.5549 MB / 1.728 GB, free: 29.77 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00262/6.654, allocations: 390.8 kB / 1.729 GB, free: 29.44 MB / 298.8 MB Notification: Performance of sorting global known variables: time 0.009695/6.663, allocations: 4.444 MB / 1.733 GB, free: 25.81 MB / 298.8 MB Notification: Performance of sort global known variables: time 6.41e-07/6.663, allocations: 0 / 1.733 GB, free: 25.81 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.02091/6.684, allocations: 3.968 MB / 1.737 GB, free: 21.86 MB / 298.8 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 (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.002702/6.687, allocations: 265.2 kB / 1.737 GB, free: 21.63 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.2275/6.914, allocations: 37.1 MB / 1.773 GB, free: 46.34 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/6.915, allocations: 0 / 1.773 GB, free: 46.34 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.04429/6.959, allocations: 19.56 MB / 1.792 GB, free: 45.35 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006198/6.965, allocations: 0.7395 MB / 1.793 GB, free: 45.32 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06231/7.027, allocations: 35.82 MB / 1.828 GB, free: 32.62 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/7.038, allocations: 6.314 MB / 1.834 GB, free: 28 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 0.01296/7.051, allocations: 3.696 MB / 1.838 GB, free: 25.36 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00398/7.055, allocations: 0.8102 MB / 1.839 GB, free: 24.74 MB / 298.8 MB Notification: Performance of SimCode: time 7.21e-07/7.055, allocations: 0 / 1.839 GB, free: 24.74 MB / 298.8 MB Notification: Performance of Templates: time 0.7634/7.818, allocations: 261.2 MB / 2.094 GB, free: 37.12 MB / 330.8 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)