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.001035/0.001035, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001114/0.001114, allocations: 187.8 kB / 16.25 MB, free: 6.637 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.454/1.454, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.001182/0.001182, allocations: 52.22 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.269, allocations: 46.63 MB / 324.8 MB, free: 2.039 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.05233/0.3214, allocations: 55.46 MB / 380.3 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0305/0.3519, allocations: 11.81 MB / 392.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01439/0.3664, allocations: 243.4 kB / 392.4 MB, free: 480 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009364/0.3758, allocations: 4.048 MB / 396.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00763/0.3835, allocations: 2.013 MB / 398.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.3867, allocations: 1.034 MB / 399.4 MB, free: 9.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009117/0.3958, allocations: 5.869 MB / 405.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008663/0.4045, allocations: 5.597 MB / 410.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004773/0.4094, allocations: 2.204 MB / 413.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005055/0.4144, allocations: 3.182 MB / 416.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001964/0.4164, allocations: 0.4922 MB / 416.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004084/0.4205, allocations: 1.642 MB / 418.4 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004035/0.4246, allocations: 2.611 MB / 421 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00653/0.4312, allocations: 2.926 MB / 424 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.4447, allocations: 9.359 MB / 433.3 MB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.4448, allocations: 3.938 kB / 433.3 MB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.4448, allocations: 0 / 433.3 MB, free: 7.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003691/0.4452, allocations: 4 kB / 433.3 MB, free: 7.312 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.01705/0.4622, allocations: 6.028 MB / 439.4 MB, free: 1.207 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4623, allocations: 8.031 kB / 439.4 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/0.4737, allocations: 2.544 MB / 441.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008942/0.4827, allocations: 3.843 MB / 445.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002871/0.483, allocations: 308.3 kB / 446.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/0.4849, allocations: 443.6 kB / 446.5 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2704/0.7553, allocations: 12.4 MB / 458.9 MB, free: 109.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002425/0.7556, allocations: 50.34 kB / 458.9 MB, free: 109.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006653/0.7563, allocations: 193.1 kB / 459.1 MB, free: 109.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003684/0.76, allocations: 2.034 MB / 461.2 MB, free: 109.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02177/0.7818, allocations: 10.56 MB / 471.7 MB, free: 104.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04938/0.8312, allocations: 44.37 MB / 0.504 GB, free: 60.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/0.8426, allocations: 4.851 MB / 0.5087 GB, free: 55.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/0.8448, allocations: 2.006 MB / 0.5107 GB, free: 53.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009083/0.8539, allocations: 7.123 MB / 0.5177 GB, free: 46.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.854, allocations: 55.5 kB / 0.5177 GB, free: 46.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=179): time 5.18e-06/0.854, allocations: 0 / 0.5177 GB, free: 46.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=223): time 0.05825/0.9123, allocations: 19.63 MB / 0.5369 GB, free: 26.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.9124, allocations: 205.2 kB / 0.5371 GB, free: 26.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004968/0.9174, allocations: 4.5 MB / 0.5415 GB, free: 21.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003837/0.9178, allocations: 57.7 kB / 0.5415 GB, free: 21.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.9192, allocations: 3.517 MB / 0.545 GB, free: 17.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006002/0.9198, allocations: 0.8367 MB / 0.5458 GB, free: 17.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/0.9211, allocations: 1.345 MB / 0.5471 GB, free: 15.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.965e-05/0.9212, allocations: 309 kB / 0.5474 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002638/0.9238, allocations: 2.359 MB / 0.5497 GB, free: 13.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004162/0.928, allocations: 6.171 MB / 0.5557 GB, free: 5.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009929/0.9379, allocations: 9.166 MB / 0.5647 GB, free: 10.01 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001051/0.9381, allocations: 40 kB / 0.5647 GB, free: 9.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01942/0.9575, allocations: 9.543 MB / 0.574 GB, free: 424 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.99e-05/0.9576, allocations: 64 kB / 0.5741 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/0.9578, allocations: 132 kB / 0.5742 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004138/0.9619, allocations: 1.375 MB / 0.5756 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004777/0.9667, allocations: 1.47 MB / 0.577 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.9784, allocations: 8.523 MB / 0.5853 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004922/0.9833, allocations: 351.5 kB / 0.5856 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000921/0.9843, allocations: 388 kB / 0.586 GB, free: 3.984 MB / 414.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.004072/0.9884, allocations: 2.493 MB / 0.5885 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008144/0.9892, allocations: 402.8 kB / 0.5888 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008064/0.9973, allocations: 4.13 MB / 0.5929 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.373e-05/0.9973, allocations: 24 kB / 0.5929 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/0.9974, allocations: 8 kB / 0.5929 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/0.9974, allocations: 11.95 kB / 0.5929 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02202/1.019, allocations: 10.35 MB / 0.603 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/1.019, allocations: 4 kB / 0.603 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/1.021, allocations: 351.4 kB / 0.6034 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003602/1.025, allocations: 1.156 MB / 0.6045 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000201/1.025, allocations: 43.98 kB / 0.6045 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.222/1.247, allocations: 7.135 MB / 0.6115 GB, free: 140.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.247, allocations: 5.75 kB / 0.6115 GB, free: 140.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/1.257, allocations: 6.926 MB / 0.6183 GB, free: 137.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/1.259, allocations: 0.7346 MB / 0.619 GB, free: 137.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004489/1.259, allocations: 39.42 kB / 0.619 GB, free: 137.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/1.26, allocations: 112.1 kB / 0.6191 GB, free: 137.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003626/1.261, allocations: 146.8 kB / 0.6193 GB, free: 137.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/1.261, allocations: 64.58 kB / 0.6193 GB, free: 137.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003503/1.265, allocations: 2.82 MB / 0.6221 GB, free: 136.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 3e-07/1.265, allocations: 0 / 0.6221 GB, free: 136.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005317/1.27, allocations: 1.212 MB / 0.6233 GB, free: 136.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.0005581/1.27, allocations: 236.8 kB / 0.6235 GB, free: 136.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009564/1.28, allocations: 6.855 MB / 0.6302 GB, free: 133.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.28, allocations: 0 / 0.6302 GB, free: 133.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00219/1.282, allocations: 1.865 MB / 0.632 GB, free: 132.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/1.285, allocations: 0.5417 MB / 0.6325 GB, free: 132 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/1.303, allocations: 13.62 MB / 0.6458 GB, free: 119.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003654/1.307, allocations: 3.875 MB / 0.6496 GB, free: 115.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004335/1.311, allocations: 1.931 MB / 0.6515 GB, free: 113.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007227/1.312, allocations: 271.4 kB / 0.6518 GB, free: 113.4 MB / 430.1 MB Notification: Performance of SimCode: time 1.233e-06/1.312, allocations: 0 / 0.6518 GB, free: 113.4 MB / 430.1 MB Notification: Performance of Templates: time 0.0711/1.383, allocations: 45.87 MB / 0.6966 GB, free: 67.54 MB / 430.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)