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.000806/0.0008061, allocations: 91.3 kB / 15.36 MB, free: 0.7344 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.005006/0.005006, allocations: 169.5 kB / 16.26 MB, free: 6.68 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.477/1.477, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3216/0.3216, allocations: 38.03 MB / 308.8 MB, free: 10.33 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.0005729/0.0005729, allocations: 16 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1177, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.3013/0.4191, allocations: 95.29 MB / 0.5174 GB, free: 8.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05578/0.4749, allocations: 18.59 MB / 0.5356 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02645/0.5014, allocations: 417.3 kB / 0.536 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003319/0.5048, allocations: 0.644 MB / 0.5366 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009438/0.5142, allocations: 2.619 MB / 0.5392 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003565/0.5178, allocations: 0.9389 MB / 0.5401 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01818/0.536, allocations: 10.23 MB / 0.5501 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01128/0.5474, allocations: 8.225 MB / 0.5581 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/0.551, allocations: 1.906 MB / 0.56 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003762/0.5548, allocations: 3.278 MB / 0.5632 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005847/0.5554, allocations: 244 kB / 0.5634 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.5579, allocations: 1.342 MB / 0.5647 GB, free: 6.629 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002408/0.5603, allocations: 2.941 MB / 0.5676 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003014/0.5633, allocations: 3.336 MB / 0.5708 GB, free: 324 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.5745, allocations: 11.06 MB / 0.5817 GB, free: 5.215 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5745, allocations: 0 / 0.5817 GB, free: 5.215 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5745, allocations: 0 / 0.5817 GB, free: 5.215 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002825/0.5748, allocations: 4 kB / 0.5817 GB, free: 5.211 MB / 446.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.01396/0.5888, allocations: 6.595 MB / 0.5881 GB, free: 14.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.5888, allocations: 8.031 kB / 0.5881 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01325/0.6021, allocations: 2.932 MB / 0.591 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/0.6127, allocations: 4.553 MB / 0.5954 GB, free: 6.945 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004165/0.6131, allocations: 402.1 kB / 0.5958 GB, free: 6.551 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002157/0.6153, allocations: 0.5152 MB / 0.5963 GB, free: 6.035 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03147/0.6468, allocations: 16.93 MB / 0.6128 GB, free: 4.113 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001843/0.647, allocations: 71.36 kB / 0.6129 GB, free: 4.043 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006081/0.6476, allocations: 247.8 kB / 0.6131 GB, free: 3.801 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005327/0.653, allocations: 3.256 MB / 0.6163 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02995/0.683, allocations: 14.53 MB / 0.6305 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3207/1.004, allocations: 62.79 MB / 0.6918 GB, free: 99.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01861/1.022, allocations: 6.92 MB / 0.6986 GB, free: 97.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007638/1.03, allocations: 4.244 MB / 0.7027 GB, free: 95.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02043/1.05, allocations: 9.671 MB / 0.7122 GB, free: 91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/1.051, allocations: 67.34 kB / 0.7122 GB, free: 90.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=297): time 6.783e-06/1.051, allocations: 3.984 kB / 0.7122 GB, free: 90.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.08892/1.14, allocations: 34.76 MB / 0.7462 GB, free: 64.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/1.14, allocations: 240.2 kB / 0.7464 GB, free: 63.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/1.152, allocations: 6.747 MB / 0.753 GB, free: 57.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009205/1.153, allocations: 76.59 kB / 0.7531 GB, free: 57.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002948/1.156, allocations: 4.761 MB / 0.7577 GB, free: 52.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001942/1.158, allocations: 1.263 MB / 0.759 GB, free: 51.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001986/1.16, allocations: 0.7881 MB / 0.7597 GB, free: 50.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.087e-05/1.16, allocations: 313 kB / 0.76 GB, free: 50 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006237/1.166, allocations: 4.069 MB / 0.764 GB, free: 45.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008579/1.175, allocations: 9.143 MB / 0.7729 GB, free: 34.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/1.19, allocations: 14.16 MB / 0.7868 GB, free: 17.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001774/1.19, allocations: 55.94 kB / 0.7868 GB, free: 17.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02796/1.218, allocations: 15.12 MB / 0.8016 GB, free: 2.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000316/1.218, allocations: 80 kB / 0.8016 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003726/1.219, allocations: 176 kB / 0.8018 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005598/1.224, allocations: 2.284 MB / 0.804 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008173/1.232, allocations: 2.153 MB / 0.8061 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2589/1.491, allocations: 13.52 MB / 0.8194 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00799/1.499, allocations: 0.5401 MB / 0.8199 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/1.501, allocations: 0.5285 MB / 0.8204 GB, free: 142.1 MB / 0.4981 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 (1125): * Single equations (assignments): 1118 * 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.005618/1.507, allocations: 3.29 MB / 0.8236 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/1.508, allocations: 0.5761 MB / 0.8242 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/1.521, allocations: 8.457 MB / 0.8324 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.061e-05/1.521, allocations: 37.42 kB / 0.8325 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.393e-05/1.521, allocations: 9.344 kB / 0.8325 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.504e-05/1.521, allocations: 13.83 kB / 0.8325 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02825/1.549, allocations: 17.11 MB / 0.8492 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.788e-05/1.549, allocations: 8.391 kB / 0.8492 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003017/1.552, allocations: 0.5799 MB / 0.8498 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005507/1.558, allocations: 2.038 MB / 0.8518 GB, free: 134.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003818/1.558, allocations: 62.42 kB / 0.8518 GB, free: 134.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/1.576, allocations: 12.73 MB / 0.8643 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-05/1.576, allocations: 13 kB / 0.8643 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02067/1.597, allocations: 13.1 MB / 0.8771 GB, free: 123.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003211/1.6, allocations: 1.249 MB / 0.8783 GB, free: 123.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00124/1.601, allocations: 62.09 kB / 0.8783 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003027/1.604, allocations: 242.6 kB / 0.8786 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006268/1.605, allocations: 208.8 kB / 0.8788 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002294/1.605, allocations: 87 kB / 0.8789 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006289/1.612, allocations: 4.353 MB / 0.8831 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.61e-07/1.612, allocations: 0 / 0.8831 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007709/1.619, allocations: 1.772 MB / 0.8848 GB, free: 121.4 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 (279): * Single equations (assignments): 274 * 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.0006639/1.62, allocations: 207.6 kB / 0.885 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01366/1.634, allocations: 9.793 MB / 0.8946 GB, free: 113 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/1.634, allocations: 0 / 0.8946 GB, free: 113 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006257/1.64, allocations: 3.998 MB / 0.8985 GB, free: 109 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009131/1.649, allocations: 0.7287 MB / 0.8992 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02753/1.677, allocations: 20.17 MB / 0.9189 GB, free: 88.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004783/1.682, allocations: 5.042 MB / 0.9238 GB, free: 83.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006796/1.688, allocations: 2.974 MB / 0.9267 GB, free: 80.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/1.69, allocations: 419.3 kB / 0.9271 GB, free: 79.71 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/1.69, allocations: 3.938 kB / 0.9271 GB, free: 79.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.1032/1.793, allocations: 68.87 MB / 0.9944 GB, free: 10.92 MB / 0.4981 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: