Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.Fourbar_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 108.2 kB / 16.92 MB, free: 5.754 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.0009696/0.0009696, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.432/1.432, allocations: 205.1 MB / 223.7 MB, free: 12.34 MB / 190.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.001248/0.001248, allocations: 55.92 kB / 280 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1049, allocations: 46.63 MB / 326.6 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.0145/0.1195, allocations: 13.52 MB / 340.1 MB, free: 6.895 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.1305, allocations: 4.866 MB / 345 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002613/0.1332, allocations: 87.75 kB / 345.1 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007299/0.1405, allocations: 4.186 MB / 349.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006294/0.1468, allocations: 2.144 MB / 351.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.1497, allocations: 1.104 MB / 352.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00849/0.1582, allocations: 5.643 MB / 358.2 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00805/0.1663, allocations: 5.321 MB / 363.5 MB, free: 15.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004489/0.1708, allocations: 2.166 MB / 365.7 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004767/0.1756, allocations: 2.867 MB / 368.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001896/0.1775, allocations: 0.4922 MB / 369 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00456/0.1821, allocations: 1.627 MB / 370.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003735/0.1859, allocations: 2.58 MB / 373.2 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00365/0.1895, allocations: 2.902 MB / 376.1 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2244/0.4139, allocations: 9.296 MB / 385.4 MB, free: 25.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.414, allocations: 3.875 kB / 385.4 MB, free: 25.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.414, allocations: 0 / 385.4 MB, free: 25.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004568/0.4145, allocations: 0 / 385.4 MB, free: 25.07 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.0227/0.4372, allocations: 6.021 MB / 391.4 MB, free: 22.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.472e-05/0.4373, allocations: 13.94 kB / 391.5 MB, free: 22.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/0.4512, allocations: 2.534 MB / 394 MB, free: 22.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/0.4632, allocations: 3.86 MB / 397.9 MB, free: 21.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000374/0.4636, allocations: 308.1 kB / 398.2 MB, free: 21.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002922/0.4665, allocations: 436 kB / 398.6 MB, free: 21.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02723/0.4937, allocations: 12.41 MB / 411 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002002/0.494, allocations: 48.47 kB / 411 MB, free: 15.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000659/0.4947, allocations: 188.2 kB / 411.2 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002882/0.4975, allocations: 2.038 MB / 413.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02149/0.519, allocations: 10.57 MB / 423.8 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07313/0.5922, allocations: 44.37 MB / 468.2 MB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0139/0.6062, allocations: 4.847 MB / 473.1 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003264/0.6095, allocations: 2.002 MB / 475.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01466/0.6242, allocations: 7.118 MB / 482.2 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.356e-05/0.6243, allocations: 51.56 kB / 482.2 MB, free: 9.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=179): time 6.292e-06/0.6243, allocations: 4 kB / 482.2 MB, free: 9.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=223): time 0.07494/0.6992, allocations: 19.64 MB / 0.4901 GB, free: 5.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.6994, allocations: 205.1 kB / 0.4903 GB, free: 5.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01007/0.7095, allocations: 4.493 MB / 0.4947 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000523/0.71, allocations: 57.7 kB / 0.4947 GB, free: 0.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003261/0.7133, allocations: 3.519 MB / 0.4982 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001448/0.7148, allocations: 0.8445 MB / 0.499 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00357/0.7184, allocations: 1.336 MB / 0.5003 GB, free: 11.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.7185, allocations: 301.1 kB / 0.5006 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004186/0.7227, allocations: 2.367 MB / 0.5029 GB, free: 8.566 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006739/0.7294, allocations: 6.165 MB / 0.5089 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/0.7407, allocations: 9.158 MB / 0.5179 GB, free: 6.125 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/0.7409, allocations: 40 kB / 0.5179 GB, free: 6.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.2227/0.9636, allocations: 9.553 MB / 0.5272 GB, free: 141.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.9638, allocations: 62.72 kB / 0.5273 GB, free: 141.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002388/0.964, allocations: 131 kB / 0.5274 GB, free: 141.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004688/0.9687, allocations: 1.382 MB / 0.5288 GB, free: 141.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005144/0.9739, allocations: 1.471 MB / 0.5302 GB, free: 141.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/0.9848, allocations: 8.515 MB / 0.5385 GB, free: 138.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00604/0.9909, allocations: 352.9 kB / 0.5389 GB, free: 138.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007995/0.9917, allocations: 390.9 kB / 0.5392 GB, free: 138.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004558/0.9963, allocations: 2.494 MB / 0.5417 GB, free: 137.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007885/0.9971, allocations: 397.3 kB / 0.5421 GB, free: 137.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007595/1.005, allocations: 4.117 MB / 0.5461 GB, free: 135.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/1.005, allocations: 27.53 kB / 0.5461 GB, free: 135.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/1.005, allocations: 7.938 kB / 0.5461 GB, free: 135.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/1.005, allocations: 15.3 kB / 0.5461 GB, free: 135.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/1.022, allocations: 10.35 MB / 0.5562 GB, free: 129.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/1.022, allocations: 4 kB / 0.5562 GB, free: 129.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/1.024, allocations: 350.1 kB / 0.5566 GB, free: 129.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003398/1.027, allocations: 1.145 MB / 0.5577 GB, free: 128.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/1.027, allocations: 44 kB / 0.5577 GB, free: 128.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00842/1.036, allocations: 7.131 MB / 0.5647 GB, free: 121 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.036, allocations: 4 kB / 0.5647 GB, free: 121 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009665/1.045, allocations: 6.913 MB / 0.5714 GB, free: 114.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/1.047, allocations: 0.7259 MB / 0.5722 GB, free: 113.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005217/1.048, allocations: 43.98 kB / 0.5722 GB, free: 113.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.049, allocations: 107.9 kB / 0.5723 GB, free: 113.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003245/1.05, allocations: 143.7 kB / 0.5724 GB, free: 113.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/1.05, allocations: 67.98 kB / 0.5725 GB, free: 113.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003811/1.054, allocations: 2.815 MB / 0.5752 GB, free: 110.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.054, allocations: 0 / 0.5752 GB, free: 110.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005509/1.059, allocations: 1.219 MB / 0.5764 GB, free: 109.2 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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005241/1.06, allocations: 235.7 kB / 0.5767 GB, free: 109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009651/1.069, allocations: 6.86 MB / 0.5834 GB, free: 102.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/1.069, allocations: 4 kB / 0.5834 GB, free: 102.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002177/1.072, allocations: 1.875 MB / 0.5852 GB, free: 100.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/1.075, allocations: 0.5332 MB / 0.5857 GB, free: 99.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/1.092, allocations: 11.19 MB / 0.5966 GB, free: 88.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003597/1.095, allocations: 3.876 MB / 0.6004 GB, free: 84.74 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004498/1.1, allocations: 1.926 MB / 0.6023 GB, free: 82.81 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007306/1.101, allocations: 275.4 kB / 0.6026 GB, free: 82.54 MB / 430.1 MB Notification: Performance of SimCode: time 1.603e-06/1.101, allocations: 0 / 0.6026 GB, free: 82.54 MB / 430.1 MB Notification: Performance of Templates: time 0.07512/1.176, allocations: 45.9 MB / 0.6474 GB, free: 36.67 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1)