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.001471/0.001471, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.5/1.5, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.00124/0.00124, allocations: 59.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2771, allocations: 46.63 MB / 325.3 MB, free: 1.973 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01589/0.293, allocations: 13.51 MB / 338.8 MB, free: 6.473 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.304, allocations: 4.863 MB / 343.7 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.3071, allocations: 91.69 kB / 343.8 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007242/0.3144, allocations: 4.182 MB / 348 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006521/0.3209, allocations: 2.14 MB / 350.1 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.3236, allocations: 1.119 MB / 351.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008234/0.3319, allocations: 5.646 MB / 356.9 MB, free: 4.375 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005927/0.3378, allocations: 5.324 MB / 362.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00407/0.3419, allocations: 2.154 MB / 364.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004012/0.346, allocations: 2.878 MB / 367.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001018/0.347, allocations: 0.4922 MB / 367.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00344/0.3505, allocations: 1.619 MB / 369.3 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002947/0.3534, allocations: 2.576 MB / 371.9 MB, free: 5.242 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003188/0.3566, allocations: 2.906 MB / 374.8 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.3672, allocations: 9.296 MB / 384.1 MB, free: 8.992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.3672, allocations: 3.938 kB / 384.1 MB, free: 8.988 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.3672, allocations: 0 / 384.1 MB, free: 8.988 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003182/0.3676, allocations: 0 / 384.1 MB, free: 8.988 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.01267/0.3803, allocations: 6.036 MB / 390.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.3803, allocations: 12.03 kB / 390.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/0.3909, allocations: 2.54 MB / 392.7 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008204/0.3992, allocations: 3.855 MB / 396.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002337/0.3994, allocations: 304.3 kB / 396.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/0.4005, allocations: 439.6 kB / 397.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/0.4253, allocations: 12.4 MB / 409.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001943/0.4256, allocations: 55.44 kB / 409.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006409/0.4262, allocations: 191.9 kB / 409.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0031/0.4293, allocations: 2.035 MB / 412 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02164/0.451, allocations: 10.55 MB / 422.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2882/0.7393, allocations: 44.37 MB / 466.9 MB, free: 82.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.7514, allocations: 4.847 MB / 471.7 MB, free: 81.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002678/0.7541, allocations: 2.008 MB / 473.7 MB, free: 81.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009735/0.7638, allocations: 7.117 MB / 480.9 MB, free: 77.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.7639, allocations: 54.88 kB / 480.9 MB, free: 77.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=179): time 6.102e-06/0.7639, allocations: 3.469 kB / 480.9 MB, free: 77.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=223): time 0.06475/0.8287, allocations: 19.65 MB / 0.4888 GB, free: 62.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.8288, allocations: 205.9 kB / 0.489 GB, free: 62.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005453/0.8343, allocations: 4.492 MB / 0.4934 GB, free: 57.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004142/0.8347, allocations: 57.7 kB / 0.4935 GB, free: 57.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001747/0.8365, allocations: 3.522 MB / 0.4969 GB, free: 53.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000851/0.8373, allocations: 0.84 MB / 0.4977 GB, free: 53.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001451/0.8388, allocations: 1.34 MB / 0.499 GB, free: 51.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.362e-05/0.8389, allocations: 305.1 kB / 0.4993 GB, free: 51.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002801/0.8417, allocations: 2.366 MB / 0.5016 GB, free: 49.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004604/0.8463, allocations: 6.161 MB / 0.5076 GB, free: 41.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009066/0.8554, allocations: 9.172 MB / 0.5166 GB, free: 30.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/0.8555, allocations: 36 kB / 0.5166 GB, free: 30.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01674/0.8723, allocations: 9.547 MB / 0.526 GB, free: 20.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.949e-05/0.8724, allocations: 60.22 kB / 0.526 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/0.8726, allocations: 136 kB / 0.5262 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003755/0.8763, allocations: 1.374 MB / 0.5275 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00455/0.8809, allocations: 1.478 MB / 0.5289 GB, free: 17.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.892, allocations: 8.501 MB / 0.5372 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006266/0.8983, allocations: 355.5 kB / 0.5376 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00124/0.8996, allocations: 390 kB / 0.5379 GB, free: 8.211 MB / 382.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.004817/0.9044, allocations: 2.489 MB / 0.5404 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/0.9055, allocations: 402.8 kB / 0.5408 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007303/0.9128, allocations: 4.13 MB / 0.5448 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-05/0.9129, allocations: 24 kB / 0.5448 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.9129, allocations: 11.98 kB / 0.5448 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.9129, allocations: 7.969 kB / 0.5448 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0195/0.9324, allocations: 10.36 MB / 0.555 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/0.9325, allocations: 11.94 kB / 0.555 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/0.9341, allocations: 340.1 kB / 0.5553 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003717/0.9378, allocations: 1.156 MB / 0.5564 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001665/0.938, allocations: 43.98 kB / 0.5565 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.9486, allocations: 7.124 MB / 0.5634 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/0.9486, allocations: 8 kB / 0.5634 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/0.9609, allocations: 6.906 MB / 0.5702 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002309/0.9633, allocations: 0.7305 MB / 0.5709 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004699/0.9637, allocations: 40 kB / 0.5709 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/0.9653, allocations: 115.8 kB / 0.571 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003695/0.9657, allocations: 141.1 kB / 0.5712 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.9658, allocations: 63.44 kB / 0.5712 GB, free: 5.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004466/0.9703, allocations: 2.826 MB / 0.574 GB, free: 2.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9703, allocations: 0 / 0.574 GB, free: 2.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005392/0.9757, allocations: 1.219 MB / 0.5752 GB, free: 1.699 MB / 414.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.0005821/0.9763, allocations: 230.5 kB / 0.5754 GB, free: 1.477 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01163/0.9879, allocations: 6.853 MB / 0.5821 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.988, allocations: 3.938 kB / 0.5821 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002645/0.9906, allocations: 1.871 MB / 0.5839 GB, free: 8.766 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/0.9935, allocations: 0.5327 MB / 0.5844 GB, free: 8.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/1.012, allocations: 11.19 MB / 0.5954 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0042/1.016, allocations: 3.879 MB / 0.5992 GB, free: 9.035 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004857/1.021, allocations: 1.926 MB / 0.601 GB, free: 7.102 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006928/1.022, allocations: 275.3 kB / 0.6013 GB, free: 6.832 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/1.022, allocations: 0 / 0.6013 GB, free: 6.832 MB / 446.1 MB Notification: Performance of Templates: time 0.2587/1.281, allocations: 45.9 MB / 0.6461 GB, free: 133.6 MB / 446.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)