Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.PlanarFourbar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001747/0.001747, allocations: 196.1 kB / 16.14 MB, free: 6.664 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.582/1.582, allocations: 205.1 MB / 222 MB, free: 4.734 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.00125/0.00125, allocations: 51.94 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3085, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.08034/0.3889, allocations: 81.44 MB / 406.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0507/0.4397, allocations: 16.63 MB / 422.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02179/0.4615, allocations: 375 kB / 423.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01286/0.4744, allocations: 6.297 MB / 429.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.4846, allocations: 2.698 MB / 432.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006656/0.4913, allocations: 2.203 MB / 434.3 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01855/0.5098, allocations: 12.68 MB / 447 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01398/0.5239, allocations: 8.274 MB / 455.3 MB, free: 1.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.312/0.8359, allocations: 2.854 MB / 458.1 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01025/0.8462, allocations: 4.452 MB / 462.6 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004642/0.851, allocations: 0.4906 MB / 463.1 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006734/0.8577, allocations: 1.764 MB / 464.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006387/0.8641, allocations: 3.65 MB / 468.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009057/0.8732, allocations: 3.929 MB / 472.4 MB, free: 9.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01723/0.8905, allocations: 12.76 MB / 485.2 MB, free: 7.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.406e-05/0.8905, allocations: 0 / 485.2 MB, free: 7.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.8905, allocations: 2.812 kB / 485.2 MB, free: 7.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007242/0.8913, allocations: 3.625 kB / 485.2 MB, free: 7.723 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.03837/0.9297, allocations: 8.939 MB / 494.1 MB, free: 3.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.9297, allocations: 9.688 kB / 494.1 MB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04434/0.9741, allocations: 4.847 MB / 499 MB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02277/0.9969, allocations: 6.69 MB / 0.4938 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007451/0.9977, allocations: 437.2 kB / 0.4942 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005101/1.003, allocations: 0.58 MB / 0.4948 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05357/1.056, allocations: 17.06 MB / 0.5115 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008146/1.057, allocations: 84.3 kB / 0.5115 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004654/1.062, allocations: 267.3 kB / 0.5118 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005945/1.068, allocations: 2.659 MB / 0.5144 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0412/1.109, allocations: 14.79 MB / 0.5288 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1245/1.234, allocations: 64.62 MB / 0.5919 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02464/1.259, allocations: 8.787 MB / 0.6005 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008374/1.267, allocations: 5.065 MB / 0.6055 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2993/1.566, allocations: 18.64 MB / 0.6237 GB, free: 219.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.753e-05/1.566, allocations: 63.19 kB / 0.6237 GB, free: 219.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=281): time 9.077e-06/1.566, allocations: 1.094 kB / 0.6237 GB, free: 219.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=374): time 0.2376/1.804, allocations: 74.07 MB / 0.6961 GB, free: 170.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001908/1.804, allocations: 386 kB / 0.6964 GB, free: 169.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01082/1.815, allocations: 6.417 MB / 0.7027 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001592/1.817, allocations: 82.88 kB / 0.7028 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002633/1.819, allocations: 4.756 MB / 0.7074 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00216/1.822, allocations: 1.383 MB / 0.7088 GB, free: 157 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003042/1.825, allocations: 1.974 MB / 0.7107 GB, free: 155 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.201e-05/1.825, allocations: 305.1 kB / 0.711 GB, free: 154.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007064/1.832, allocations: 5.992 MB / 0.7168 GB, free: 148.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0108/1.843, allocations: 11.02 MB / 0.7276 GB, free: 135.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01953/1.862, allocations: 17.96 MB / 0.7452 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001756/1.862, allocations: 48 kB / 0.7452 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04777/1.91, allocations: 23.34 MB / 0.768 GB, free: 91.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002382/1.91, allocations: 80 kB / 0.7681 GB, free: 91.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000337/1.911, allocations: 179.2 kB / 0.7682 GB, free: 91.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0213/1.932, allocations: 7.443 MB / 0.7755 GB, free: 83.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008458/1.941, allocations: 2.195 MB / 0.7776 GB, free: 81.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04487/1.986, allocations: 35.57 MB / 0.8124 GB, free: 45.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01153/1.997, allocations: 0.7372 MB / 0.8131 GB, free: 44.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002661/2, allocations: 0.5311 MB / 0.8136 GB, free: 44.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 785 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1084 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,68,84.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.00806/2.008, allocations: 3.438 MB / 0.817 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001753/2.01, allocations: 0.5708 MB / 0.8175 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03129/2.041, allocations: 16.96 MB / 0.8341 GB, free: 23.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001192/2.041, allocations: 51.98 kB / 0.8341 GB, free: 23.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.885e-05/2.041, allocations: 20 kB / 0.8342 GB, free: 23.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001202/2.041, allocations: 19.94 kB / 0.8342 GB, free: 23.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3289/2.37, allocations: 32.15 MB / 0.8656 GB, free: 190.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-05/2.37, allocations: 3.938 kB / 0.8656 GB, free: 190.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003161/2.374, allocations: 0.607 MB / 0.8662 GB, free: 190.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01972/2.393, allocations: 7.121 MB / 0.8731 GB, free: 189.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001297/2.395, allocations: 59.59 kB / 0.8732 GB, free: 189.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04299/2.438, allocations: 33.85 MB / 0.9063 GB, free: 164.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/2.438, allocations: 0 / 0.9063 GB, free: 164.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0393/2.477, allocations: 24.61 MB / 0.9303 GB, free: 139.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004998/2.482, allocations: 1.661 MB / 0.9319 GB, free: 138.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002187/2.484, allocations: 61.95 kB / 0.932 GB, free: 138.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005299/2.49, allocations: 448.1 kB / 0.9324 GB, free: 137.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001337/2.491, allocations: 251.6 kB / 0.9326 GB, free: 137.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003778/2.491, allocations: 96.84 kB / 0.9327 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006852/2.498, allocations: 4.084 MB / 0.9367 GB, free: 133.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.01e-07/2.498, allocations: 0 / 0.9367 GB, free: 133.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01286/2.511, allocations: 2.297 MB / 0.939 GB, free: 131.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.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 (243): * Single equations (assignments): 236 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,62,84.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001458/2.513, allocations: 279.4 kB / 0.9392 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02267/2.535, allocations: 14.85 MB / 0.9537 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/2.535, allocations: 2 kB / 0.9537 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01008/2.545, allocations: 6.704 MB / 0.9603 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007425/2.553, allocations: 0.8361 MB / 0.9611 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03466/2.587, allocations: 23.59 MB / 0.9841 GB, free: 85.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008342/2.596, allocations: 5.287 MB / 0.9893 GB, free: 79.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008001/2.604, allocations: 3.019 MB / 0.9922 GB, free: 76.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001883/2.606, allocations: 383.4 kB / 0.9926 GB, free: 76.39 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/2.606, allocations: 0 / 0.9926 GB, free: 76.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.3559/2.962, allocations: 108.8 MB / 1.099 GB, free: 171 MB / 0.4981 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1)