Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.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.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.00111/0.00111, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.3334/0.3334, allocations: 38.03 MB / 308.4 MB, free: 10.41 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.0005619/0.0005621, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1314, allocations: 57.52 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2815/0.413, allocations: 77.13 MB / 0.4991 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04379/0.4568, allocations: 17.25 MB / 0.5159 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0172/0.4741, allocations: 382.7 kB / 0.5163 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01484/0.489, allocations: 3.882 MB / 0.5201 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04778/0.5368, allocations: 10.99 MB / 0.5308 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005804/0.5426, allocations: 0.8861 MB / 0.5317 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04376/0.5864, allocations: 27.37 MB / 0.5584 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01237/0.5988, allocations: 7.357 MB / 0.5656 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00343/0.6023, allocations: 1.631 MB / 0.5672 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003647/0.606, allocations: 2.177 MB / 0.5693 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001171/0.6072, allocations: 228 kB / 0.5695 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.61, allocations: 0.9793 MB / 0.5705 GB, free: 40 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002631/0.6126, allocations: 2.579 MB / 0.573 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001922/0.6146, allocations: 1.31 MB / 0.5743 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.6249, allocations: 8.705 MB / 0.5828 GB, free: 3.406 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.625, allocations: 0 / 0.5828 GB, free: 3.406 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.625, allocations: 0 / 0.5828 GB, free: 3.406 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003254/0.6253, allocations: 0 / 0.5828 GB, free: 3.406 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01587/0.6412, allocations: 6.895 MB / 0.5895 GB, free: 12.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.6412, allocations: 8.031 kB / 0.5895 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04512/0.6864, allocations: 8.252 MB / 0.5976 GB, free: 4.145 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0118/0.6982, allocations: 4.766 MB / 0.6022 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003427/0.6986, allocations: 377.6 kB / 0.6026 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0019/0.7005, allocations: 499.7 kB / 0.6031 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03674/0.7373, allocations: 15.76 MB / 0.6185 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000265/0.7376, allocations: 71.3 kB / 0.6185 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001114/0.7387, allocations: 239.8 kB / 0.6188 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005728/0.7444, allocations: 2.997 MB / 0.6217 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.228/0.9724, allocations: 13.37 MB / 0.6347 GB, free: 140.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07581/1.048, allocations: 60.85 MB / 0.6942 GB, free: 101.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.022/1.07, allocations: 7.741 MB / 0.7017 GB, free: 99.24 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01828/1.089, allocations: 9.694 MB / 0.7112 GB, free: 94.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/1.089, allocations: 66.38 kB / 0.7113 GB, free: 94.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 5.199e-06/1.089, allocations: 0 / 0.7113 GB, free: 94.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.07996/1.169, allocations: 33.98 MB / 0.7444 GB, free: 66.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/1.169, allocations: 239.9 kB / 0.7447 GB, free: 66.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008433/1.177, allocations: 7.124 MB / 0.7516 GB, free: 58.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008514/1.178, allocations: 73.7 kB / 0.7517 GB, free: 58.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00237/1.181, allocations: 4.675 MB / 0.7563 GB, free: 54.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001451/1.182, allocations: 1.185 MB / 0.7574 GB, free: 53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004185/1.182, allocations: 183.1 kB / 0.7576 GB, free: 52.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003517/1.183, allocations: 0.6821 MB / 0.7583 GB, free: 52.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004485/1.187, allocations: 3.656 MB / 0.7618 GB, free: 48.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006222/1.194, allocations: 8.772 MB / 0.7704 GB, free: 37.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006779/1.2, allocations: 5.536 MB / 0.7758 GB, free: 31.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.341e-05/1.2, allocations: 56 kB / 0.7759 GB, free: 31.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.02373/1.224, allocations: 13.75 MB / 0.7893 GB, free: 17.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/1.224, allocations: 80 kB / 0.7894 GB, free: 17.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001729/1.225, allocations: 184 kB / 0.7895 GB, free: 17.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003881/1.228, allocations: 1.798 MB / 0.7913 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006878/1.235, allocations: 2.113 MB / 0.7934 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/1.248, allocations: 12.19 MB / 0.8053 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008136/1.257, allocations: 0.5258 MB / 0.8058 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001403/1.258, allocations: 0.5195 MB / 0.8063 GB, free: 112 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1082): * Single equations (assignments): 1075 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005695/1.264, allocations: 3.151 MB / 0.8094 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/1.265, allocations: 0.5822 MB / 0.8099 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/1.277, allocations: 7.012 MB / 0.8168 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.385e-05/1.277, allocations: 35.94 kB / 0.8168 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/1.277, allocations: 16 kB / 0.8168 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.32e-05/1.277, allocations: 15.94 kB / 0.8168 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2614/1.538, allocations: 15.53 MB / 0.832 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.276e-05/1.539, allocations: 10.03 kB / 0.832 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003061/1.542, allocations: 0.5584 MB / 0.8326 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003963/1.546, allocations: 1.511 MB / 0.834 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006843/1.546, allocations: 61.44 kB / 0.8341 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/1.56, allocations: 11.4 MB / 0.8452 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.56, allocations: 7.562 kB / 0.8452 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/1.579, allocations: 12.25 MB / 0.8572 GB, free: 132.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004552/1.583, allocations: 1.186 MB / 0.8584 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001893/1.585, allocations: 59.83 kB / 0.8584 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003409/1.588, allocations: 215.3 kB / 0.8586 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005854/1.589, allocations: 194.9 kB / 0.8588 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002508/1.589, allocations: 82 kB / 0.8589 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01068/1.6, allocations: 4.594 MB / 0.8634 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.61e-07/1.6, allocations: 1.25 kB / 0.8634 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01087/1.611, allocations: 1.663 MB / 0.865 GB, free: 130.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (260): * Single equations (assignments): 255 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001237/1.612, allocations: 215.7 kB / 0.8652 GB, free: 130.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01735/1.63, allocations: 8.948 MB / 0.8739 GB, free: 127 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/1.63, allocations: 0 / 0.8739 GB, free: 127 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006804/1.636, allocations: 3.562 MB / 0.8774 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00497/1.641, allocations: 0.6943 MB / 0.8781 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02665/1.668, allocations: 18.08 MB / 0.8957 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004694/1.673, allocations: 4.933 MB / 0.9006 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006426/1.679, allocations: 2.972 MB / 0.9035 GB, free: 107.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/1.681, allocations: 411.3 kB / 0.9039 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/1.681, allocations: 0 / 0.9039 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.1011/1.782, allocations: 64.68 MB / 0.967 GB, free: 42.33 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) Environment - environmentSimulation: