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.001104/0.001104, allocations: 97.33 kB / 16.5 MB, free: 6.641 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.001177/0.001177, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.434/1.434, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001443/0.001443, allocations: 55.92 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.108, allocations: 46.63 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.2776/0.3856, allocations: 55.46 MB / 381.4 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03274/0.4184, allocations: 11.92 MB / 393.3 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01553/0.434, allocations: 243.2 kB / 393.6 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009149/0.4432, allocations: 4.202 MB / 397.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009613/0.4529, allocations: 2.023 MB / 399.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.4564, allocations: 1.013 MB / 400.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01238/0.4688, allocations: 8.208 MB / 409 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007582/0.4765, allocations: 5.226 MB / 414.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005064/0.4816, allocations: 1.908 MB / 416.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006092/0.4877, allocations: 3.049 MB / 419.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001665/0.4894, allocations: 340 kB / 419.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00464/0.494, allocations: 1.552 MB / 421.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00378/0.4979, allocations: 2.462 MB / 423.5 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004877/0.5028, allocations: 2.748 MB / 426.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.515, allocations: 9.182 MB / 435.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.5151, allocations: 0 / 435.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5151, allocations: 0 / 435.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003457/0.5154, allocations: 0 / 435.5 MB, free: 11.71 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.01859/0.534, allocations: 6.036 MB / 441.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.5341, allocations: 8.031 kB / 441.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/0.5462, allocations: 2.539 MB / 444.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/0.5573, allocations: 3.854 MB / 447.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003902/0.5577, allocations: 305 kB / 448.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002609/0.5604, allocations: 442.3 kB / 448.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.034/0.5944, allocations: 12.4 MB / 461 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002983/0.5947, allocations: 55.48 kB / 461.1 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001717/0.5965, allocations: 188.5 kB / 461.3 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003454/0.5999, allocations: 2.038 MB / 463.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02459/0.6245, allocations: 10.56 MB / 473.9 MB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06808/0.6927, allocations: 44.38 MB / 0.5061 GB, free: 7.348 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/0.7059, allocations: 4.841 MB / 0.5108 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003133/0.7091, allocations: 2.007 MB / 0.5128 GB, free: 356 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01301/0.7221, allocations: 7.112 MB / 0.5197 GB, free: 9.004 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.11e-05/0.7222, allocations: 55.5 kB / 0.5198 GB, free: 8.938 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 4.519e-06/0.7222, allocations: 4 kB / 0.5198 GB, free: 8.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.06842/0.7907, allocations: 19.65 MB / 0.539 GB, free: 5.242 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.7909, allocations: 205.9 kB / 0.5392 GB, free: 5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009287/0.8002, allocations: 4.496 MB / 0.5436 GB, free: 496 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005258/0.8007, allocations: 57.7 kB / 0.5436 GB, free: 432 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2492/1.05, allocations: 3.52 MB / 0.5471 GB, free: 178.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001353/1.051, allocations: 0.8344 MB / 0.5479 GB, free: 178.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002655/1.054, allocations: 1.34 MB / 0.5492 GB, free: 177.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.937e-05/1.054, allocations: 305 kB / 0.5495 GB, free: 177.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004451/1.059, allocations: 2.361 MB / 0.5518 GB, free: 176.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006776/1.065, allocations: 6.166 MB / 0.5578 GB, free: 171 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/1.077, allocations: 9.173 MB / 0.5668 GB, free: 163.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002731/1.077, allocations: 43.34 kB / 0.5668 GB, free: 163.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.02047/1.098, allocations: 9.544 MB / 0.5761 GB, free: 159.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002575/1.098, allocations: 65.81 kB / 0.5762 GB, free: 159.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003478/1.098, allocations: 132.2 kB / 0.5763 GB, free: 159.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004397/1.103, allocations: 1.381 MB / 0.5777 GB, free: 159.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005118/1.108, allocations: 1.461 MB / 0.5791 GB, free: 159.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/1.118, allocations: 7.973 MB / 0.5869 GB, free: 152.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006283/1.125, allocations: 349.5 kB / 0.5872 GB, free: 152.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/1.126, allocations: 391.4 kB / 0.5876 GB, free: 152.1 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.005769/1.132, allocations: 2.486 MB / 0.59 GB, free: 149.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.133, allocations: 402.8 kB / 0.5904 GB, free: 149.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008396/1.142, allocations: 4.121 MB / 0.5944 GB, free: 145.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.23e-05/1.142, allocations: 24 kB / 0.5945 GB, free: 145.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.09e-05/1.142, allocations: 5.719 kB / 0.5945 GB, free: 145.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/1.142, allocations: 15.95 kB / 0.5945 GB, free: 145.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02223/1.164, allocations: 10.37 MB / 0.6046 GB, free: 134.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.729e-05/1.164, allocations: 11.98 kB / 0.6046 GB, free: 134.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/1.166, allocations: 352 kB / 0.6049 GB, free: 134.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003686/1.169, allocations: 1.148 MB / 0.6061 GB, free: 133.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004618/1.17, allocations: 40 kB / 0.6061 GB, free: 133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/1.18, allocations: 6.664 MB / 0.6126 GB, free: 126.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.18, allocations: 4 kB / 0.6126 GB, free: 126.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/1.193, allocations: 6.923 MB / 0.6194 GB, free: 119.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002384/1.195, allocations: 0.7301 MB / 0.6201 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.196, allocations: 39.98 kB / 0.6201 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00246/1.199, allocations: 111.9 kB / 0.6202 GB, free: 118.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000494/1.199, allocations: 144.9 kB / 0.6204 GB, free: 118.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/1.199, allocations: 63.98 kB / 0.6204 GB, free: 118.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006028/1.205, allocations: 2.818 MB / 0.6232 GB, free: 115.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.81e-07/1.205, allocations: 0 / 0.6232 GB, free: 115.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00835/1.214, allocations: 1.223 MB / 0.6244 GB, free: 114.1 MB / 462.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.001118/1.215, allocations: 229.3 kB / 0.6246 GB, free: 113.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01037/1.225, allocations: 5.751 MB / 0.6302 GB, free: 108.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.225, allocations: 0.5625 kB / 0.6302 GB, free: 108.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003489/1.229, allocations: 1.871 MB / 0.632 GB, free: 106.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007576/1.237, allocations: 0.5042 MB / 0.6325 GB, free: 105.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02567/1.262, allocations: 13.62 MB / 0.6458 GB, free: 92.05 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006106/1.268, allocations: 3.871 MB / 0.6496 GB, free: 88.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00494/1.273, allocations: 1.93 MB / 0.6515 GB, free: 86.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009049/1.274, allocations: 271.4 kB / 0.6518 GB, free: 85.95 MB / 462.1 MB Notification: Performance of SimCode: time 1.403e-06/1.274, allocations: 0 / 0.6518 GB, free: 85.95 MB / 462.1 MB Notification: Performance of Templates: time 0.07969/1.354, allocations: 44.21 MB / 0.6949 GB, free: 41.75 MB / 462.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)