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.0008437/0.000844, allocations: 92.78 kB / 16.31 MB, free: 5.602 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.0008886/0.0008886, allocations: 181.6 kB / 17.21 MB, free: 5.52 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.654/1.654, allocations: 205.4 MB / 223.4 MB, free: 13.07 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.0004203/0.0004203, allocations: 12 kB / 280.2 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1156, allocations: 47.58 MB / 327.7 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.04986/0.1655, allocations: 50.27 MB / 378 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2486/0.4141, allocations: 11.29 MB / 389.3 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01319/0.4274, allocations: 242.4 kB / 389.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01004/0.4374, allocations: 2.57 MB / 392.1 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02538/0.4628, allocations: 7.72 MB / 399.8 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005517/0.4684, allocations: 0.9109 MB / 400.7 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.05194/0.5204, allocations: 35.7 MB / 436.4 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01282/0.5332, allocations: 6.589 MB / 443 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005209/0.5385, allocations: 1.655 MB / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005625/0.5441, allocations: 2.55 MB / 447.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001589/0.5458, allocations: 188 kB / 447.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004329/0.5501, allocations: 1.173 MB / 448.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005041/0.5552, allocations: 2.192 MB / 450.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002857/0.5581, allocations: 1.039 MB / 451.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.5691, allocations: 7.436 MB / 459.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5691, allocations: 0 / 459.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5691, allocations: 0 / 459.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004047/0.5695, allocations: 0 / 459.2 MB, free: 14.14 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01413/0.5837, allocations: 5.002 MB / 464.2 MB, free: 9.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.5837, allocations: 8.031 kB / 464.3 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.5949, allocations: 2.601 MB / 466.9 MB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009959/0.6049, allocations: 3.785 MB / 470.6 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.6052, allocations: 303.7 kB / 470.9 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001717/0.6069, allocations: 438.4 kB / 471.4 MB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02637/0.6333, allocations: 12.41 MB / 483.8 MB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001468/0.6335, allocations: 47.53 kB / 483.8 MB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00052/0.634, allocations: 190.4 kB / 484 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003133/0.6372, allocations: 2.035 MB / 486 MB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02545/0.6626, allocations: 10.54 MB / 496.6 MB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07058/0.7333, allocations: 44.36 MB / 0.5283 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/0.7462, allocations: 4.875 MB / 0.533 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003026/0.7493, allocations: 2.002 MB / 0.535 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.261/1.01, allocations: 7.095 MB / 0.5419 GB, free: 163.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.314e-05/1.01, allocations: 51.39 kB / 0.542 GB, free: 163.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 5.42e-06/1.01, allocations: 8.109 kB / 0.542 GB, free: 163.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.06344/1.074, allocations: 19.73 MB / 0.5612 GB, free: 159.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/1.074, allocations: 205.5 kB / 0.5614 GB, free: 159.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005837/1.08, allocations: 4.46 MB / 0.5658 GB, free: 157.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004389/1.08, allocations: 57.39 kB / 0.5658 GB, free: 157.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002029/1.082, allocations: 3.52 MB / 0.5693 GB, free: 154.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009416/1.083, allocations: 0.8385 MB / 0.5701 GB, free: 153.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/1.084, allocations: 131.7 kB / 0.5702 GB, free: 153.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000285/1.084, allocations: 0.586 MB / 0.5708 GB, free: 153.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003196/1.087, allocations: 2.333 MB / 0.5731 GB, free: 151.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004833/1.092, allocations: 6.14 MB / 0.5791 GB, free: 143.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005096/1.097, allocations: 3.716 MB / 0.5827 GB, free: 139.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.819e-05/1.097, allocations: 40 kB / 0.5827 GB, free: 139.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01673/1.114, allocations: 9.5 MB / 0.592 GB, free: 130 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.893e-05/1.114, allocations: 60 kB / 0.5921 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/1.114, allocations: 132 kB / 0.5922 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00361/1.118, allocations: 1.392 MB / 0.5935 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004601/1.122, allocations: 1.474 MB / 0.595 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009715/1.132, allocations: 7.962 MB / 0.6028 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005224/1.137, allocations: 355.4 kB / 0.6031 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008865/1.138, allocations: 389.4 kB / 0.6035 GB, free: 118.1 MB / 446.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.004266/1.143, allocations: 2.495 MB / 0.6059 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007793/1.143, allocations: 402.8 kB / 0.6063 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007129/1.151, allocations: 4.106 MB / 0.6103 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.412e-05/1.151, allocations: 21.02 kB / 0.6103 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/1.151, allocations: 12 kB / 0.6103 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/1.151, allocations: 16.66 kB / 0.6103 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/1.167, allocations: 10.36 MB / 0.6205 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.93e-05/1.167, allocations: 4.594 kB / 0.6205 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/1.169, allocations: 351.1 kB / 0.6208 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003229/1.172, allocations: 1.144 MB / 0.6219 GB, free: 99.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001877/1.172, allocations: 45.08 kB / 0.622 GB, free: 99.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008268/1.181, allocations: 6.651 MB / 0.6285 GB, free: 92.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/1.181, allocations: 14.56 kB / 0.6285 GB, free: 92.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/1.191, allocations: 6.903 MB / 0.6352 GB, free: 85.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/1.193, allocations: 0.7367 MB / 0.6359 GB, free: 84.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005417/1.194, allocations: 44.55 kB / 0.636 GB, free: 84.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/1.195, allocations: 116.5 kB / 0.6361 GB, free: 84.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/1.195, allocations: 141 kB / 0.6362 GB, free: 84.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/1.195, allocations: 65.25 kB / 0.6363 GB, free: 84.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003611/1.199, allocations: 2.795 MB / 0.639 GB, free: 81.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.199, allocations: 4 kB / 0.639 GB, free: 81.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005373/1.204, allocations: 1.211 MB / 0.6402 GB, free: 80.16 MB / 446.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.0004948/1.205, allocations: 210.8 kB / 0.6404 GB, free: 79.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007881/1.213, allocations: 5.711 MB / 0.646 GB, free: 74.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.213, allocations: 0 / 0.646 GB, free: 74.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002382/1.215, allocations: 1.874 MB / 0.6478 GB, free: 72.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/1.219, allocations: 0.5098 MB / 0.6483 GB, free: 71.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/1.238, allocations: 13.11 MB / 0.6611 GB, free: 58.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003521/1.241, allocations: 3.875 MB / 0.6649 GB, free: 54.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004616/1.246, allocations: 1.935 MB / 0.6668 GB, free: 52.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008462/1.247, allocations: 271.3 kB / 0.667 GB, free: 52.55 MB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/1.247, allocations: 0 / 0.667 GB, free: 52.55 MB / 446.1 MB Notification: Performance of Templates: time 0.2774/1.524, allocations: 42.68 MB / 0.7087 GB, free: 149 MB / 446.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)