Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001323/0.001324, 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.001903/0.001903, allocations: 196.3 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.674/1.674, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3553/0.3553, allocations: 39.93 MB / 309.7 MB, free: 9.312 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.2. 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.001466/0.001466, allocations: 79.88 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1452, allocations: 56.88 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01845/0.1637, allocations: 16.62 MB / 451.1 MB, free: 2.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2699/0.4337, allocations: 5.046 MB / 456.2 MB, free: 36.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004436/0.4382, allocations: 110.1 kB / 456.3 MB, free: 36.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008951/0.4472, allocations: 5.054 MB / 461.3 MB, free: 36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009008/0.4563, allocations: 2.67 MB / 464 MB, free: 35.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003315/0.4596, allocations: 1.098 MB / 465.1 MB, free: 35.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01008/0.4697, allocations: 6.781 MB / 471.9 MB, free: 33.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007067/0.4768, allocations: 5.916 MB / 477.8 MB, free: 31.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00501/0.4819, allocations: 2.529 MB / 480.3 MB, free: 30.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005947/0.4879, allocations: 3.436 MB / 483.7 MB, free: 29.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002652/0.4905, allocations: 0.5456 MB / 484.3 MB, free: 29.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00506/0.4956, allocations: 1.419 MB / 485.7 MB, free: 28.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00596/0.5016, allocations: 3.18 MB / 488.9 MB, free: 27.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01065/0.5123, allocations: 3.585 MB / 492.5 MB, free: 25.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01911/0.5315, allocations: 10.81 MB / 0.4915 GB, free: 20.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.5315, allocations: 0 / 0.4915 GB, free: 20.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5315, allocations: 0 / 0.4915 GB, free: 20.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006062/0.5321, allocations: 0 / 0.4915 GB, free: 20.79 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.03139/0.5636, allocations: 7.781 MB / 0.4991 GB, free: 15.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.5636, allocations: 13.73 kB / 0.4991 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01548/0.5791, allocations: 2.8 MB / 0.5018 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/0.5921, allocations: 4.486 MB / 0.5062 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004508/0.5926, allocations: 383.1 kB / 0.5066 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002931/0.5955, allocations: 0.4908 MB / 0.5071 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03861/0.6341, allocations: 15.69 MB / 0.5224 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005642/0.6348, allocations: 63.45 kB / 0.5224 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003272/0.638, allocations: 239.1 kB / 0.5227 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006516/0.6446, allocations: 3.002 MB / 0.5256 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0496/0.6942, allocations: 13.42 MB / 0.5387 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1467/0.8409, allocations: 61.09 MB / 0.5984 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02056/0.8615, allocations: 7.61 MB / 0.6058 GB, free: 4.148 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006391/0.868, allocations: 4.161 MB / 0.6099 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0202/0.8882, allocations: 9.844 MB / 0.6195 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.254e-05/0.8883, allocations: 60.5 kB / 0.6195 GB, free: 5.969 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 7.313e-06/0.8883, allocations: 0 / 0.6195 GB, free: 5.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.3063/1.195, allocations: 34.33 MB / 0.6531 GB, free: 136.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.195, allocations: 242.5 kB / 0.6533 GB, free: 136.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01284/1.208, allocations: 6.889 MB / 0.66 GB, free: 134 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001124/1.209, allocations: 72.67 kB / 0.6601 GB, free: 133.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003363/1.212, allocations: 4.63 MB / 0.6646 GB, free: 130.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002157/1.214, allocations: 1.197 MB / 0.6658 GB, free: 129.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003126/1.217, allocations: 1.878 MB / 0.6676 GB, free: 128.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.379e-05/1.217, allocations: 305.8 kB / 0.6679 GB, free: 128.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006742/1.224, allocations: 3.905 MB / 0.6717 GB, free: 127 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008594/1.233, allocations: 9.081 MB / 0.6806 GB, free: 118.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01401/1.247, allocations: 13.92 MB / 0.6942 GB, free: 107.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001583/1.247, allocations: 49.69 kB / 0.6942 GB, free: 107.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02508/1.272, allocations: 14.81 MB / 0.7087 GB, free: 95.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.549e-05/1.272, allocations: 80.56 kB / 0.7088 GB, free: 95.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001545/1.272, allocations: 184 kB / 0.7089 GB, free: 95.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005062/1.278, allocations: 2.273 MB / 0.7112 GB, free: 92.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007158/1.285, allocations: 2.167 MB / 0.7133 GB, free: 90.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0148/1.3, allocations: 14.25 MB / 0.7272 GB, free: 76.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008961/1.308, allocations: 0.539 MB / 0.7277 GB, free: 75.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00262/1.311, allocations: 0.5405 MB / 0.7282 GB, free: 74.97 MB / 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 (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.008339/1.319, allocations: 3.152 MB / 0.7313 GB, free: 71.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001717/1.321, allocations: 0.5707 MB / 0.7319 GB, free: 71.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/1.335, allocations: 7.764 MB / 0.7395 GB, free: 63.44 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.835e-05/1.335, allocations: 35.94 kB / 0.7395 GB, free: 63.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.527e-05/1.335, allocations: 16 kB / 0.7395 GB, free: 63.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.404e-05/1.335, allocations: 19.81 kB / 0.7395 GB, free: 63.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0329/1.368, allocations: 16.26 MB / 0.7554 GB, free: 47.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-05/1.368, allocations: 4 kB / 0.7554 GB, free: 47.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002889/1.371, allocations: 0.5577 MB / 0.756 GB, free: 46.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005034/1.376, allocations: 2.027 MB / 0.7579 GB, free: 44.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006234/1.377, allocations: 63.44 kB / 0.758 GB, free: 44.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01588/1.393, allocations: 13.53 MB / 0.7712 GB, free: 30.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-06/1.393, allocations: 7.938 kB / 0.7712 GB, free: 30.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01956/1.412, allocations: 12.34 MB / 0.7833 GB, free: 18.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004176/1.416, allocations: 1.188 MB / 0.7844 GB, free: 16.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002617/1.419, allocations: 53.5 kB / 0.7845 GB, free: 16.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004483/1.423, allocations: 232.1 kB / 0.7847 GB, free: 16.67 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009221/1.424, allocations: 189.9 kB / 0.7849 GB, free: 16.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004947/1.425, allocations: 83.98 kB / 0.785 GB, free: 16.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008463/1.433, allocations: 4.414 MB / 0.7893 GB, free: 12 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.433, allocations: 0 / 0.7893 GB, free: 12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01109/1.445, allocations: 1.707 MB / 0.7909 GB, free: 10.3 MB / 494.1 MB 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.001174/1.446, allocations: 212.1 kB / 0.7911 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02016/1.466, allocations: 11.55 MB / 0.8024 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/1.466, allocations: 3.938 kB / 0.8024 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.008102/1.474, allocations: 3.863 MB / 0.8062 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008576/1.483, allocations: 0.7473 MB / 0.8069 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2431/1.726, allocations: 16.06 MB / 0.8226 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005092/1.731, allocations: 4.792 MB / 0.8273 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006676/1.738, allocations: 2.944 MB / 0.8302 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/1.739, allocations: 410.8 kB / 0.8305 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/1.739, allocations: 3.094 kB / 0.8305 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.1126/1.852, allocations: 70.98 MB / 0.8999 GB, free: 96.71 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1)