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.0008735/0.0008733, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008068/0.008068, allocations: 171.4 kB / 16.27 MB, free: 6.648 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.578/1.578, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.0005933/0.0005934, allocations: 8 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2753, allocations: 47.58 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.05489/0.3302, allocations: 54.03 MB / 381.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03281/0.3631, allocations: 11.85 MB / 392.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01417/0.3773, allocations: 243.4 kB / 393.2 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.3795, allocations: 489.5 kB / 393.6 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007453/0.387, allocations: 2.04 MB / 395.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002935/0.39, allocations: 1.002 MB / 396.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01157/0.4016, allocations: 8.236 MB / 404.9 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01307/0.4147, allocations: 7.389 MB / 412.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004696/0.4194, allocations: 1.521 MB / 413.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005309/0.4248, allocations: 2.577 MB / 416.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001424/0.4262, allocations: 188 kB / 416.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003872/0.4301, allocations: 1.4 MB / 418 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003367/0.4335, allocations: 2.228 MB / 420.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004943/0.4385, allocations: 2.494 MB / 422.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.4504, allocations: 8.896 MB / 431.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4504, allocations: 0 / 431.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4504, allocations: 0 / 431.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003393/0.4508, allocations: 0 / 431.6 MB, free: 10.38 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.01262/0.4634, allocations: 4.929 MB / 436.5 MB, free: 5.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.4635, allocations: 12.02 kB / 436.5 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01259/0.4761, allocations: 2.591 MB / 439.1 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01092/0.4871, allocations: 3.851 MB / 443 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004268/0.4875, allocations: 308 kB / 443.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002359/0.4899, allocations: 439.6 kB / 443.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02721/0.5172, allocations: 12.44 MB / 456.1 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001779/0.5174, allocations: 51.58 kB / 456.2 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000541/0.5179, allocations: 187.9 kB / 456.4 MB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2222/0.7401, allocations: 2.035 MB / 458.4 MB, free: 110.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02247/0.7626, allocations: 10.58 MB / 469 MB, free: 107.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05432/0.817, allocations: 44.37 MB / 0.5013 GB, free: 62.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0117/0.8287, allocations: 4.892 MB / 0.5061 GB, free: 57.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002412/0.8312, allocations: 2.006 MB / 0.5081 GB, free: 55.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009997/0.8412, allocations: 7.116 MB / 0.515 GB, free: 48.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.8413, allocations: 59.44 kB / 0.5151 GB, free: 48.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=179): time 5.891e-06/0.8413, allocations: 0 / 0.5151 GB, free: 48.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=223): time 0.06327/0.9046, allocations: 19.75 MB / 0.5344 GB, free: 28.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/0.9047, allocations: 213.9 kB / 0.5346 GB, free: 28.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005721/0.9105, allocations: 4.489 MB / 0.539 GB, free: 23.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004376/0.9109, allocations: 61.7 kB / 0.539 GB, free: 23.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001861/0.9128, allocations: 3.512 MB / 0.5424 GB, free: 19.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007524/0.9136, allocations: 0.8426 MB / 0.5433 GB, free: 19.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005812/0.9141, allocations: 0.575 MB / 0.5438 GB, free: 18.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.9142, allocations: 301.1 kB / 0.5441 GB, free: 18.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003007/0.9172, allocations: 2.363 MB / 0.5464 GB, free: 15.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004279/0.9215, allocations: 6.163 MB / 0.5524 GB, free: 7.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008945/0.9305, allocations: 9.166 MB / 0.5614 GB, free: 12.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.701e-05/0.9306, allocations: 43.94 kB / 0.5614 GB, free: 12.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01954/0.9502, allocations: 9.552 MB / 0.5708 GB, free: 3.172 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.9503, allocations: 60 kB / 0.5708 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001723/0.9505, allocations: 132.9 kB / 0.5709 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004502/0.955, allocations: 1.378 MB / 0.5723 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005694/0.9607, allocations: 1.47 MB / 0.5737 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/0.9728, allocations: 7.971 MB / 0.5815 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005417/0.9783, allocations: 355.5 kB / 0.5818 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/0.9795, allocations: 388 kB / 0.5822 GB, free: 7.301 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.005352/0.9849, allocations: 2.493 MB / 0.5847 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/0.986, allocations: 402.8 kB / 0.585 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009168/0.9951, allocations: 4.13 MB / 0.5891 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.038e-05/0.9952, allocations: 24.47 kB / 0.5891 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.589e-05/0.9953, allocations: 11.94 kB / 0.5891 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.033e-05/0.9953, allocations: 7.969 kB / 0.5891 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0256/1.021, allocations: 10.36 MB / 0.5992 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-05/1.021, allocations: 8 kB / 0.5992 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/1.023, allocations: 355.4 kB / 0.5996 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003981/1.027, allocations: 1.148 MB / 0.6007 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00036/1.027, allocations: 43.98 kB / 0.6007 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2607/1.288, allocations: 6.67 MB / 0.6072 GB, free: 139.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/1.288, allocations: 9.875 kB / 0.6073 GB, free: 139.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/1.3, allocations: 6.91 MB / 0.614 GB, free: 137.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/1.302, allocations: 0.737 MB / 0.6147 GB, free: 137.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006407/1.302, allocations: 46.64 kB / 0.6148 GB, free: 137.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/1.304, allocations: 113.4 kB / 0.6149 GB, free: 137.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000374/1.304, allocations: 143.5 kB / 0.615 GB, free: 137.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.304, allocations: 63.22 kB / 0.6151 GB, free: 137.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004063/1.308, allocations: 2.822 MB / 0.6178 GB, free: 136.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.308, allocations: 0 / 0.6178 GB, free: 136.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006074/1.314, allocations: 1.213 MB / 0.619 GB, free: 136.4 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.0006132/1.315, allocations: 233.4 kB / 0.6192 GB, free: 136.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008772/1.324, allocations: 5.744 MB / 0.6248 GB, free: 134.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-05/1.324, allocations: 0 / 0.6248 GB, free: 134.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003141/1.327, allocations: 1.874 MB / 0.6267 GB, free: 133.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007392/1.334, allocations: 0.5145 MB / 0.6272 GB, free: 133.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02259/1.357, allocations: 13.68 MB / 0.6405 GB, free: 122.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006623/1.364, allocations: 3.886 MB / 0.6443 GB, free: 119.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005277/1.369, allocations: 1.929 MB / 0.6462 GB, free: 117.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009388/1.37, allocations: 263.4 kB / 0.6465 GB, free: 117.5 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/1.37, allocations: 0 / 0.6465 GB, free: 117.5 MB / 430.1 MB Notification: Performance of Templates: time 0.07393/1.444, allocations: 43.57 MB / 0.689 GB, free: 73.93 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)