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.001234/0.001234, allocations: 100.2 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.001247/0.001247, allocations: 177.3 kB / 15.94 MB, free: 228 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.401/1.401, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.3591/0.3591, allocations: 39.99 MB / 310.4 MB, free: 10.05 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.0005665/0.0005668, allocations: 23.98 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.118, allocations: 57.95 MB / 436.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.3074/0.4254, allocations: 90.98 MB / 0.5154 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05481/0.4803, allocations: 20.1 MB / 0.535 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02608/0.5064, allocations: 455.2 kB / 0.5354 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02042/0.5269, allocations: 4.582 MB / 0.5399 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05237/0.5793, allocations: 12.88 MB / 0.5525 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006971/0.5863, allocations: 0.9738 MB / 0.5534 GB, free: 156 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04339/0.6297, allocations: 27.77 MB / 0.5806 GB, free: 4.367 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01446/0.6442, allocations: 8.85 MB / 0.5892 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004558/0.6489, allocations: 1.814 MB / 0.591 GB, free: 9.652 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005062/0.6539, allocations: 2.48 MB / 0.5934 GB, free: 7.164 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002666/0.6567, allocations: 272 kB / 0.5936 GB, free: 6.898 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00493/0.6616, allocations: 1.011 MB / 0.5946 GB, free: 5.887 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00544/0.6671, allocations: 2.973 MB / 0.5975 GB, free: 2.906 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003738/0.6709, allocations: 1.528 MB / 0.599 GB, free: 1.367 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01306/0.684, allocations: 10.34 MB / 0.6091 GB, free: 6.996 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.684, allocations: 0 / 0.6091 GB, free: 6.996 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.684, allocations: 0 / 0.6091 GB, free: 6.996 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005832/0.6846, allocations: 0 / 0.6091 GB, free: 6.996 MB / 478.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.02108/0.7057, allocations: 7.731 MB / 0.6167 GB, free: 15.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.7058, allocations: 12.03 kB / 0.6167 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04617/0.7519, allocations: 8.45 MB / 0.6249 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01416/0.7662, allocations: 5.148 MB / 0.63 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005262/0.7667, allocations: 451.6 kB / 0.6304 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002798/0.7696, allocations: 0.5933 MB / 0.631 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.439/1.209, allocations: 18.6 MB / 0.6491 GB, free: 138.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002841/1.209, allocations: 73.08 kB / 0.6492 GB, free: 138.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009401/1.21, allocations: 284.2 kB / 0.6495 GB, free: 138.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005674/1.216, allocations: 3.538 MB / 0.6529 GB, free: 137.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03389/1.249, allocations: 15.67 MB / 0.6682 GB, free: 132.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09221/1.342, allocations: 70.09 MB / 0.7367 GB, free: 72.69 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0202/1.362, allocations: 8.56 MB / 0.7451 GB, free: 63.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02022/1.382, allocations: 11.73 MB / 0.7565 GB, free: 52.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.302e-05/1.382, allocations: 77.12 kB / 0.7566 GB, free: 52.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=347): time 7.804e-06/1.382, allocations: 0 / 0.7566 GB, free: 52.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=389): time 0.08971/1.472, allocations: 38.36 MB / 0.794 GB, free: 13.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.912e-05/1.472, allocations: 248.9 kB / 0.7943 GB, free: 13.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009697/1.482, allocations: 7.655 MB / 0.8018 GB, free: 5.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009048/1.483, allocations: 81.7 kB / 0.8018 GB, free: 5.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002495/1.485, allocations: 5.264 MB / 0.807 GB, free: 88 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0019/1.487, allocations: 1.441 MB / 0.8084 GB, free: 14.66 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006702/1.488, allocations: 200.8 kB / 0.8086 GB, free: 14.46 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0005327/1.489, allocations: 0.7276 MB / 0.8093 GB, free: 13.73 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006196/1.495, allocations: 4.212 MB / 0.8134 GB, free: 9.508 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2554/1.75, allocations: 9.769 MB / 0.8229 GB, free: 134.1 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/1.761, allocations: 6.29 MB / 0.8291 GB, free: 133.9 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002496/1.761, allocations: 58.84 kB / 0.8291 GB, free: 133.9 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1305) (initialization): time 0.03174/1.793, allocations: 15.39 MB / 0.8442 GB, free: 129.7 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001828/1.793, allocations: 95.97 kB / 0.8443 GB, free: 129.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003112/1.794, allocations: 192.2 kB / 0.8444 GB, free: 129.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004506/1.798, allocations: 1.836 MB / 0.8462 GB, free: 129.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009925/1.808, allocations: 2.387 MB / 0.8486 GB, free: 129 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/1.828, allocations: 12.4 MB / 0.8607 GB, free: 122.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01125/1.839, allocations: 0.5717 MB / 0.8612 GB, free: 122.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002797/1.842, allocations: 0.5798 MB / 0.8618 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 (1223): * Single equations (assignments): 1216 * 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.01019/1.852, allocations: 3.618 MB / 0.8653 GB, free: 120.9 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001797/1.854, allocations: 0.6495 MB / 0.866 GB, free: 120.9 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0186/1.872, allocations: 8.444 MB / 0.8742 GB, free: 117.7 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.249e-05/1.872, allocations: 40.81 kB / 0.8743 GB, free: 117.7 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.058e-05/1.873, allocations: 9.031 kB / 0.8743 GB, free: 117.7 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001126/1.873, allocations: 17.86 kB / 0.8743 GB, free: 117.7 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04287/1.916, allocations: 18.64 MB / 0.8925 GB, free: 111 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.542e-05/1.916, allocations: 14.64 kB / 0.8925 GB, free: 111 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003526/1.919, allocations: 0.7062 MB / 0.8932 GB, free: 111 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003769/1.923, allocations: 1.527 MB / 0.8947 GB, free: 110.3 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007535/1.924, allocations: 75.98 kB / 0.8947 GB, free: 110.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/1.937, allocations: 11.59 MB / 0.9061 GB, free: 100 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/1.937, allocations: 15.88 kB / 0.9061 GB, free: 99.98 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02038/1.957, allocations: 14.85 MB / 0.9206 GB, free: 85.06 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004689/1.962, allocations: 1.344 MB / 0.9219 GB, free: 83.69 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002204/1.964, allocations: 72 kB / 0.922 GB, free: 83.62 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004156/1.968, allocations: 254.9 kB / 0.9222 GB, free: 83.37 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001029/1.969, allocations: 246.8 kB / 0.9224 GB, free: 83.13 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003731/1.97, allocations: 106.6 kB / 0.9225 GB, free: 83.03 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.008199/1.978, allocations: 4.956 MB / 0.9274 GB, free: 78.11 MB / 0.4982 GB Notification: Performance of sort global known variables: time 9.52e-07/1.978, allocations: 0 / 0.9274 GB, free: 78.11 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01057/1.989, allocations: 1.903 MB / 0.9292 GB, free: 76.21 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.001204/1.99, allocations: 247.6 kB / 0.9295 GB, free: 75.96 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01582/2.006, allocations: 10.26 MB / 0.9395 GB, free: 65.71 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/2.006, allocations: 3.938 kB / 0.9395 GB, free: 65.71 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006297/2.012, allocations: 4.137 MB / 0.9435 GB, free: 61.55 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004578/2.017, allocations: 0.7848 MB / 0.9443 GB, free: 60.78 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03111/2.048, allocations: 21.04 MB / 0.9649 GB, free: 39.64 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006388/2.054, allocations: 5.643 MB / 0.9704 GB, free: 33.96 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.008201/2.062, allocations: 3.337 MB / 0.9736 GB, free: 30.62 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00173/2.064, allocations: 459.3 kB / 0.9741 GB, free: 30.17 MB / 0.4982 GB Notification: Performance of SimCode: time 1.573e-06/2.064, allocations: 0 / 0.9741 GB, free: 30.17 MB / 0.4982 GB Notification: Performance of Templates: time 0.3388/2.403, allocations: 72.25 MB / 1.045 GB, free: 137.2 MB / 0.5138 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: