Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001127/0.001127, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.219/1.219, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001534/0.001534, allocations: 105.9 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1639/0.1639, allocations: 38 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.681e-05/2.684e-05, allocations: 6.734 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08306/0.0831, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3382/0.4213, allocations: 92.74 MB / 498.4 MB, free: 17.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.4216, allocations: 75.52 kB / 498.5 MB, free: 17.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6151/1.037, allocations: 169.9 MB / 0.6528 GB, free: 61.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.037, allocations: 2.375 kB / 0.6528 GB, free: 61.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004745/1.037, allocations: 175.4 kB / 0.6529 GB, free: 61.23 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.02239/1.06, allocations: 8.245 MB / 0.661 GB, free: 58.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.06, allocations: 10.53 kB / 0.661 GB, free: 58.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04392/1.104, allocations: 12.08 MB / 0.6728 GB, free: 57.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02288/1.127, allocations: 10.94 MB / 0.6835 GB, free: 56.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005485/1.127, allocations: 0.6337 MB / 0.6841 GB, free: 56.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00367/1.131, allocations: 0.8475 MB / 0.6849 GB, free: 56.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04072/1.172, allocations: 19.83 MB / 0.7043 GB, free: 50.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004416/1.172, allocations: 110.8 kB / 0.7044 GB, free: 50.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002535/1.175, allocations: 404.9 kB / 0.7048 GB, free: 50.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002381/1.177, allocations: 1.811 MB / 0.7066 GB, free: 50.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03288/1.21, allocations: 16.03 MB / 0.7222 GB, free: 40.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3591/1.569, allocations: 82.07 MB / 0.8024 GB, free: 36.92 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02109/1.59, allocations: 8.066 MB / 0.8102 GB, free: 36.22 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004472/1.595, allocations: 4.081 MB / 0.8142 GB, free: 36.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005827/1.595, allocations: 0.6658 MB / 0.8149 GB, free: 35.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/1.595, allocations: 74.5 kB / 0.8149 GB, free: 35.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=311): time 6.532e-06/1.595, allocations: 0 / 0.8149 GB, free: 35.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=335): time 0.06117/1.657, allocations: 26.26 MB / 0.8406 GB, free: 29.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.43e-05/1.657, allocations: 301.2 kB / 0.8409 GB, free: 29.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00856/1.665, allocations: 6.807 MB / 0.8475 GB, free: 28.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004986/1.666, allocations: 78.98 kB / 0.8476 GB, free: 28.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002801/1.669, allocations: 5.843 MB / 0.8533 GB, free: 25.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001166/1.67, allocations: 1.271 MB / 0.8545 GB, free: 25.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004137/1.67, allocations: 194.9 kB / 0.8547 GB, free: 25.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004479/1.671, allocations: 0.7165 MB / 0.8554 GB, free: 24.71 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004219/1.675, allocations: 3.435 MB / 0.8588 GB, free: 24.69 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007939/1.683, allocations: 9.115 MB / 0.8677 GB, free: 17.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007641/1.691, allocations: 5.536 MB / 0.8731 GB, free: 17.35 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001786/1.691, allocations: 57 kB / 0.8731 GB, free: 17.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02526/1.716, allocations: 13.18 MB / 0.886 GB, free: 13.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002187/1.716, allocations: 93.12 kB / 0.8861 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002459/1.717, allocations: 198.1 kB / 0.8863 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/1.719, allocations: 1.051 MB / 0.8873 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007981/1.727, allocations: 2.249 MB / 0.8895 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/1.738, allocations: 11.27 MB / 0.9005 GB, free: 5.422 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008422/1.747, allocations: 0.5266 MB / 0.901 GB, free: 5.242 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/1.748, allocations: 0.563 MB / 0.9016 GB, free: 4.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1179): * Single equations (assignments): 1172 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001658/1.75, allocations: 0.8584 MB / 0.9024 GB, free: 3.984 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/1.751, allocations: 0.6749 MB / 0.9031 GB, free: 3.301 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/1.763, allocations: 6.046 MB / 0.909 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.096e-05/1.763, allocations: 36.62 kB / 0.909 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/1.763, allocations: 8 kB / 0.909 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.854e-05/1.763, allocations: 20.73 kB / 0.9091 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03998/1.803, allocations: 15.02 MB / 0.9237 GB, free: 2.379 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.617e-05/1.803, allocations: 6.156 kB / 0.9237 GB, free: 2.379 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005948/1.809, allocations: 0.5609 MB / 0.9243 GB, free: 1.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00371/1.813, allocations: 0.7029 MB / 0.925 GB, free: 1.402 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006181/1.814, allocations: 59.14 kB / 0.925 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02006/1.834, allocations: 10.11 MB / 0.9349 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/1.834, allocations: 4 kB / 0.9349 GB, free: 7.617 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0387/1.872, allocations: 10.59 MB / 0.9452 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005882/1.878, allocations: 1.199 MB / 0.9464 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002119/1.88, allocations: 55.58 kB / 0.9465 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006228/1.887, allocations: 204.9 kB / 0.9467 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008419/1.888, allocations: 192.5 kB / 0.9468 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000399/1.888, allocations: 91.7 kB / 0.9469 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01401/1.902, allocations: 4.85 MB / 0.9517 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.61e-07/1.902, allocations: 0 / 0.9517 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01323/1.915, allocations: 1.867 MB / 0.9535 GB, free: 8.27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(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.000873/1.916, allocations: 211.5 kB / 0.9537 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01509/1.931, allocations: 8.843 MB / 0.9623 GB, free: 0 / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.931, allocations: 1.5 kB / 0.9623 GB, free: 0 / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005129/1.937, allocations: 3.221 MB / 0.9655 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00518/1.942, allocations: 0.9323 MB / 0.9664 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2539/2.196, allocations: 15 MB / 0.981 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00994/2.206, allocations: 6.116 MB / 0.987 GB, free: 130 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00923/2.215, allocations: 3.092 MB / 0.99 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/2.217, allocations: 456 kB / 0.9905 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.152e-06/2.217, allocations: 0 / 0.9905 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.1184/2.335, allocations: 69.31 MB / 1.058 GB, free: 121.6 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1)