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.001857/0.001857, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.001846/0.001846, allocations: 196 kB / 18 MB, free: 5.105 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.436/1.436, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001216/0.001216, allocations: 51.92 kB / 327.9 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09367/0.0949, allocations: 46.62 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.2073/0.3022, allocations: 13.53 MB / 388 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.314, allocations: 4.857 MB / 392.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003712/0.3178, allocations: 90.41 kB / 393 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007845/0.3257, allocations: 4.183 MB / 397.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007723/0.3334, allocations: 2.152 MB / 399.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.3369, allocations: 1.114 MB / 400.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00997/0.3469, allocations: 5.632 MB / 406 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009536/0.3564, allocations: 5.306 MB / 411.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007217/0.3637, allocations: 2.172 MB / 413.5 MB, free: 8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006446/0.3702, allocations: 2.88 MB / 416.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001981/0.3722, allocations: 0.4922 MB / 416.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004937/0.3772, allocations: 1.631 MB / 418.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004589/0.3818, allocations: 2.627 MB / 421.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00696/0.3888, allocations: 2.894 MB / 424 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01504/0.4038, allocations: 9.536 MB / 433.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.4039, allocations: 3.938 kB / 433.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4039, allocations: 0 / 433.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003532/0.4043, allocations: 0 / 433.6 MB, free: 4.332 MB / 350.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.01922/0.4235, allocations: 6.041 MB / 439.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.4236, allocations: 8.031 kB / 439.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/0.4364, allocations: 2.54 MB / 442.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/0.4471, allocations: 3.917 MB / 446.1 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002665/0.4474, allocations: 308.5 kB / 446.4 MB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/0.4491, allocations: 443.6 kB / 446.8 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02537/0.4745, allocations: 12.4 MB / 459.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001428/0.4747, allocations: 59.42 kB / 459.3 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005026/0.4752, allocations: 187.8 kB / 459.5 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002999/0.4782, allocations: 2.031 MB / 461.5 MB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02316/0.5014, allocations: 10.57 MB / 472.1 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05914/0.5605, allocations: 44.12 MB / 0.5041 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01292/0.5735, allocations: 4.853 MB / 0.5088 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002851/0.5764, allocations: 2.006 MB / 0.5108 GB, free: 8.539 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01402/0.5904, allocations: 7.117 MB / 0.5177 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.854e-05/0.5906, allocations: 51.56 kB / 0.5178 GB, free: 1.094 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 7.905e-06/0.5906, allocations: 0 / 0.5178 GB, free: 1.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.06677/0.6573, allocations: 19.65 MB / 0.537 GB, free: 13.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.6575, allocations: 213.8 kB / 0.5372 GB, free: 13.13 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006102/0.6636, allocations: 4.489 MB / 0.5416 GB, free: 8.621 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003623/0.664, allocations: 61.7 kB / 0.5416 GB, free: 8.555 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002365/0.6664, allocations: 3.517 MB / 0.545 GB, free: 4.988 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009673/0.6674, allocations: 0.8445 MB / 0.5459 GB, free: 4.133 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001649/0.669, allocations: 1.337 MB / 0.5472 GB, free: 2.785 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6691, allocations: 305.1 kB / 0.5475 GB, free: 2.484 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003299/0.6724, allocations: 2.359 MB / 0.5498 GB, free: 124 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2151/0.8876, allocations: 6.168 MB / 0.5558 GB, free: 143.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/0.8976, allocations: 9.171 MB / 0.5647 GB, free: 136.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001972/0.8979, allocations: 38.16 kB / 0.5648 GB, free: 136.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.02034/0.9182, allocations: 9.545 MB / 0.5741 GB, free: 132.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.9184, allocations: 63.09 kB / 0.5742 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002296/0.9186, allocations: 132 kB / 0.5743 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004497/0.9231, allocations: 1.377 MB / 0.5756 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005017/0.9282, allocations: 1.47 MB / 0.5771 GB, free: 132.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.9385, allocations: 8.478 MB / 0.5854 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00534/0.9439, allocations: 352.8 kB / 0.5857 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009468/0.9448, allocations: 389.8 kB / 0.5861 GB, free: 127.9 MB / 478.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.003459/0.9483, allocations: 2.493 MB / 0.5885 GB, free: 126.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006814/0.949, allocations: 402.2 kB / 0.5889 GB, free: 126.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006896/0.9559, allocations: 4.12 MB / 0.5929 GB, free: 125.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.987e-05/0.956, allocations: 23.88 kB / 0.5929 GB, free: 125.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.956, allocations: 11.5 kB / 0.5929 GB, free: 125.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.956, allocations: 9.703 kB / 0.5929 GB, free: 125.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.9719, allocations: 10.14 MB / 0.6028 GB, free: 116.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.972, allocations: 7.984 kB / 0.6029 GB, free: 116.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.9732, allocations: 327.5 kB / 0.6032 GB, free: 116.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00317/0.9764, allocations: 1.148 MB / 0.6043 GB, free: 115.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.9766, allocations: 43.94 kB / 0.6043 GB, free: 115.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007654/0.9842, allocations: 7.152 MB / 0.6113 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.9843, allocations: 14.28 kB / 0.6113 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009384/0.9937, allocations: 6.903 MB / 0.6181 GB, free: 101.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002793/0.9965, allocations: 0.734 MB / 0.6188 GB, free: 100.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006566/0.9972, allocations: 39.28 kB / 0.6188 GB, free: 100.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/0.9987, allocations: 111.9 kB / 0.6189 GB, free: 100.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/0.999, allocations: 149 kB / 0.6191 GB, free: 100.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.9991, allocations: 61.69 kB / 0.6191 GB, free: 100.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003458/1.003, allocations: 2.822 MB / 0.6219 GB, free: 97.26 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.5e-07/1.003, allocations: 0 / 0.6219 GB, free: 97.26 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005673/1.008, allocations: 1.214 MB / 0.6231 GB, free: 96.05 MB / 478.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.0005425/1.009, allocations: 232.7 kB / 0.6233 GB, free: 95.83 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007726/1.017, allocations: 5.774 MB / 0.6289 GB, free: 90.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.017, allocations: 4 kB / 0.6289 GB, free: 90.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00205/1.019, allocations: 1.869 MB / 0.6308 GB, free: 88.19 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/1.022, allocations: 0.5341 MB / 0.6313 GB, free: 87.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/1.037, allocations: 11.07 MB / 0.6421 GB, free: 76.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004168/1.042, allocations: 3.873 MB / 0.6459 GB, free: 72.61 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003755/1.045, allocations: 1.934 MB / 0.6478 GB, free: 70.67 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00073/1.046, allocations: 271.4 kB / 0.648 GB, free: 70.41 MB / 478.1 MB Notification: Performance of SimCode: time 1.132e-06/1.046, allocations: 0 / 0.648 GB, free: 70.41 MB / 478.1 MB Notification: Performance of Templates: time 0.06422/1.11, allocations: 42.21 MB / 0.6892 GB, free: 28.3 MB / 478.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)