Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.000955/0.0009551, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001226/0.001226, allocations: 168.7 kB / 15.95 MB, free: 204 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.834/1.834, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.4983/0.4983, allocations: 40 MB / 310.4 MB, free: 9.648 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.0005836/0.0005838, allocations: 19.98 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1387, allocations: 57.96 MB / 436.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.3292/0.4679, allocations: 96.42 MB / 0.5207 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04802/0.516, allocations: 19.13 MB / 0.5394 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01944/0.5355, allocations: 457.4 kB / 0.5398 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01737/0.5529, allocations: 5.077 MB / 0.5448 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04194/0.5949, allocations: 14.69 MB / 0.5591 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006461/0.6014, allocations: 0.9843 MB / 0.5601 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.04856/0.65, allocations: 37.06 MB / 0.5963 GB, free: 4.363 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01328/0.6633, allocations: 8.916 MB / 0.605 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004642/0.668, allocations: 2.265 MB / 0.6072 GB, free: 9.133 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005345/0.6734, allocations: 3.602 MB / 0.6107 GB, free: 5.52 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00124/0.6746, allocations: 272 kB / 0.611 GB, free: 5.254 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/0.6775, allocations: 1.038 MB / 0.612 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003638/0.6811, allocations: 3.21 MB / 0.6151 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.6834, allocations: 1.52 MB / 0.6166 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.6948, allocations: 10.21 MB / 0.6266 GB, free: 5.234 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.6949, allocations: 4 kB / 0.6266 GB, free: 5.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6949, allocations: 0 / 0.6266 GB, free: 5.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000491/0.6954, allocations: 0 / 0.6266 GB, free: 5.23 MB / 494.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.4812/1.177, allocations: 7.311 MB / 0.6337 GB, free: 147.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/1.177, allocations: 8.219 kB / 0.6337 GB, free: 147.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01347/1.19, allocations: 3.048 MB / 0.6367 GB, free: 147.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009717/1.2, allocations: 4.79 MB / 0.6414 GB, free: 146 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/1.2, allocations: 454 kB / 0.6418 GB, free: 146 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001931/1.202, allocations: 0.5894 MB / 0.6424 GB, free: 146 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03371/1.236, allocations: 18.47 MB / 0.6604 GB, free: 138 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006669/1.237, allocations: 72.78 kB / 0.6605 GB, free: 138 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003192/1.24, allocations: 286.3 kB / 0.6608 GB, free: 137.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007444/1.247, allocations: 3.54 MB / 0.6642 GB, free: 137.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0419/1.289, allocations: 15.62 MB / 0.6795 GB, free: 132.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0847/1.374, allocations: 70.24 MB / 0.7481 GB, free: 61.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01855/1.393, allocations: 8.456 MB / 0.7563 GB, free: 53.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005561/1.398, allocations: 4.986 MB / 0.7612 GB, free: 48.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01831/1.417, allocations: 11.87 MB / 0.7728 GB, free: 36.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.438e-05/1.417, allocations: 73.12 kB / 0.7729 GB, free: 36.31 MB / 494.1 MB Notification: Performance of pre-optimization done (n=347): time 9.017e-06/1.417, allocations: 0 / 0.7729 GB, free: 36.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=389): time 0.09377/1.511, allocations: 38.88 MB / 0.8109 GB, free: 13.19 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/1.511, allocations: 248.9 kB / 0.8111 GB, free: 12.9 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01349/1.524, allocations: 7.385 MB / 0.8183 GB, free: 5.527 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009831/1.525, allocations: 85.7 kB / 0.8184 GB, free: 5.438 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.00429/1.53, allocations: 5.21 MB / 0.8235 GB, free: 240 kB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.2272/1.757, allocations: 1.445 MB / 0.8249 GB, free: 146.6 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009934/1.758, allocations: 202.7 kB / 0.8251 GB, free: 146.6 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0004755/1.758, allocations: 0.7431 MB / 0.8258 GB, free: 146.3 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00652/1.765, allocations: 4.427 MB / 0.8301 GB, free: 146.3 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008986/1.774, allocations: 10.06 MB / 0.8399 GB, free: 138.1 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009305/1.783, allocations: 6.521 MB / 0.8463 GB, free: 135.6 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001711/1.783, allocations: 57.12 kB / 0.8464 GB, free: 135.6 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1343) (initialization): time 0.0269/1.81, allocations: 16.38 MB / 0.8624 GB, free: 130 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/1.811, allocations: 92.72 kB / 0.8624 GB, free: 130 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003039/1.811, allocations: 195.2 kB / 0.8626 GB, free: 130 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005249/1.816, allocations: 2.349 MB / 0.8649 GB, free: 129.6 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008557/1.825, allocations: 2.445 MB / 0.8673 GB, free: 129.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/1.842, allocations: 13.47 MB / 0.8805 GB, free: 122.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009747/1.852, allocations: 0.5968 MB / 0.8811 GB, free: 122.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003141/1.855, allocations: 0.5886 MB / 0.8816 GB, free: 122.4 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 (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%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009026/1.864, allocations: 3.614 MB / 0.8852 GB, free: 120.7 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001422/1.866, allocations: 0.6463 MB / 0.8858 GB, free: 120.4 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/1.88, allocations: 9.181 MB / 0.8948 GB, free: 116.8 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.345e-05/1.88, allocations: 40 kB / 0.8948 GB, free: 116.7 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-05/1.88, allocations: 12 kB / 0.8948 GB, free: 116.7 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-05/1.88, allocations: 18.61 kB / 0.8948 GB, free: 116.7 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03033/1.911, allocations: 19.35 MB / 0.9137 GB, free: 100.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.73e-05/1.911, allocations: 8 kB / 0.9137 GB, free: 100.2 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003405/1.914, allocations: 0.7029 MB / 0.9144 GB, free: 99.46 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004606/1.919, allocations: 2.041 MB / 0.9164 GB, free: 97.42 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008648/1.92, allocations: 75.98 kB / 0.9165 GB, free: 97.34 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01362/1.933, allocations: 12.73 MB / 0.9289 GB, free: 84.36 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.933, allocations: 11.94 kB / 0.9289 GB, free: 84.34 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/1.952, allocations: 14.28 MB / 0.9429 GB, free: 69.88 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003608/1.955, allocations: 1.363 MB / 0.9442 GB, free: 68.48 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001267/1.957, allocations: 72 kB / 0.9443 GB, free: 68.41 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002752/1.959, allocations: 271.6 kB / 0.9445 GB, free: 68.15 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000508/1.96, allocations: 240.9 kB / 0.9448 GB, free: 67.92 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002466/1.96, allocations: 107 kB / 0.9449 GB, free: 67.82 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.006503/1.967, allocations: 4.735 MB / 0.9495 GB, free: 63.11 MB / 0.4982 GB Notification: Performance of sort global known variables: time 7.41e-07/1.967, allocations: 0 / 0.9495 GB, free: 63.11 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01135/1.978, allocations: 1.943 MB / 0.9514 GB, free: 61.17 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 (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%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00105/1.979, allocations: 231 kB / 0.9516 GB, free: 60.94 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01944/1.999, allocations: 10.75 MB / 0.9621 GB, free: 50.21 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/1.999, allocations: 0 / 0.9621 GB, free: 50.21 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006913/2.006, allocations: 4.322 MB / 0.9663 GB, free: 45.87 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005454/2.011, allocations: 0.8004 MB / 0.9671 GB, free: 45.09 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/2.038, allocations: 21.38 MB / 0.988 GB, free: 23.62 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006095/2.044, allocations: 5.491 MB / 0.9933 GB, free: 18.09 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007986/2.052, allocations: 3.318 MB / 0.9966 GB, free: 14.77 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002029/2.054, allocations: 459.3 kB / 0.997 GB, free: 14.32 MB / 0.4982 GB Notification: Performance of SimCode: time 1.643e-06/2.054, allocations: 0 / 0.997 GB, free: 14.32 MB / 0.4982 GB Notification: Performance of Templates: time 0.3994/2.453, allocations: 73.25 MB / 1.069 GB, free: 113.6 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) Environment - environmentSimulation: