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.001296/0.001296, allocations: 112.5 kB / 15.73 MB, free: 76 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.001586/0.001587, allocations: 190.9 kB / 16.67 MB, free: 6.57 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.446/1.446, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.001194/0.001194, allocations: 45.84 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1036, allocations: 46.62 MB / 373.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01461/0.1183, allocations: 13.52 MB / 386.7 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.1285, allocations: 4.862 MB / 391.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.1313, allocations: 87.75 kB / 391.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007752/0.139, allocations: 4.198 MB / 395.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006444/0.1455, allocations: 2.148 MB / 398 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.1486, allocations: 1.111 MB / 399.1 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01145/0.16, allocations: 5.635 MB / 404.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008259/0.1683, allocations: 5.297 MB / 410 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00479/0.1732, allocations: 2.165 MB / 412.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005027/0.1782, allocations: 2.871 MB / 415.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001304/0.1796, allocations: 0.4922 MB / 415.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/0.1834, allocations: 1.631 MB / 417.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002643/0.186, allocations: 2.576 MB / 419.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003101/0.1891, allocations: 2.91 MB / 422.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.1995, allocations: 9.57 MB / 432.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1996, allocations: 0 / 432.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1996, allocations: 0 / 432.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002118/0.1998, allocations: 4 kB / 432.2 MB, free: 6.004 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.01346/0.2133, allocations: 6.195 MB / 438.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.2133, allocations: 8.031 kB / 438.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.2242, allocations: 2.579 MB / 441 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009676/0.2339, allocations: 3.927 MB / 444.9 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002759/0.2343, allocations: 304.3 kB / 445.2 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001767/0.236, allocations: 439.7 kB / 445.7 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2767/0.5128, allocations: 12.41 MB / 458.1 MB, free: 62.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/0.513, allocations: 56.84 kB / 458.1 MB, free: 62.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005656/0.5136, allocations: 186.6 kB / 458.3 MB, free: 62.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003986/0.5176, allocations: 2.038 MB / 460.4 MB, free: 62.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02285/0.5404, allocations: 10.57 MB / 470.9 MB, free: 58.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04753/0.588, allocations: 44.22 MB / 0.5031 GB, free: 18.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/0.5993, allocations: 4.841 MB / 0.5078 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.6015, allocations: 2.01 MB / 0.5098 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008866/0.6103, allocations: 7.122 MB / 0.5167 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.6104, allocations: 59.5 kB / 0.5168 GB, free: 3.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=179): time 3.797e-06/0.6104, allocations: 0 / 0.5168 GB, free: 3.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=223): time 0.06923/0.6797, allocations: 19.92 MB / 0.5362 GB, free: 232 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002555/0.68, allocations: 209.8 kB / 0.5364 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01071/0.6907, allocations: 4.497 MB / 0.5408 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006251/0.6914, allocations: 57.7 kB / 0.5409 GB, free: 11.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00436/0.6958, allocations: 3.668 MB / 0.5444 GB, free: 7.852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001578/0.6974, allocations: 0.8682 MB / 0.5453 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003048/0.7004, allocations: 1.355 MB / 0.5466 GB, free: 5.613 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.7006, allocations: 305.1 kB / 0.5469 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006081/0.7067, allocations: 2.359 MB / 0.5492 GB, free: 2.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01047/0.7172, allocations: 6.164 MB / 0.5552 GB, free: 10.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01618/0.7335, allocations: 9.171 MB / 0.5642 GB, free: 15.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001439/0.7336, allocations: 40 kB / 0.5642 GB, free: 15.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.03061/0.7643, allocations: 9.565 MB / 0.5736 GB, free: 6.258 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003044/0.7646, allocations: 67.94 kB / 0.5736 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000409/0.7651, allocations: 135.9 kB / 0.5738 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007477/0.7726, allocations: 1.374 MB / 0.5751 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007987/0.7806, allocations: 1.474 MB / 0.5765 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/0.8009, allocations: 8.474 MB / 0.5848 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008066/0.809, allocations: 363.1 kB / 0.5852 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/0.8106, allocations: 388 kB / 0.5855 GB, free: 9.863 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 (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.007507/0.8182, allocations: 2.486 MB / 0.588 GB, free: 7.363 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001619/0.8198, allocations: 433 kB / 0.5884 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/0.8338, allocations: 4.116 MB / 0.5924 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.918e-05/0.8339, allocations: 24 kB / 0.5924 GB, free: 2.785 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.801e-05/0.8339, allocations: 12 kB / 0.5924 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.853e-05/0.834, allocations: 7.969 kB / 0.5924 GB, free: 2.766 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03322/0.8672, allocations: 10.15 MB / 0.6024 GB, free: 8.461 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.973e-05/0.8673, allocations: 4 kB / 0.6024 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002314/0.8696, allocations: 335.5 kB / 0.6027 GB, free: 8.129 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005933/0.8756, allocations: 1.144 MB / 0.6038 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004589/0.8761, allocations: 43.98 kB / 0.6038 GB, free: 6.938 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/0.892, allocations: 7.156 MB / 0.6108 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-05/0.8921, allocations: 8 kB / 0.6108 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01735/0.9095, allocations: 6.925 MB / 0.6176 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002361/0.9119, allocations: 0.7558 MB / 0.6183 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/0.9131, allocations: 39.91 kB / 0.6184 GB, free: 7.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/0.9154, allocations: 111.9 kB / 0.6185 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004206/0.9159, allocations: 156.9 kB / 0.6186 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/0.9161, allocations: 60 kB / 0.6187 GB, free: 7.484 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005499/0.9216, allocations: 2.822 MB / 0.6214 GB, free: 4.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9216, allocations: 0 / 0.6214 GB, free: 4.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006119/0.9278, allocations: 1.211 MB / 0.6226 GB, free: 3.449 MB / 494.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.0006895/0.9285, allocations: 230.6 kB / 0.6228 GB, free: 3.215 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2185/1.147, allocations: 5.765 MB / 0.6285 GB, free: 162.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/1.147, allocations: 4.281 kB / 0.6285 GB, free: 162.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003231/1.15, allocations: 1.868 MB / 0.6303 GB, free: 162 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/1.154, allocations: 0.5371 MB / 0.6308 GB, free: 161.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/1.175, allocations: 11.24 MB / 0.6418 GB, free: 157.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003841/1.179, allocations: 3.887 MB / 0.6456 GB, free: 155.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004245/1.183, allocations: 1.93 MB / 0.6475 GB, free: 155.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006671/1.184, allocations: 275 kB / 0.6477 GB, free: 155.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/1.184, allocations: 3.625 kB / 0.6477 GB, free: 155.8 MB / 494.1 MB Notification: Performance of Templates: time 0.06703/1.251, allocations: 42.21 MB / 0.689 GB, free: 120 MB / 494.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)