Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0075/0.0075, allocations: 96.69 kB / 15.73 MB, free: 6 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.001319/0.00132, allocations: 185.4 kB / 16.67 MB, free: 5.93 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.41/1.41, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3116/0.3116, allocations: 38 MB / 307.9 MB, free: 10.12 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 71.91 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3272, allocations: 56.47 MB / 489.5 MB, free: 20.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01632/0.3436, allocations: 16.94 MB / 0.4946 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01413/0.3577, allocations: 5.292 MB / 0.4997 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005232/0.3631, allocations: 110.2 kB / 0.4998 GB, free: 4.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.3735, allocations: 5.07 MB / 0.5048 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.3839, allocations: 2.776 MB / 0.5075 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004395/0.3883, allocations: 1.235 MB / 0.5087 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01436/0.4027, allocations: 7.743 MB / 0.5163 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01071/0.4134, allocations: 6.158 MB / 0.5223 GB, free: 6.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006161/0.4196, allocations: 2.683 MB / 0.5249 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006519/0.4261, allocations: 3.746 MB / 0.5286 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00245/0.4286, allocations: 0.5898 MB / 0.5291 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004814/0.4335, allocations: 1.596 MB / 0.5307 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00488/0.4384, allocations: 3.421 MB / 0.534 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00743/0.4458, allocations: 3.803 MB / 0.5378 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01737/0.4632, allocations: 11.95 MB / 0.5494 GB, free: 10.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4633, allocations: 4 kB / 0.5494 GB, free: 10.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4633, allocations: 3.938 kB / 0.5494 GB, free: 10.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004812/0.4638, allocations: 4 kB / 0.5494 GB, free: 10.28 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.024/0.4878, allocations: 8.274 MB / 0.5575 GB, free: 1.906 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4878, allocations: 11.89 kB / 0.5575 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/0.5035, allocations: 3.214 MB / 0.5607 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/0.5154, allocations: 5.261 MB / 0.5658 GB, free: 9.332 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003282/0.5158, allocations: 390.4 kB / 0.5662 GB, free: 8.949 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0019/0.5177, allocations: 0.5232 MB / 0.5667 GB, free: 8.426 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02968/0.5474, allocations: 15.77 MB / 0.5821 GB, free: 7.605 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002156/0.5476, allocations: 75.45 kB / 0.5822 GB, free: 7.531 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006465/0.5483, allocations: 243.8 kB / 0.5824 GB, free: 7.293 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004843/0.5531, allocations: 2.931 MB / 0.5853 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02613/0.5793, allocations: 13.15 MB / 0.5981 GB, free: 7.172 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3881/0.9674, allocations: 60.24 MB / 0.6569 GB, free: 83.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01646/0.984, allocations: 6.091 MB / 0.6629 GB, free: 82.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006612/0.9906, allocations: 3.381 MB / 0.6662 GB, free: 80.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.9909, allocations: 47.72 kB / 0.6662 GB, free: 80.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.235e-05/0.991, allocations: 62.11 kB / 0.6663 GB, free: 80.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 6.612e-06/0.991, allocations: 1.875 kB / 0.6663 GB, free: 80.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=260): time 0.0697/1.061, allocations: 26.33 MB / 0.692 GB, free: 70.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/1.061, allocations: 258.5 kB / 0.6923 GB, free: 70.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/1.071, allocations: 6.989 MB / 0.6991 GB, free: 66.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007392/1.072, allocations: 68.5 kB / 0.6991 GB, free: 66.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002875/1.075, allocations: 4.986 MB / 0.704 GB, free: 62.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001544/1.076, allocations: 1.052 MB / 0.705 GB, free: 62.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002458/1.079, allocations: 1.815 MB / 0.7068 GB, free: 61.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.353e-05/1.079, allocations: 301.1 kB / 0.7071 GB, free: 60.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004197/1.083, allocations: 3.32 MB / 0.7103 GB, free: 59.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006087/1.089, allocations: 8.482 MB / 0.7186 GB, free: 49.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/1.101, allocations: 12.65 MB / 0.731 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001468/1.101, allocations: 52 kB / 0.731 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02435/1.125, allocations: 13.12 MB / 0.7438 GB, free: 20.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/1.125, allocations: 83.94 kB / 0.7439 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001744/1.125, allocations: 180 kB / 0.7441 GB, free: 20.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004277/1.13, allocations: 1.786 MB / 0.7458 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007089/1.137, allocations: 2.111 MB / 0.7479 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/1.149, allocations: 12.44 MB / 0.76 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0095/1.159, allocations: 499.3 kB / 0.7605 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002009/1.161, allocations: 0.5195 MB / 0.761 GB, free: 2.918 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1087): * Single equations (assignments): 1081 * Array equations: 3 * 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): 3 systems {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008389/1.169, allocations: 3.21 MB / 0.7642 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002795/1.172, allocations: 0.6093 MB / 0.7648 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/1.185, allocations: 5.804 MB / 0.7704 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.793e-05/1.185, allocations: 28 kB / 0.7705 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.986e-05/1.185, allocations: 8 kB / 0.7705 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.308e-05/1.185, allocations: 15.95 kB / 0.7705 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02681/1.212, allocations: 12.88 MB / 0.783 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/1.212, allocations: 0 / 0.783 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002511/1.214, allocations: 0.5148 MB / 0.7836 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004178/1.219, allocations: 1.469 MB / 0.785 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002787/1.219, allocations: 47.98 kB / 0.785 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01335/1.232, allocations: 11.5 MB / 0.7963 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.232, allocations: 0 / 0.7963 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01564/1.248, allocations: 9.473 MB / 0.8055 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003113/1.251, allocations: 1.083 MB / 0.8066 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001821/1.253, allocations: 43.98 kB / 0.8066 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004367/1.257, allocations: 171.4 kB / 0.8068 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005992/1.258, allocations: 157.6 kB / 0.8069 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002214/1.258, allocations: 64 kB / 0.807 GB, free: 3.277 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01002/1.268, allocations: 4.447 MB / 0.8113 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.32e-07/1.268, allocations: 0 / 0.8113 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01155/1.28, allocations: 1.633 MB / 0.8129 GB, free: 13.21 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (215): * Single equations (assignments): 209 * Array equations: 3 * 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): 3 systems {(1,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008745/1.281, allocations: 194 kB / 0.8131 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01418/1.295, allocations: 8.114 MB / 0.821 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.295, allocations: 0 / 0.821 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004237/1.299, allocations: 2.735 MB / 0.8237 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00703/1.306, allocations: 0.7833 MB / 0.8245 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0292/1.335, allocations: 15.34 MB / 0.8395 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006004/1.341, allocations: 4.892 MB / 0.8442 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006836/1.348, allocations: 2.745 MB / 0.8469 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/1.35, allocations: 395.4 kB / 0.8473 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of SimCode: time 8.61e-07/1.35, allocations: 0 / 0.8473 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of Templates: time 0.4308/1.781, allocations: 58.67 MB / 0.9046 GB, free: 203.8 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)