Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.Fourbar2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001199/0.001199, allocations: 156.5 kB / 7.632 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.265/1.265, allocations: 170.7 MB / 178.7 MB, free: 7.035 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.001571/0.00157, allocations: 100.6 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.327e-05/2.312e-05, allocations: 4 kB / 262.2 MB, free: 3.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2362, allocations: 38.75 MB / 301 MB, free: 39.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1092/0.3455, allocations: 87.74 MB / 388.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.3459, allocations: 83.95 kB / 388.8 MB, free: 7.785 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4642/0.8101, allocations: 123.8 MB / 0.5006 GB, free: 37.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.8102, allocations: 0 / 0.5006 GB, free: 37.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003037/0.8105, allocations: 116 kB / 0.5007 GB, free: 37.82 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2237 * Number of variables: 2237 Notification: Performance of Generate backend data structure: time 0.01951/0.83, allocations: 6.32 MB / 0.5069 GB, free: 31.44 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.83, allocations: 12.03 kB / 0.5069 GB, free: 31.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03046/0.8605, allocations: 8.311 MB / 0.515 GB, free: 23.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01852/0.8791, allocations: 7.251 MB / 0.5221 GB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/0.8795, allocations: 188 kB / 0.5223 GB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004276/0.8838, allocations: 351.9 kB / 0.5226 GB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01841/0.9022, allocations: 10.12 MB / 0.5325 GB, free: 5.207 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03263/0.9349, allocations: 14.05 MB / 0.5462 GB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002941/0.9352, allocations: 67.34 kB / 0.5463 GB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001198/0.9364, allocations: 36 kB / 0.5463 GB, free: 5.895 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002241/0.9387, allocations: 1.615 MB / 0.5479 GB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2832/1.222, allocations: 61.4 MB / 0.6078 GB, free: 30.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006716/1.229, allocations: 5.561 MB / 0.6133 GB, free: 27.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004161/1.233, allocations: 3.362 MB / 0.6165 GB, free: 26.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02001/1.253, allocations: 14.04 MB / 0.6303 GB, free: 19.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/1.253, allocations: 63.28 kB / 0.6303 GB, free: 19.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=286): time 6.603e-06/1.253, allocations: 0 / 0.6303 GB, free: 19.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=336): time 0.06763/1.321, allocations: 30.91 MB / 0.6605 GB, free: 2.082 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/1.321, allocations: 210 kB / 0.6607 GB, free: 1.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009005/1.33, allocations: 4.483 MB / 0.6651 GB, free: 14.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007512/1.331, allocations: 29.7 kB / 0.6651 GB, free: 14.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003208/1.334, allocations: 4.52 MB / 0.6695 GB, free: 10.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001522/1.335, allocations: 1.211 MB / 0.6707 GB, free: 9.488 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004164/1.336, allocations: 0 / 0.6707 GB, free: 9.488 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004445/1.336, allocations: 0.6954 MB / 0.6714 GB, free: 8.895 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005591/1.342, allocations: 4.367 MB / 0.6756 GB, free: 4.945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00894/1.351, allocations: 9.547 MB / 0.685 GB, free: 9.617 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009516/1.36, allocations: 6.369 MB / 0.6912 GB, free: 4.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.707e-05/1.36, allocations: 55.95 kB / 0.6912 GB, free: 4.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.2489/1.609, allocations: 17.64 MB / 0.7085 GB, free: 85.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/1.609, allocations: 84 kB / 0.7086 GB, free: 85.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003523/1.61, allocations: 184.5 kB / 0.7087 GB, free: 85.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02276/1.633, allocations: 5.625 MB / 0.7142 GB, free: 85.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007918/1.641, allocations: 2.131 MB / 0.7163 GB, free: 85.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02533/1.666, allocations: 21.61 MB / 0.7374 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007978/1.674, allocations: 389.9 kB / 0.7378 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002363/1.676, allocations: 0.5306 MB / 0.7383 GB, free: 80.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 840 * Number of states: 0 () * Number of discrete variables: 42 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1105): * Single equations (assignments): 1097 * 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.002419/1.679, allocations: 0.5564 MB / 0.7388 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/1.68, allocations: 479.2 kB / 0.7393 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02765/1.708, allocations: 12.02 MB / 0.751 GB, free: 76.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001127/1.708, allocations: 58.42 kB / 0.7511 GB, free: 76.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.059e-05/1.708, allocations: 7.312 kB / 0.7511 GB, free: 76.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.913e-05/1.708, allocations: 20.28 kB / 0.7511 GB, free: 76.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04263/1.751, allocations: 22.48 MB / 0.7731 GB, free: 64.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-05/1.751, allocations: 4 kB / 0.7731 GB, free: 64.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003085/1.754, allocations: 0.5674 MB / 0.7736 GB, free: 64.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01771/1.772, allocations: 4.626 MB / 0.7781 GB, free: 60.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007079/1.772, allocations: 19.98 kB / 0.7782 GB, free: 60.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01874/1.791, allocations: 17.32 MB / 0.7951 GB, free: 43.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.729e-06/1.791, allocations: 15.89 kB / 0.7951 GB, free: 43.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03034/1.821, allocations: 16.96 MB / 0.8117 GB, free: 25.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003306/1.825, allocations: 1.179 MB / 0.8128 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/1.826, allocations: 11.98 kB / 0.8128 GB, free: 24.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002876/1.829, allocations: 205.6 kB / 0.813 GB, free: 24.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005824/1.829, allocations: 188.3 kB / 0.8132 GB, free: 24.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002516/1.83, allocations: 88.69 kB / 0.8133 GB, free: 24.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004365/1.834, allocations: 2.849 MB / 0.8161 GB, free: 21.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.834, allocations: 0 / 0.8161 GB, free: 21.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.009747/1.844, allocations: 1.489 MB / 0.8175 GB, free: 19.79 MB / 378.7 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 () * 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.001076/1.845, allocations: 160 kB / 0.8177 GB, free: 19.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01451/1.859, allocations: 9.988 MB / 0.8274 GB, free: 9.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/1.86, allocations: 0 / 0.8274 GB, free: 9.691 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2079/2.068, allocations: 3.801 MB / 0.8311 GB, free: 83.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/2.071, allocations: 465.6 kB / 0.8316 GB, free: 83.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02457/2.095, allocations: 13.3 MB / 0.8446 GB, free: 81.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006303/2.102, allocations: 4.747 MB / 0.8492 GB, free: 80.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.008698/2.11, allocations: 3.074 MB / 0.8522 GB, free: 80.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/2.112, allocations: 338.8 kB / 0.8525 GB, free: 80.73 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/2.112, allocations: 0.5625 kB / 0.8525 GB, free: 80.73 MB / 378.7 MB Notification: Performance of Templates: time 0.09699/2.209, allocations: 67.56 MB / 0.9185 GB, free: 47.58 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1)