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.001382/0.001382, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001382/0.001382, allocations: 194.6 kB / 16.25 MB, free: 6.145 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.609/1.609, allocations: 205.1 MB / 222.1 MB, free: 4.598 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.3181/0.3181, allocations: 37.97 MB / 307.4 MB, free: 10.06 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.00142/0.00142, allocations: 71.19 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1224, allocations: 56.46 MB / 431.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2353/0.3577, allocations: 90.05 MB / 0.509 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04609/0.4039, allocations: 17.1 MB / 0.5257 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0199/0.4239, allocations: 386.4 kB / 0.5261 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0121/0.436, allocations: 4.877 MB / 0.5309 GB, free: 220 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.4462, allocations: 2.483 MB / 0.5333 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003984/0.4502, allocations: 1.044 MB / 0.5343 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01232/0.4626, allocations: 7.025 MB / 0.5412 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008829/0.4715, allocations: 6.224 MB / 0.5472 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004784/0.4763, allocations: 2.578 MB / 0.5498 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005721/0.482, allocations: 3.821 MB / 0.5535 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002059/0.4841, allocations: 0.5391 MB / 0.554 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004575/0.4887, allocations: 1.44 MB / 0.5554 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005624/0.4944, allocations: 3.238 MB / 0.5586 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008478/0.5029, allocations: 3.616 MB / 0.5621 GB, free: 6.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01816/0.5211, allocations: 10.87 MB / 0.5727 GB, free: 12.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.5212, allocations: 0 / 0.5727 GB, free: 12.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5212, allocations: 0 / 0.5727 GB, free: 12.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005188/0.5217, allocations: 0 / 0.5727 GB, free: 12.02 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.01969/0.5414, allocations: 7.785 MB / 0.5803 GB, free: 4.145 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.5415, allocations: 11.89 kB / 0.5803 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/0.5549, allocations: 2.811 MB / 0.5831 GB, free: 1.309 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.5663, allocations: 4.484 MB / 0.5875 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004825/0.5669, allocations: 378.2 kB / 0.5878 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002421/0.5693, allocations: 0.4917 MB / 0.5883 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03123/0.6005, allocations: 15.69 MB / 0.6036 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001882/0.6008, allocations: 71.3 kB / 0.6037 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006872/0.6015, allocations: 235.8 kB / 0.6039 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004964/0.6064, allocations: 3.005 MB / 0.6069 GB, free: 7.875 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02538/0.6318, allocations: 13.41 MB / 0.62 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2647/0.8965, allocations: 61.07 MB / 0.6796 GB, free: 104.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01962/0.9162, allocations: 7.615 MB / 0.687 GB, free: 102.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006021/0.9223, allocations: 4.172 MB / 0.6911 GB, free: 100.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01917/0.9415, allocations: 9.846 MB / 0.7007 GB, free: 96.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/0.9416, allocations: 65.19 kB / 0.7008 GB, free: 96.03 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 5.951e-06/0.9416, allocations: 1.25 kB / 0.7008 GB, free: 96.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.08001/1.022, allocations: 34.33 MB / 0.7343 GB, free: 75.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.71e-05/1.022, allocations: 239.4 kB / 0.7345 GB, free: 75.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007682/1.029, allocations: 6.893 MB / 0.7413 GB, free: 68.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007185/1.03, allocations: 73.61 kB / 0.7413 GB, free: 68.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001951/1.032, allocations: 4.63 MB / 0.7459 GB, free: 63.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001249/1.033, allocations: 1.194 MB / 0.747 GB, free: 62.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002049/1.035, allocations: 1.883 MB / 0.7489 GB, free: 60.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.188e-05/1.036, allocations: 305.1 kB / 0.7492 GB, free: 60.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004363/1.04, allocations: 3.906 MB / 0.753 GB, free: 56.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006887/1.047, allocations: 9.08 MB / 0.7618 GB, free: 45.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01232/1.059, allocations: 13.92 MB / 0.7754 GB, free: 28.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001596/1.059, allocations: 55.94 kB / 0.7755 GB, free: 28.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02796/1.087, allocations: 14.8 MB / 0.7899 GB, free: 13.76 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.63e-05/1.087, allocations: 88.06 kB / 0.79 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001505/1.088, allocations: 180 kB / 0.7902 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00491/1.093, allocations: 2.272 MB / 0.7924 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006783/1.099, allocations: 2.16 MB / 0.7945 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/1.115, allocations: 14.25 MB / 0.8084 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007712/1.122, allocations: 0.5422 MB / 0.809 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001821/1.124, allocations: 0.5351 MB / 0.8095 GB, free: 9.441 MB / 0.4981 GB 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 (1120): * Single equations (assignments): 1113 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006509/1.131, allocations: 3.148 MB / 0.8126 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001642/1.132, allocations: 0.5823 MB / 0.8131 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2074/1.34, allocations: 7.76 MB / 0.8207 GB, free: 147 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.437e-05/1.34, allocations: 33.12 kB / 0.8208 GB, free: 147 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-05/1.34, allocations: 9.344 kB / 0.8208 GB, free: 147 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.862e-05/1.34, allocations: 19.02 kB / 0.8208 GB, free: 147 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02457/1.365, allocations: 16.25 MB / 0.8366 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.507e-05/1.365, allocations: 3.438 kB / 0.8367 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/1.367, allocations: 0.5654 MB / 0.8372 GB, free: 142.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004688/1.372, allocations: 2.021 MB / 0.8392 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005292/1.373, allocations: 58.02 kB / 0.8392 GB, free: 142.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0151/1.388, allocations: 13.53 MB / 0.8524 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.388, allocations: 8.844 kB / 0.8525 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01934/1.407, allocations: 12.34 MB / 0.8645 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003216/1.41, allocations: 1.184 MB / 0.8657 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001651/1.412, allocations: 61.05 kB / 0.8657 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003374/1.416, allocations: 224.5 kB / 0.8659 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007207/1.416, allocations: 191.5 kB / 0.8661 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002496/1.417, allocations: 88.12 kB / 0.8662 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00706/1.424, allocations: 4.417 MB / 0.8705 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.8e-07/1.424, allocations: 0 / 0.8705 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007958/1.432, allocations: 1.712 MB / 0.8722 GB, free: 129 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 (not torn): 0 * Torn equation systems: 2 * 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,16,72.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006483/1.432, allocations: 200.1 kB / 0.8724 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01505/1.447, allocations: 11.57 MB / 0.8837 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.447, allocations: 3.906 kB / 0.8837 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005388/1.453, allocations: 3.851 MB / 0.8874 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00462/1.457, allocations: 0.7426 MB / 0.8882 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/1.479, allocations: 19.04 MB / 0.9068 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004767/1.484, allocations: 4.798 MB / 0.9114 GB, free: 98.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007476/1.491, allocations: 2.953 MB / 0.9143 GB, free: 95.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002229/1.493, allocations: 403.4 kB / 0.9147 GB, free: 94.89 MB / 0.4981 GB Notification: Performance of SimCode: time 7.92e-07/1.493, allocations: 4 kB / 0.9147 GB, free: 94.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.1126/1.606, allocations: 70.99 MB / 0.984 GB, free: 24 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.makefile (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)