Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.0009931/0.0009934, allocations: 87.84 kB / 15.06 MB, free: 1.082 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.001/0.001, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0005126/0.0005126, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3011, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.05241/0.3535, allocations: 50.26 MB / 376.7 MB, free: 1.117 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03263/0.3862, allocations: 11.3 MB / 388 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01169/0.3979, allocations: 239.4 kB / 388.3 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008704/0.4067, allocations: 2.578 MB / 390.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02476/0.4315, allocations: 7.712 MB / 398.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004539/0.436, allocations: 0.9088 MB / 399.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0488/0.4849, allocations: 35.71 MB / 435.2 MB, free: 6.539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01083/0.4957, allocations: 6.58 MB / 441.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/0.4995, allocations: 1.658 MB / 443.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004424/0.5039, allocations: 2.543 MB / 446 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.5052, allocations: 187.9 kB / 446.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003182/0.5084, allocations: 1.186 MB / 447.3 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003509/0.5119, allocations: 2.186 MB / 449.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002235/0.5142, allocations: 1.034 MB / 450.6 MB, free: 7.074 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2451/0.7593, allocations: 7.431 MB / 458 MB, free: 43.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.7593, allocations: 0 / 458 MB, free: 43.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.7593, allocations: 0.9688 kB / 458 MB, free: 43.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005017/0.7598, allocations: 0 / 458 MB, free: 43.14 MB / 382.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.0158/0.7757, allocations: 4.998 MB / 463 MB, free: 40.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/0.7757, allocations: 12.66 kB / 463 MB, free: 40.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/0.7874, allocations: 2.586 MB / 465.6 MB, free: 40.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0085/0.7959, allocations: 3.784 MB / 469.4 MB, free: 40.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.7962, allocations: 308.3 kB / 469.7 MB, free: 40.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001562/0.7978, allocations: 440.3 kB / 470.1 MB, free: 40 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02384/0.8216, allocations: 12.4 MB / 482.5 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001637/0.8218, allocations: 53.83 kB / 482.6 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005503/0.8224, allocations: 194.4 kB / 482.7 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00275/0.8251, allocations: 2.031 MB / 484.8 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02059/0.8457, allocations: 10.54 MB / 495.3 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0547/0.9005, allocations: 44.36 MB / 0.527 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/0.9128, allocations: 4.875 MB / 0.5318 GB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002953/0.9158, allocations: 2.003 MB / 0.5337 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01235/0.9282, allocations: 7.108 MB / 0.5407 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.476e-05/0.9283, allocations: 62.61 kB / 0.5407 GB, free: 4.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=179): time 5.591e-06/0.9283, allocations: 2.188 kB / 0.5407 GB, free: 4.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=223): time 0.06992/0.9982, allocations: 19.72 MB / 0.56 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.9984, allocations: 208.4 kB / 0.5602 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007193/1.006, allocations: 4.47 MB / 0.5646 GB, free: 12.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004935/1.006, allocations: 53.7 kB / 0.5646 GB, free: 12.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00273/1.009, allocations: 3.516 MB / 0.5681 GB, free: 8.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001125/1.01, allocations: 0.8441 MB / 0.5689 GB, free: 7.855 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002996/1.01, allocations: 132 kB / 0.569 GB, free: 7.727 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003735/1.011, allocations: 0.5831 MB / 0.5696 GB, free: 7.137 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003615/1.014, allocations: 2.341 MB / 0.5719 GB, free: 4.793 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006853/1.021, allocations: 6.132 MB / 0.5778 GB, free: 12.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006458/1.028, allocations: 3.712 MB / 0.5815 GB, free: 9.262 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.241e-05/1.028, allocations: 40 kB / 0.5815 GB, free: 9.223 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01922/1.047, allocations: 9.488 MB / 0.5908 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/1.047, allocations: 60.19 kB / 0.5908 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/1.047, allocations: 136 kB / 0.591 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003936/1.051, allocations: 1.392 MB / 0.5923 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005223/1.056, allocations: 1.47 MB / 0.5938 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/1.068, allocations: 7.969 MB / 0.6015 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00565/1.074, allocations: 355.3 kB / 0.6019 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/1.075, allocations: 388 kB / 0.6022 GB, free: 4.848 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005063/1.08, allocations: 2.487 MB / 0.6047 GB, free: 2.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009282/1.081, allocations: 406.8 kB / 0.6051 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008655/1.09, allocations: 4.112 MB / 0.6091 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.507e-05/1.09, allocations: 29.62 kB / 0.6091 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.189e-05/1.09, allocations: 8 kB / 0.6091 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.111e-05/1.09, allocations: 11.95 kB / 0.6091 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02326/1.113, allocations: 10.35 MB / 0.6192 GB, free: 3.523 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-05/1.113, allocations: 4 kB / 0.6192 GB, free: 3.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.115, allocations: 352.8 kB / 0.6196 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00372/1.119, allocations: 1.148 MB / 0.6207 GB, free: 2.043 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000308/1.119, allocations: 51.73 kB / 0.6208 GB, free: 1.996 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2465/1.365, allocations: 6.642 MB / 0.6272 GB, free: 190 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/1.365, allocations: 8.094 kB / 0.6272 GB, free: 190 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/1.376, allocations: 6.895 MB / 0.634 GB, free: 187.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/1.378, allocations: 0.7397 MB / 0.6347 GB, free: 187.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005854/1.378, allocations: 49.44 kB / 0.6347 GB, free: 187.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/1.38, allocations: 107.4 kB / 0.6348 GB, free: 187 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003598/1.38, allocations: 142.1 kB / 0.635 GB, free: 187 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/1.38, allocations: 69.69 kB / 0.6351 GB, free: 187 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003839/1.384, allocations: 2.79 MB / 0.6378 GB, free: 186 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.384, allocations: 3.906 kB / 0.6378 GB, free: 186 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005378/1.389, allocations: 1.213 MB / 0.639 GB, free: 185.9 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005498/1.39, allocations: 216 kB / 0.6392 GB, free: 185.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00824/1.398, allocations: 5.707 MB / 0.6447 GB, free: 183.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/1.398, allocations: 2.156 kB / 0.6447 GB, free: 183.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002452/1.401, allocations: 1.867 MB / 0.6466 GB, free: 183 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003718/1.405, allocations: 0.5121 MB / 0.6471 GB, free: 182.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01936/1.424, allocations: 13.1 MB / 0.6599 GB, free: 171.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004092/1.428, allocations: 3.889 MB / 0.6637 GB, free: 167.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004637/1.433, allocations: 1.93 MB / 0.6655 GB, free: 165.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007887/1.434, allocations: 275.4 kB / 0.6658 GB, free: 165.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.503e-06/1.434, allocations: 0 / 0.6658 GB, free: 165.5 MB / 478.1 MB Notification: Performance of Templates: time 0.06673/1.5, allocations: 42.68 MB / 0.7075 GB, free: 122.8 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1)