Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001802/0.001802, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.666/1.666, allocations: 194.3 MB / 207.5 MB, free: 3.461 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001613/0.001613, allocations: 108.3 kB / 252.6 MB, free: 4.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2199/0.2199, allocations: 39.94 MB / 337.5 MB, free: 496 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/2.99e-05, allocations: 0 / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1151, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4722/0.5874, allocations: 100.8 MB / 0.5429 GB, free: 7.121 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.5877, allocations: 78.2 kB / 0.543 GB, free: 7.082 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3007/0.8884, allocations: 114.5 MB / 0.6548 GB, free: 11.96 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.891e-06/0.8885, allocations: 4 kB / 0.6548 GB, free: 11.96 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004306/0.8889, allocations: 107.9 kB / 0.6549 GB, free: 11.86 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.02137/0.9103, allocations: 5.463 MB / 0.6602 GB, free: 6.328 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.9104, allocations: 8.031 kB / 0.6602 GB, free: 6.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3704/1.281, allocations: 6.952 MB / 0.667 GB, free: 92.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02294/1.304, allocations: 6.854 MB / 0.6737 GB, free: 92.28 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006875/1.304, allocations: 413.2 kB / 0.6741 GB, free: 92.27 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00442/1.309, allocations: 0.5456 MB / 0.6747 GB, free: 92.26 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03724/1.346, allocations: 13.26 MB / 0.6876 GB, free: 88.88 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00043/1.347, allocations: 75.47 kB / 0.6877 GB, free: 88.87 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001926/1.349, allocations: 266.7 kB / 0.6879 GB, free: 88.87 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00173/1.35, allocations: 1.259 MB / 0.6892 GB, free: 88.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02293/1.373, allocations: 10.5 MB / 0.6994 GB, free: 88.81 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07565/1.449, allocations: 59.66 MB / 0.7577 GB, free: 47.37 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/1.46, allocations: 4.605 MB / 0.7622 GB, free: 45.62 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003107/1.463, allocations: 2.209 MB / 0.7643 GB, free: 44.67 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01441/1.478, allocations: 6.506 MB / 0.7707 GB, free: 41.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/1.478, allocations: 55 kB / 0.7707 GB, free: 41.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=183): time 5.881e-06/1.478, allocations: 0 / 0.7707 GB, free: 41.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=195): time 0.04254/1.52, allocations: 14.55 MB / 0.7849 GB, free: 34.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.521, allocations: 230.4 kB / 0.7852 GB, free: 34.62 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01273/1.533, allocations: 5.157 MB / 0.7902 GB, free: 30.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005323/1.534, allocations: 57.7 kB / 0.7903 GB, free: 30.03 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003604/1.538, allocations: 4.12 MB / 0.7943 GB, free: 26.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001277/1.539, allocations: 0.7695 MB / 0.795 GB, free: 25.65 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/1.54, allocations: 144 kB / 0.7952 GB, free: 25.51 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009113/1.541, allocations: 0.6103 MB / 0.7958 GB, free: 24.98 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004159/1.545, allocations: 2.241 MB / 0.798 GB, free: 22.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007111/1.552, allocations: 6.729 MB / 0.8045 GB, free: 14.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006844/1.559, allocations: 3.861 MB / 0.8083 GB, free: 11.17 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002235/1.559, allocations: 44 kB / 0.8083 GB, free: 11.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.01965/1.579, allocations: 9.14 MB / 0.8173 GB, free: 3.027 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002502/1.579, allocations: 76 kB / 0.8173 GB, free: 2.953 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003375/1.58, allocations: 160.1 kB / 0.8175 GB, free: 2.797 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/1.581, allocations: 0.6173 MB / 0.8181 GB, free: 2.266 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005923/1.587, allocations: 1.638 MB / 0.8197 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007284/1.595, allocations: 5.726 MB / 0.8253 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007146/1.602, allocations: 382.8 kB / 0.8256 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001948/1.604, allocations: 450.4 kB / 0.8261 GB, free: 10.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (882): * Single equations (assignments): 877 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002634/1.606, allocations: 0.6658 MB / 0.8267 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001892/1.608, allocations: 493.4 kB / 0.8272 GB, free: 9.453 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007392/1.616, allocations: 3.012 MB / 0.8301 GB, free: 6.938 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.142e-05/1.616, allocations: 24 kB / 0.8302 GB, free: 6.914 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/1.616, allocations: 11.41 kB / 0.8302 GB, free: 6.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/1.616, allocations: 11.83 kB / 0.8302 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02318/1.639, allocations: 8.448 MB / 0.8384 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.575e-05/1.639, allocations: 4 kB / 0.8384 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/1.641, allocations: 323.6 kB / 0.8387 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/1.642, allocations: 359.7 kB / 0.8391 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003424/1.642, allocations: 43.84 kB / 0.8391 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006203/1.649, allocations: 5.068 MB / 0.8441 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.649, allocations: 8.062 kB / 0.8441 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/1.659, allocations: 6.086 MB / 0.85 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003734/1.663, allocations: 0.7957 MB / 0.8508 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003337/1.666, allocations: 39.23 kB / 0.8508 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005656/1.672, allocations: 98.86 kB / 0.8509 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008024/1.673, allocations: 111.5 kB / 0.851 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004928/1.673, allocations: 55.42 kB / 0.8511 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01452/1.688, allocations: 3.671 MB / 0.8547 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.61e-07/1.688, allocations: 0 / 0.8547 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01975/1.708, allocations: 1.476 MB / 0.8561 GB, free: 0 / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 149 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3694/2.077, allocations: 170.8 kB / 0.8563 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01259/2.09, allocations: 5.632 MB / 0.8618 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/2.09, allocations: 0 / 0.8618 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003073/2.093, allocations: 1.687 MB / 0.8634 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006498/2.099, allocations: 0.5956 MB / 0.864 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03344/2.133, allocations: 9.603 MB / 0.8734 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01109/2.144, allocations: 4.247 MB / 0.8775 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007933/2.152, allocations: 2.315 MB / 0.8798 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/2.153, allocations: 321.3 kB / 0.8801 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/2.154, allocations: 0 / 0.8801 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.08704/2.241, allocations: 43.2 MB / 0.9223 GB, free: 105.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1)