Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00116/0.00116, allocations: 177.3 kB / 15.95 MB, free: 216 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.608/1.608, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.4072/0.4072, allocations: 38.03 MB / 308.4 MB, free: 10.4 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.0006322/0.0006329, allocations: 19.98 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1564, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.3575/0.514, allocations: 83.6 MB / 0.5054 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05123/0.5653, allocations: 18.71 MB / 0.5237 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02611/0.5915, allocations: 411.1 kB / 0.5241 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01866/0.6102, allocations: 4.207 MB / 0.5282 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05221/0.6625, allocations: 11.92 MB / 0.5398 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007049/0.6695, allocations: 0.9059 MB / 0.5407 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04426/0.7138, allocations: 27.51 MB / 0.5676 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01415/0.728, allocations: 7.363 MB / 0.5747 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004822/0.7329, allocations: 1.67 MB / 0.5764 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004964/0.7379, allocations: 2.258 MB / 0.5786 GB, free: 7.754 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001941/0.7399, allocations: 244 kB / 0.5788 GB, free: 7.516 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004742/0.7447, allocations: 1.104 MB / 0.5799 GB, free: 6.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005006/0.7497, allocations: 2.669 MB / 0.5825 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003725/0.7534, allocations: 1.388 MB / 0.5839 GB, free: 2.336 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01521/0.7687, allocations: 9.317 MB / 0.593 GB, free: 8.996 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7687, allocations: 0 / 0.593 GB, free: 8.996 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.7688, allocations: 0 / 0.593 GB, free: 8.996 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006209/0.7694, allocations: 0 / 0.593 GB, free: 8.996 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02116/0.7906, allocations: 7.094 MB / 0.5999 GB, free: 1.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.7906, allocations: 8.031 kB / 0.5999 GB, free: 1.812 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04617/0.8368, allocations: 8.33 MB / 0.608 GB, free: 9.461 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01406/0.8509, allocations: 4.849 MB / 0.6128 GB, free: 4.531 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005287/0.8515, allocations: 394.1 kB / 0.6131 GB, free: 4.145 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002857/0.8544, allocations: 0.5153 MB / 0.6136 GB, free: 3.629 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0407/0.8951, allocations: 16.94 MB / 0.6302 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004356/0.8956, allocations: 75.3 kB / 0.6303 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00244/0.898, allocations: 251.8 kB / 0.6305 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4907/1.389, allocations: 3.243 MB / 0.6337 GB, free: 143.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0308/1.42, allocations: 14.41 MB / 0.6477 GB, free: 141.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08966/1.509, allocations: 62.56 MB / 0.7088 GB, free: 99.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01942/1.529, allocations: 6.976 MB / 0.7156 GB, free: 96.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01817/1.547, allocations: 9.514 MB / 0.7249 GB, free: 86.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/1.547, allocations: 72.8 kB / 0.725 GB, free: 86.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=297): time 6.332e-06/1.547, allocations: 4 kB / 0.725 GB, free: 86.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.08038/1.627, allocations: 34.12 MB / 0.7583 GB, free: 52.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.935e-05/1.628, allocations: 244.2 kB / 0.7586 GB, free: 51.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008945/1.637, allocations: 6.971 MB / 0.7654 GB, free: 44.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0011/1.638, allocations: 81.69 kB / 0.7654 GB, free: 44.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00259/1.64, allocations: 4.799 MB / 0.7701 GB, free: 39.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001795/1.642, allocations: 1.269 MB / 0.7714 GB, free: 38.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005174/1.643, allocations: 176 kB / 0.7715 GB, free: 38.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000346/1.643, allocations: 0.6939 MB / 0.7722 GB, free: 37.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004799/1.648, allocations: 3.812 MB / 0.7759 GB, free: 34.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006781/1.655, allocations: 8.839 MB / 0.7846 GB, free: 22.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007156/1.662, allocations: 5.679 MB / 0.7901 GB, free: 17.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.027e-05/1.662, allocations: 52 kB / 0.7902 GB, free: 16.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=1169) (initialization): time 0.02329/1.685, allocations: 14.05 MB / 0.8039 GB, free: 2.902 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.685, allocations: 83.12 kB / 0.804 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001955/1.686, allocations: 176 kB / 0.8041 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004086/1.69, allocations: 1.809 MB / 0.8059 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008502/1.698, allocations: 2.098 MB / 0.8079 GB, free: 14.73 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/1.715, allocations: 12.38 MB / 0.82 GB, free: 2.094 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008495/1.723, allocations: 0.519 MB / 0.8205 GB, free: 1.574 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002228/1.726, allocations: 0.5234 MB / 0.821 GB, free: 1.051 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1087): * Single equations (assignments): 1080 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2954/2.021, allocations: 3.277 MB / 0.8242 GB, free: 143.1 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001802/2.023, allocations: 0.5888 MB / 0.8248 GB, free: 143.1 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/2.036, allocations: 7.71 MB / 0.8323 GB, free: 142.9 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.291e-05/2.036, allocations: 33.59 kB / 0.8324 GB, free: 142.9 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.63e-05/2.036, allocations: 9.812 kB / 0.8324 GB, free: 142.9 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-05/2.036, allocations: 13.78 kB / 0.8324 GB, free: 142.9 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03298/2.069, allocations: 16.37 MB / 0.8484 GB, free: 137 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/2.069, allocations: 2.938 kB / 0.8484 GB, free: 137 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003251/2.073, allocations: 0.5864 MB / 0.849 GB, free: 137 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004037/2.077, allocations: 1.526 MB / 0.8505 GB, free: 136.7 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008412/2.078, allocations: 62.91 kB / 0.8505 GB, free: 136.7 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02013/2.098, allocations: 11.58 MB / 0.8618 GB, free: 130.7 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/2.098, allocations: 13.3 kB / 0.8618 GB, free: 130.7 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0321/2.13, allocations: 12.99 MB / 0.8745 GB, free: 125.1 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006306/2.136, allocations: 1.232 MB / 0.8757 GB, free: 124.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003548/2.14, allocations: 64.03 kB / 0.8758 GB, free: 124.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005237/2.145, allocations: 230.2 kB / 0.876 GB, free: 124.6 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001466/2.147, allocations: 210.3 kB / 0.8762 GB, free: 124.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008992/2.148, allocations: 88.75 kB / 0.8763 GB, free: 124.5 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.0113/2.159, allocations: 4.519 MB / 0.8807 GB, free: 123 MB / 0.4982 GB Notification: Performance of sort global known variables: time 9.01e-07/2.159, allocations: 0 / 0.8807 GB, free: 123 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01347/2.172, allocations: 1.737 MB / 0.8824 GB, free: 122.8 MB / 0.4982 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 (279): * Single equations (assignments): 274 * 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.002413/2.175, allocations: 224 kB / 0.8826 GB, free: 122.7 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01816/2.193, allocations: 9.33 MB / 0.8917 GB, free: 117.6 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/2.193, allocations: 7.156 kB / 0.8917 GB, free: 117.6 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.007585/2.201, allocations: 3.794 MB / 0.8954 GB, free: 114.3 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006102/2.207, allocations: 0.7171 MB / 0.8961 GB, free: 113.6 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03404/2.241, allocations: 19.06 MB / 0.9148 GB, free: 95.18 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009226/2.25, allocations: 5.183 MB / 0.9198 GB, free: 89.97 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.009685/2.26, allocations: 2.987 MB / 0.9227 GB, free: 86.98 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002648/2.263, allocations: 419.3 kB / 0.9231 GB, free: 86.57 MB / 0.4982 GB Notification: Performance of SimCode: time 8.82e-07/2.263, allocations: 0 / 0.9231 GB, free: 86.57 MB / 0.4982 GB Notification: Performance of Templates: time 0.1159/2.378, allocations: 66.4 MB / 0.988 GB, free: 20.24 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) Environment - environmentSimulation: