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.001289/0.001289, allocations: 108 kB / 15.61 MB, free: 152 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.001719/0.001719, allocations: 196.6 kB / 16.53 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.476/1.476, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.3165/0.3165, allocations: 37.99 MB / 307.7 MB, free: 10.04 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.002131/0.002131, allocations: 71.89 kB / 375.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1292, allocations: 56.47 MB / 431.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01776/0.147, allocations: 16.94 MB / 448.7 MB, free: 5.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.1613, allocations: 5.3 MB / 454 MB, free: 280 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004376/0.1657, allocations: 111.7 kB / 454.1 MB, free: 168 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2406/0.4064, allocations: 5.054 MB / 459.1 MB, free: 35.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007709/0.4141, allocations: 2.778 MB / 461.9 MB, free: 35.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003271/0.4174, allocations: 1.243 MB / 463.1 MB, free: 35.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01021/0.4277, allocations: 7.733 MB / 470.9 MB, free: 34.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006416/0.4341, allocations: 6.165 MB / 477 MB, free: 31.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004108/0.4383, allocations: 2.685 MB / 479.7 MB, free: 30.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004774/0.443, allocations: 3.75 MB / 483.5 MB, free: 29.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001569/0.4446, allocations: 0.586 MB / 484.1 MB, free: 29.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003998/0.4486, allocations: 1.595 MB / 485.7 MB, free: 29.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004822/0.4535, allocations: 3.416 MB / 489.1 MB, free: 28.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00802/0.4615, allocations: 3.803 MB / 492.9 MB, free: 25.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01936/0.4809, allocations: 11.56 MB / 0.4926 GB, free: 20.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.481, allocations: 0 / 0.4926 GB, free: 20.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.481, allocations: 1.219 kB / 0.4926 GB, free: 20.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005979/0.4816, allocations: 3.938 kB / 0.4926 GB, free: 20.7 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.0294/0.511, allocations: 8.067 MB / 0.5005 GB, free: 15.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.5111, allocations: 11.14 kB / 0.5005 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01717/0.5282, allocations: 3.177 MB / 0.5036 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.5416, allocations: 5.151 MB / 0.5086 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002776/0.5419, allocations: 388.7 kB / 0.509 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00257/0.5445, allocations: 0.5186 MB / 0.5095 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03448/0.579, allocations: 15.78 MB / 0.5249 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002915/0.5793, allocations: 79.3 kB / 0.525 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001526/0.5809, allocations: 245.8 kB / 0.5252 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005242/0.5861, allocations: 2.928 MB / 0.5281 GB, free: 5.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02926/0.6154, allocations: 13.16 MB / 0.5409 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09184/0.7073, allocations: 60.38 MB / 0.5999 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01526/0.7226, allocations: 6.094 MB / 0.6059 GB, free: 4.992 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005646/0.7283, allocations: 3.378 MB / 0.6092 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.7285, allocations: 53.73 kB / 0.6092 GB, free: 1.562 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.66e-05/0.7286, allocations: 60.12 kB / 0.6093 GB, free: 1.492 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 5.18e-06/0.7286, allocations: 0 / 0.6093 GB, free: 1.492 MB / 478.1 MB Notification: Performance of matching and sorting (n=260): time 0.3637/1.092, allocations: 25.86 MB / 0.6345 GB, free: 142.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.671e-05/1.092, allocations: 259.9 kB / 0.6348 GB, free: 141.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01287/1.105, allocations: 6.977 MB / 0.6416 GB, free: 139.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000852/1.106, allocations: 67.48 kB / 0.6416 GB, free: 139.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003363/1.11, allocations: 4.799 MB / 0.6463 GB, free: 135.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00158/1.111, allocations: 1 MB / 0.6473 GB, free: 135.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003015/1.114, allocations: 1.806 MB / 0.6491 GB, free: 134.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.892e-05/1.114, allocations: 305.3 kB / 0.6494 GB, free: 134 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004961/1.119, allocations: 3.319 MB / 0.6526 GB, free: 132.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008302/1.128, allocations: 8.486 MB / 0.6609 GB, free: 125 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01852/1.146, allocations: 12.64 MB / 0.6732 GB, free: 114.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003896/1.147, allocations: 59.89 kB / 0.6733 GB, free: 114.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.03323/1.18, allocations: 13.08 MB / 0.6861 GB, free: 109.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/1.18, allocations: 83.25 kB / 0.6861 GB, free: 109.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002338/1.18, allocations: 180.6 kB / 0.6863 GB, free: 109.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004919/1.185, allocations: 1.788 MB / 0.6881 GB, free: 109.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007687/1.193, allocations: 2.103 MB / 0.6901 GB, free: 109.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/1.206, allocations: 12.44 MB / 0.7023 GB, free: 100.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01125/1.218, allocations: 0.4907 MB / 0.7027 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002579/1.22, allocations: 0.515 MB / 0.7033 GB, free: 99.91 MB / 494.1 MB 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.008469/1.229, allocations: 3.206 MB / 0.7064 GB, free: 97.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001669/1.23, allocations: 0.5785 MB / 0.7069 GB, free: 96.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00973/1.24, allocations: 5.812 MB / 0.7126 GB, free: 91.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.165e-05/1.24, allocations: 28 kB / 0.7126 GB, free: 91.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-05/1.24, allocations: 11.94 kB / 0.7127 GB, free: 91.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.708e-05/1.24, allocations: 11.16 kB / 0.7127 GB, free: 91.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/1.266, allocations: 12.92 MB / 0.7253 GB, free: 80.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/1.266, allocations: 4.844 kB / 0.7253 GB, free: 80.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/1.269, allocations: 0.507 MB / 0.7258 GB, free: 79.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003483/1.272, allocations: 1.482 MB / 0.7272 GB, free: 78.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002927/1.272, allocations: 51.92 kB / 0.7273 GB, free: 78.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/1.283, allocations: 11.5 MB / 0.7385 GB, free: 66.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.283, allocations: 4.031 kB / 0.7385 GB, free: 66.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/1.298, allocations: 9.425 MB / 0.7477 GB, free: 56.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003402/1.301, allocations: 1.052 MB / 0.7487 GB, free: 55.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001892/1.303, allocations: 51.69 kB / 0.7488 GB, free: 55.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003479/1.307, allocations: 167.8 kB / 0.749 GB, free: 55.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000492/1.307, allocations: 153.6 kB / 0.7491 GB, free: 55.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002069/1.307, allocations: 67.98 kB / 0.7492 GB, free: 55.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007264/1.315, allocations: 4.451 MB / 0.7535 GB, free: 50.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.61e-07/1.315, allocations: 0 / 0.7535 GB, free: 50.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01299/1.328, allocations: 1.623 MB / 0.7551 GB, free: 49.09 MB / 494.1 MB 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.000681/1.328, allocations: 186 kB / 0.7553 GB, free: 48.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01492/1.343, allocations: 9.564 MB / 0.7646 GB, free: 39.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.343, allocations: 7.938 kB / 0.7646 GB, free: 39.35 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003272/1.347, allocations: 2.737 MB / 0.7673 GB, free: 36.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005382/1.352, allocations: 0.792 MB / 0.7681 GB, free: 35.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/1.379, allocations: 15.29 MB / 0.783 GB, free: 20.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007342/1.386, allocations: 4.899 MB / 0.7878 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007344/1.394, allocations: 2.741 MB / 0.7905 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/1.395, allocations: 387.4 kB / 0.7908 GB, free: 12.45 MB / 494.1 MB Notification: Performance of SimCode: time 2.124e-06/1.395, allocations: 0 / 0.7908 GB, free: 12.45 MB / 494.1 MB Notification: Performance of Templates: time 0.4089/1.804, allocations: 64.03 MB / 0.8533 GB, free: 131.2 MB / 0.4981 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)