Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00164/0.001639, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.638/1.638, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001603/0.001603, allocations: 116.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.311e-05, allocations: 0 / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.09854, allocations: 44.5 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3528/0.4514, allocations: 88.74 MB / 438.2 MB, free: 6.836 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.4516, allocations: 84.52 kB / 438.3 MB, free: 6.824 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5639/1.016, allocations: 122.7 MB / 0.5478 GB, free: 67.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.016, allocations: 0 / 0.5478 GB, free: 67.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004505/1.016, allocations: 127.1 kB / 0.5479 GB, free: 67.3 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2055 * Number of variables: 2055 Notification: Performance of Generate backend data structure: time 0.02548/1.042, allocations: 6.509 MB / 0.5543 GB, free: 64.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/1.042, allocations: 10.16 kB / 0.5543 GB, free: 64.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03458/1.076, allocations: 9.431 MB / 0.5635 GB, free: 64.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02087/1.097, allocations: 8.557 MB / 0.5719 GB, free: 63.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004364/1.098, allocations: 437.2 kB / 0.5723 GB, free: 63.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003565/1.101, allocations: 0.5816 MB / 0.5728 GB, free: 63.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03159/1.133, allocations: 14.68 MB / 0.5872 GB, free: 60.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003462/1.133, allocations: 87.7 kB / 0.5873 GB, free: 60.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001237/1.134, allocations: 277.7 kB / 0.5875 GB, free: 60.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001669/1.136, allocations: 1.441 MB / 0.5889 GB, free: 60.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0284/1.164, allocations: 12.81 MB / 0.6014 GB, free: 58.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08374/1.248, allocations: 64.64 MB / 0.6646 GB, free: 3.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02726/1.276, allocations: 8.463 MB / 0.6728 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008196/1.284, allocations: 5.157 MB / 0.6779 GB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3038/1.588, allocations: 12.97 MB / 0.6905 GB, free: 76.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.09e-05/1.588, allocations: 73.02 kB / 0.6906 GB, free: 76.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=340): time 6.322e-06/1.588, allocations: 0 / 0.6906 GB, free: 76.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=604): time 0.2275/1.815, allocations: 79.75 MB / 0.7685 GB, free: 63.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/1.816, allocations: 268.8 kB / 0.7687 GB, free: 63.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008206/1.824, allocations: 4.713 MB / 0.7733 GB, free: 59.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001911/1.826, allocations: 119.2 kB / 0.7735 GB, free: 59.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002376/1.828, allocations: 3.992 MB / 0.7774 GB, free: 56.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002734/1.831, allocations: 2.113 MB / 0.7794 GB, free: 54.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008667/1.832, allocations: 192 kB / 0.7796 GB, free: 54.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003868/1.832, allocations: 0.7164 MB / 0.7803 GB, free: 53.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01007/1.842, allocations: 8.549 MB / 0.7887 GB, free: 45.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01339/1.856, allocations: 12.64 MB / 0.801 GB, free: 31.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01536/1.871, allocations: 10.51 MB / 0.8113 GB, free: 20.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002052/1.871, allocations: 43.17 kB / 0.8113 GB, free: 20.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.3633/2.235, allocations: 40.06 MB / 0.8504 GB, free: 74.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/2.235, allocations: 66.97 kB / 0.8505 GB, free: 74.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003206/2.235, allocations: 144.7 kB / 0.8506 GB, free: 74.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06274/2.298, allocations: 21.51 MB / 0.8716 GB, free: 74.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005076/2.303, allocations: 1.44 MB / 0.873 GB, free: 74.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4844/2.787, allocations: 144.4 MB / 1.014 GB, free: 83.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01166/2.799, allocations: 0.7153 MB / 1.015 GB, free: 83.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003037/2.802, allocations: 0.5365 MB / 1.015 GB, free: 83.02 MB / 442.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 () * 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.003494/2.806, allocations: 0.7237 MB / 1.016 GB, free: 82.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001931/2.808, allocations: 0.5883 MB / 1.017 GB, free: 82.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07824/2.886, allocations: 36.12 MB / 1.052 GB, free: 80.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.432e-05/2.886, allocations: 69.36 kB / 1.052 GB, free: 80.03 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000105/2.886, allocations: 68.98 kB / 1.052 GB, free: 80.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/2.886, allocations: 32.09 kB / 1.052 GB, free: 80.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1044/2.991, allocations: 57.03 MB / 1.108 GB, free: 51.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.354e-05/2.991, allocations: 4 kB / 1.108 GB, free: 51.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/2.992, allocations: 267.6 kB / 1.108 GB, free: 51.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05511/3.047, allocations: 20.72 MB / 1.128 GB, free: 30.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002208/3.05, allocations: 101.4 kB / 1.128 GB, free: 30.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5316/3.581, allocations: 132.2 MB / 1.257 GB, free: 49.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/3.581, allocations: 8.531 kB / 1.257 GB, free: 49.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08962/3.671, allocations: 48.53 MB / 1.305 GB, free: 9.656 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3142/3.985, allocations: 2.403 MB / 1.307 GB, free: 86.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002615/3.988, allocations: 102.5 kB / 1.307 GB, free: 86.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007423/3.995, allocations: 0.4959 MB / 1.308 GB, free: 86.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003168/3.999, allocations: 0.5081 MB / 1.308 GB, free: 86.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007284/3.999, allocations: 142.5 kB / 1.308 GB, free: 86.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006326/4.006, allocations: 3.353 MB / 1.312 GB, free: 86.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.61e-07/4.006, allocations: 0 / 1.312 GB, free: 86.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01847/4.024, allocations: 3.428 MB / 1.315 GB, free: 86.2 MB / 442.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 (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.002122/4.026, allocations: 236.8 kB / 1.315 GB, free: 86.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.04208/4.068, allocations: 24.19 MB / 1.339 GB, free: 85.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/4.068, allocations: 7.938 kB / 1.339 GB, free: 85.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02726/4.096, allocations: 13.57 MB / 1.352 GB, free: 84.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00646/4.102, allocations: 0.7062 MB / 1.353 GB, free: 84.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04455/4.147, allocations: 21.07 MB / 1.373 GB, free: 79.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0101/4.157, allocations: 5.308 MB / 1.378 GB, free: 77.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006372/4.163, allocations: 2.082 MB / 1.381 GB, free: 77.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/4.165, allocations: 298.2 kB / 1.381 GB, free: 77.38 MB / 442.7 MB Notification: Performance of SimCode: time 1.583e-06/4.165, allocations: 0 / 1.381 GB, free: 77.38 MB / 442.7 MB Notification: Performance of Templates: time 0.5591/4.724, allocations: 223.1 MB / 1.599 GB, free: 4.223 MB / 442.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1)