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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 191.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.1 MB / 222.1 MB, free: 4.68 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 51.94 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2772, allocations: 46.63 MB / 324.8 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.0579/0.3351, allocations: 53.47 MB / 378.3 MB, free: 14.44 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03474/0.3699, allocations: 11.12 MB / 389.4 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01233/0.3823, allocations: 231.4 kB / 389.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006382/0.3888, allocations: 3.031 MB / 392.7 MB, free: 16 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006661/0.3955, allocations: 2.394 MB / 395.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.3979, allocations: 0.944 MB / 396 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009699/0.4076, allocations: 6.892 MB / 402.9 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006234/0.4139, allocations: 4.548 MB / 407.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/0.4179, allocations: 2.289 MB / 409.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005121/0.4231, allocations: 3.587 MB / 413.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001403/0.4245, allocations: 484 kB / 413.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.4279, allocations: 1.502 MB / 415.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003302/0.4312, allocations: 2.911 MB / 418.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004451/0.4357, allocations: 3.289 MB / 421.5 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.4479, allocations: 10.13 MB / 431.6 MB, free: 8.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.448, allocations: 3.984 kB / 431.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.448, allocations: 4 kB / 431.7 MB, free: 8.883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003511/0.4483, allocations: 0 / 431.7 MB, free: 8.883 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01928/0.4676, allocations: 7.291 MB / 438.9 MB, free: 1.508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.4677, allocations: 16.02 kB / 439 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01628/0.484, allocations: 3.942 MB / 442.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009281/0.4933, allocations: 4.2 MB / 447.1 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002842/0.4936, allocations: 316.4 kB / 447.4 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/0.4952, allocations: 439.6 kB / 447.8 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1806/0.6757, allocations: 15.72 MB / 463.6 MB, free: 106.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.6759, allocations: 60.75 kB / 463.6 MB, free: 106.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006252/0.6766, allocations: 204.3 kB / 463.8 MB, free: 106 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003955/0.6805, allocations: 3.21 MB / 467 MB, free: 105.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02202/0.7026, allocations: 14.13 MB / 481.2 MB, free: 95.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05826/0.7609, allocations: 57.77 MB / 0.5263 GB, free: 36.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/0.7725, allocations: 6.562 MB / 0.5327 GB, free: 29.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003862/0.7763, allocations: 3.684 MB / 0.5363 GB, free: 26.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01705/0.7934, allocations: 14.65 MB / 0.5506 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.7935, allocations: 68.5 kB / 0.5507 GB, free: 10.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=289): time 5.982e-06/0.7935, allocations: 0 / 0.5507 GB, free: 10.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=339): time 0.1346/0.9281, allocations: 42.38 MB / 0.5921 GB, free: 328 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001968/0.9283, allocations: 217.9 kB / 0.5923 GB, free: 64 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009782/0.9381, allocations: 5.494 MB / 0.5976 GB, free: 10.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00103/0.9392, allocations: 73.7 kB / 0.5977 GB, free: 10.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003976/0.9432, allocations: 4.354 MB / 0.602 GB, free: 6.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002272/0.9455, allocations: 1.261 MB / 0.6032 GB, free: 4.812 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003262/0.9487, allocations: 1.855 MB / 0.605 GB, free: 2.945 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9489, allocations: 301.1 kB / 0.6053 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2391/1.188, allocations: 4.806 MB / 0.61 GB, free: 143.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01099/1.199, allocations: 9.807 MB / 0.6196 GB, free: 135.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/1.215, allocations: 15.57 MB / 0.6348 GB, free: 124 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001419/1.215, allocations: 53.59 kB / 0.6348 GB, free: 124 MB / 430.1 MB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.03981/1.255, allocations: 19.56 MB / 0.6539 GB, free: 112.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.255, allocations: 80 kB / 0.654 GB, free: 112.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/1.255, allocations: 172.9 kB / 0.6542 GB, free: 112.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0197/1.275, allocations: 5.943 MB / 0.66 GB, free: 106.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007168/1.282, allocations: 2.113 MB / 0.662 GB, free: 104.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02693/1.309, allocations: 26.15 MB / 0.6876 GB, free: 78.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008011/1.317, allocations: 0.5631 MB / 0.6881 GB, free: 77.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/1.318, allocations: 0.5161 MB / 0.6886 GB, free: 77.18 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * Number of states: 0 () * Number of discrete variables: 45 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1098): * Single equations (assignments): 1090 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005036/1.323, allocations: 3.101 MB / 0.6916 GB, free: 74.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009891/1.324, allocations: 498.5 kB / 0.6921 GB, free: 73.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02639/1.351, allocations: 12.94 MB / 0.7048 GB, free: 60.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-05/1.351, allocations: 55.98 kB / 0.7048 GB, free: 60.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/1.351, allocations: 10.41 kB / 0.7048 GB, free: 60.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.974e-05/1.351, allocations: 11.95 kB / 0.7048 GB, free: 60.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04269/1.394, allocations: 24.58 MB / 0.7288 GB, free: 35.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-05/1.394, allocations: 8 kB / 0.7288 GB, free: 35.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002865/1.396, allocations: 0.5856 MB / 0.7294 GB, free: 35.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01708/1.414, allocations: 4.965 MB / 0.7343 GB, free: 30.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008237/1.414, allocations: 59.91 kB / 0.7343 GB, free: 30.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0219/1.436, allocations: 21.35 MB / 0.7552 GB, free: 8.703 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.436, allocations: 4 kB / 0.7552 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2512/1.688, allocations: 17.46 MB / 0.7722 GB, free: 128.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003231/1.691, allocations: 1.243 MB / 0.7734 GB, free: 127.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008462/1.692, allocations: 55.69 kB / 0.7735 GB, free: 127.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002662/1.694, allocations: 267.5 kB / 0.7737 GB, free: 127.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007303/1.695, allocations: 188.6 kB / 0.7739 GB, free: 127.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002659/1.695, allocations: 88.73 kB / 0.774 GB, free: 127.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004333/1.7, allocations: 3.426 MB / 0.7774 GB, free: 126.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.32e-07/1.7, allocations: 0 / 0.7774 GB, free: 126.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007613/1.707, allocations: 1.757 MB / 0.7791 GB, free: 126.3 MB / 430.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006971/1.708, allocations: 215.1 kB / 0.7793 GB, free: 126.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.02178/1.73, allocations: 15.73 MB / 0.7946 GB, free: 121.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.73, allocations: 0 / 0.7946 GB, free: 121.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004638/1.735, allocations: 4.107 MB / 0.7986 GB, free: 118.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00426/1.739, allocations: 0.6191 MB / 0.7993 GB, free: 117.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02418/1.763, allocations: 19.24 MB / 0.818 GB, free: 100.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003921/1.767, allocations: 4.631 MB / 0.8226 GB, free: 95.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.006163/1.773, allocations: 2.973 MB / 0.8255 GB, free: 92.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/1.774, allocations: 355.4 kB / 0.8258 GB, free: 92.36 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/1.774, allocations: 0 / 0.8258 GB, free: 92.36 MB / 430.1 MB Notification: Performance of Templates: time 0.1054/1.88, allocations: 81.14 MB / 0.905 GB, free: 11.04 MB / 430.1 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)