Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001673, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002358/0.002358, allocations: 192.3 kB / 16.25 MB, free: 6.629 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.563/1.563, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.3032/0.3032, allocations: 37.98 MB / 307.4 MB, free: 10.19 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.001378/0.001378, allocations: 78.39 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1046, allocations: 56.46 MB / 431.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.2767/0.3813, allocations: 106.2 MB / 0.5248 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05022/0.4316, allocations: 19.89 MB / 0.5442 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02978/0.4615, allocations: 449.2 kB / 0.5446 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0114/0.473, allocations: 5.641 MB / 0.5501 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008713/0.4817, allocations: 2.752 MB / 0.5528 GB, free: 456 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00363/0.4854, allocations: 1.139 MB / 0.5539 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01244/0.4979, allocations: 7.751 MB / 0.5615 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01377/0.5117, allocations: 7.934 MB / 0.5693 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006507/0.5183, allocations: 2.987 MB / 0.5722 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007469/0.5258, allocations: 4.432 MB / 0.5765 GB, free: 8.137 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002982/0.5288, allocations: 0.668 MB / 0.5772 GB, free: 7.469 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005045/0.5339, allocations: 1.565 MB / 0.5787 GB, free: 5.902 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005908/0.5398, allocations: 3.772 MB / 0.5824 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008369/0.5482, allocations: 4.269 MB / 0.5865 GB, free: 13.83 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01735/0.5656, allocations: 12.86 MB / 0.5991 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.5657, allocations: 0 / 0.5991 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5657, allocations: 3.938 kB / 0.5991 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005208/0.5662, allocations: 0 / 0.5991 GB, free: 0.9219 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02452/0.5908, allocations: 8.854 MB / 0.6077 GB, free: 7.98 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.5908, allocations: 15.83 kB / 0.6078 GB, free: 7.965 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/0.6056, allocations: 2.981 MB / 0.6107 GB, free: 4.969 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/0.6182, allocations: 4.879 MB / 0.6154 GB, free: 8 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005665/0.6188, allocations: 452.2 kB / 0.6159 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003234/0.622, allocations: 0.5894 MB / 0.6164 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3844/1.006, allocations: 18.49 MB / 0.6345 GB, free: 142.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000205/1.007, allocations: 70.17 kB / 0.6346 GB, free: 142.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001005/1.008, allocations: 281.5 kB / 0.6348 GB, free: 142.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004853/1.013, allocations: 3.541 MB / 0.6383 GB, free: 142.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02607/1.039, allocations: 15.68 MB / 0.6536 GB, free: 137.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08511/1.124, allocations: 70.22 MB / 0.7222 GB, free: 89.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01905/1.143, allocations: 8.448 MB / 0.7304 GB, free: 81.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005893/1.149, allocations: 4.999 MB / 0.7353 GB, free: 76.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0189/1.168, allocations: 11.86 MB / 0.7469 GB, free: 64.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/1.168, allocations: 77.11 kB / 0.747 GB, free: 64.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=347): time 5.991e-06/1.168, allocations: 4 kB / 0.747 GB, free: 64.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=389): time 0.09045/1.258, allocations: 38.93 MB / 0.785 GB, free: 25.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/1.258, allocations: 248.9 kB / 0.7852 GB, free: 24.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009218/1.268, allocations: 7.424 MB / 0.7925 GB, free: 17.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001031/1.269, allocations: 85.7 kB / 0.7926 GB, free: 17.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00258/1.271, allocations: 5.212 MB / 0.7976 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001875/1.273, allocations: 1.446 MB / 0.7991 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002704/1.276, allocations: 2.082 MB / 0.8011 GB, free: 8.551 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.694e-05/1.276, allocations: 305.1 kB / 0.8014 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005591/1.282, allocations: 4.467 MB / 0.8057 GB, free: 3.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01222/1.294, allocations: 10.09 MB / 0.8156 GB, free: 6.949 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.274/1.568, allocations: 15.65 MB / 0.8309 GB, free: 135.5 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001649/1.568, allocations: 58 kB / 0.8309 GB, free: 135.5 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1343) (initialization): time 0.02961/1.598, allocations: 16.46 MB / 0.847 GB, free: 130.3 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/1.598, allocations: 93.09 kB / 0.8471 GB, free: 130.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002739/1.598, allocations: 197.6 kB / 0.8473 GB, free: 130.3 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005682/1.604, allocations: 2.319 MB / 0.8496 GB, free: 129.9 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00976/1.614, allocations: 2.439 MB / 0.8519 GB, free: 129.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/1.631, allocations: 14.44 MB / 0.866 GB, free: 122.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009407/1.641, allocations: 0.5931 MB / 0.8666 GB, free: 122.2 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002416/1.643, allocations: 0.5812 MB / 0.8672 GB, free: 122.1 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * Number of states: 0 () * Number of discrete variables: 69 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.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 (1261): * Single equations (assignments): 1254 * 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,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008738/1.652, allocations: 3.632 MB / 0.8707 GB, free: 120.5 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001366/1.653, allocations: 0.6347 MB / 0.8713 GB, free: 120.5 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01757/1.671, allocations: 9.193 MB / 0.8803 GB, free: 117.2 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-05/1.671, allocations: 39.84 kB / 0.8804 GB, free: 117.2 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.467e-05/1.671, allocations: 15.5 kB / 0.8804 GB, free: 117.2 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001223/1.671, allocations: 16.97 kB / 0.8804 GB, free: 117.2 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03849/1.71, allocations: 19.38 MB / 0.8993 GB, free: 107.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-05/1.71, allocations: 8 kB / 0.8993 GB, free: 107.6 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003678/1.713, allocations: 0.6992 MB / 0.9 GB, free: 107.1 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005048/1.718, allocations: 2.047 MB / 0.902 GB, free: 105.4 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008978/1.719, allocations: 79.92 kB / 0.9021 GB, free: 105.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/1.734, allocations: 13.67 MB / 0.9154 GB, free: 91.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.734, allocations: 11.94 kB / 0.9154 GB, free: 91.48 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0184/1.752, allocations: 14.32 MB / 0.9294 GB, free: 77.14 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003601/1.756, allocations: 1.344 MB / 0.9307 GB, free: 75.77 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002032/1.758, allocations: 79.89 kB / 0.9308 GB, free: 75.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004056/1.762, allocations: 259.6 kB / 0.9311 GB, free: 75.44 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009115/1.763, allocations: 246.8 kB / 0.9313 GB, free: 75.2 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004771/1.763, allocations: 104 kB / 0.9314 GB, free: 75.1 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.008441/1.772, allocations: 4.794 MB / 0.9361 GB, free: 70.34 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.31e-07/1.772, allocations: 0 / 0.9361 GB, free: 70.34 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01238/1.784, allocations: 1.942 MB / 0.938 GB, free: 68.4 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (329): * Single equations (assignments): 324 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001695/1.786, allocations: 227.8 kB / 0.9382 GB, free: 68.18 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02346/1.81, allocations: 13.95 MB / 0.9518 GB, free: 54.29 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/1.81, allocations: 0 / 0.9518 GB, free: 54.29 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.007519/1.817, allocations: 4.322 MB / 0.956 GB, free: 49.94 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009684/1.827, allocations: 0.8456 MB / 0.9569 GB, free: 49.14 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03838/1.865, allocations: 22.09 MB / 0.9784 GB, free: 26.96 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0108/1.876, allocations: 5.483 MB / 0.9838 GB, free: 21.44 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01065/1.887, allocations: 3.318 MB / 0.987 GB, free: 18.11 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003461/1.89, allocations: 465.2 kB / 0.9875 GB, free: 17.66 MB / 0.4982 GB Notification: Performance of SimCode: time 1.633e-06/1.89, allocations: 3.938 kB / 0.9875 GB, free: 17.66 MB / 0.4982 GB Notification: Performance of Templates: time 0.3745/2.265, allocations: 79.36 MB / 1.065 GB, free: 132.6 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1)