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.0007767/0.0007767, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008585/0.0008588, allocations: 172.7 kB / 15.95 MB, free: 208 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.38/1.38, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.2848/0.2848, allocations: 38.04 MB / 308.4 MB, free: 10.28 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.0005001/0.0005002, allocations: 19.98 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1087, allocations: 57.52 MB / 434 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2548/0.3635, allocations: 81.75 MB / 0.5036 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03439/0.398, allocations: 16.45 MB / 0.5197 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01569/0.4137, allocations: 386.8 kB / 0.5201 GB, free: 7.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01204/0.4258, allocations: 4.29 MB / 0.5242 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03126/0.4571, allocations: 12.51 MB / 0.5365 GB, free: 100 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005654/0.4628, allocations: 0.8957 MB / 0.5373 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04446/0.5072, allocations: 36.11 MB / 0.5726 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01043/0.5177, allocations: 7.412 MB / 0.5798 GB, free: 6.871 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003976/0.5217, allocations: 2.008 MB / 0.5818 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004337/0.5261, allocations: 3.154 MB / 0.5849 GB, free: 1.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000916/0.527, allocations: 232 kB / 0.5851 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.5293, allocations: 1.003 MB / 0.5861 GB, free: 472 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002788/0.5321, allocations: 2.778 MB / 0.5888 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001822/0.5339, allocations: 1.302 MB / 0.5901 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008167/0.5421, allocations: 8.569 MB / 0.5984 GB, free: 3.773 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5421, allocations: 0 / 0.5984 GB, free: 3.773 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5421, allocations: 4 kB / 0.5984 GB, free: 3.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002899/0.5424, allocations: 7.938 kB / 0.5984 GB, free: 3.762 MB / 462.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.01179/0.5542, allocations: 6.483 MB / 0.6048 GB, free: 13.2 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.5543, allocations: 8.031 kB / 0.6048 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/0.5652, allocations: 2.873 MB / 0.6076 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008063/0.5733, allocations: 4.396 MB / 0.6119 GB, free: 5.824 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002805/0.5736, allocations: 373.6 kB / 0.6122 GB, free: 5.457 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.5747, allocations: 0.4919 MB / 0.6127 GB, free: 4.965 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02558/0.6003, allocations: 15.67 MB / 0.628 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001548/0.6005, allocations: 75.36 kB / 0.6281 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005491/0.6011, allocations: 235.8 kB / 0.6283 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004496/0.6056, allocations: 3.004 MB / 0.6312 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2113/0.8168, allocations: 13.37 MB / 0.6443 GB, free: 141.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06525/0.8821, allocations: 61.09 MB / 0.704 GB, free: 101.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0169/0.8991, allocations: 7.634 MB / 0.7114 GB, free: 98.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004397/0.9035, allocations: 4.145 MB / 0.7155 GB, free: 96.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01367/0.9172, allocations: 9.835 MB / 0.7251 GB, free: 87.51 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.9173, allocations: 68.31 kB / 0.7251 GB, free: 87.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 5.561e-06/0.9173, allocations: 4.594 kB / 0.7251 GB, free: 87.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.06999/0.9873, allocations: 34.29 MB / 0.7586 GB, free: 52.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.9875, allocations: 239.9 kB / 0.7588 GB, free: 52.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007927/0.9954, allocations: 6.846 MB / 0.7655 GB, free: 45.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008717/0.9963, allocations: 84.2 kB / 0.7656 GB, free: 45.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002325/0.9986, allocations: 4.622 MB / 0.7701 GB, free: 41.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001218/0.9999, allocations: 1.198 MB / 0.7713 GB, free: 39.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004374/1, allocations: 182.7 kB / 0.7715 GB, free: 39.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003449/1.001, allocations: 0.6985 MB / 0.7722 GB, free: 39.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00505/1.006, allocations: 3.867 MB / 0.7759 GB, free: 35.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008038/1.014, allocations: 9.044 MB / 0.7848 GB, free: 23.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00698/1.021, allocations: 5.767 MB / 0.7904 GB, free: 17.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.409e-05/1.021, allocations: 52 kB / 0.7904 GB, free: 17.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02137/1.042, allocations: 14.73 MB / 0.8048 GB, free: 3.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.611e-05/1.042, allocations: 83.28 kB / 0.8049 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/1.043, allocations: 180.8 kB / 0.8051 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004642/1.047, allocations: 2.304 MB / 0.8073 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006964/1.054, allocations: 2.172 MB / 0.8095 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01672/1.071, allocations: 13.21 MB / 0.8224 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006949/1.078, allocations: 0.5422 MB / 0.8229 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2117/1.29, allocations: 0.5343 MB / 0.8234 GB, free: 143.6 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 (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 {(3,100.0%) 21,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007179/1.297, allocations: 3.161 MB / 0.8265 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/1.298, allocations: 0.5754 MB / 0.8271 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.311, allocations: 7.739 MB / 0.8346 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.442e-05/1.311, allocations: 39.28 kB / 0.8347 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.223e-05/1.311, allocations: 13.11 kB / 0.8347 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-05/1.311, allocations: 16.97 kB / 0.8347 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02436/1.335, allocations: 16.24 MB / 0.8505 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.617e-05/1.335, allocations: 8.906 kB / 0.8506 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002525/1.338, allocations: 0.5571 MB / 0.8511 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004774/1.342, allocations: 2.016 MB / 0.8531 GB, free: 137.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003545/1.343, allocations: 60.47 kB / 0.8531 GB, free: 137.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01629/1.359, allocations: 12.58 MB / 0.8654 GB, free: 131 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.359, allocations: 11.28 kB / 0.8654 GB, free: 131 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01991/1.379, allocations: 12.31 MB / 0.8774 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002648/1.382, allocations: 1.195 MB / 0.8786 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008893/1.383, allocations: 62.86 kB / 0.8787 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/1.385, allocations: 222.4 kB / 0.8789 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00048/1.385, allocations: 196.6 kB / 0.8791 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/1.386, allocations: 83.08 kB / 0.8792 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006164/1.392, allocations: 4.377 MB / 0.8834 GB, free: 124.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.392, allocations: 0 / 0.8834 GB, free: 124.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006844/1.399, allocations: 1.705 MB / 0.8851 GB, free: 124.1 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 {(5,72.0%) 16,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004716/1.399, allocations: 211.2 kB / 0.8853 GB, free: 124 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.41, allocations: 9.392 MB / 0.8945 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/1.41, allocations: 0 / 0.8945 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005388/1.416, allocations: 3.85 MB / 0.8982 GB, free: 114 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00546/1.421, allocations: 0.7082 MB / 0.8989 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/1.446, allocations: 18.44 MB / 0.9169 GB, free: 95.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003993/1.45, allocations: 4.8 MB / 0.9216 GB, free: 90.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006211/1.456, allocations: 2.946 MB / 0.9245 GB, free: 87.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/1.457, allocations: 403.4 kB / 0.9249 GB, free: 86.86 MB / 0.4981 GB Notification: Performance of SimCode: time 1.143e-06/1.457, allocations: 0 / 0.9249 GB, free: 86.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.09212/1.549, allocations: 65.62 MB / 0.989 GB, free: 21.32 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: