Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009723/0.0009723, 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.244/1.244, 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.001674/0.001674, allocations: 110.8 kB / 223.2 MB, free: 4.043 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.1884/0.1884, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.529e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09228/0.09233, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.4526, allocations: 94.48 MB / 0.4885 GB, free: 16.6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.4528, allocations: 74.05 kB / 0.4885 GB, free: 16.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5662/1.019, allocations: 132.8 MB / 0.6182 GB, free: 67 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.834e-06/1.019, allocations: 0 / 0.6182 GB, free: 67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004748/1.02, allocations: 130 kB / 0.6183 GB, free: 67 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: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.01934/1.039, allocations: 6.432 MB / 0.6246 GB, free: 66.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.039, allocations: 11.56 kB / 0.6246 GB, free: 66.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02947/1.068, allocations: 7.127 MB / 0.6316 GB, free: 65.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01749/1.086, allocations: 7.233 MB / 0.6386 GB, free: 64.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003994/1.086, allocations: 0.4995 MB / 0.6391 GB, free: 64.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002692/1.089, allocations: 0.6672 MB / 0.6398 GB, free: 64.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03392/1.123, allocations: 16.59 MB / 0.656 GB, free: 61.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003173/1.123, allocations: 82.94 kB / 0.656 GB, free: 61.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001637/1.125, allocations: 324.4 kB / 0.6564 GB, free: 61.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00174/1.127, allocations: 1.557 MB / 0.6579 GB, free: 61.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02681/1.154, allocations: 13.76 MB / 0.6713 GB, free: 61.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0801/1.234, allocations: 70.11 MB / 0.7398 GB, free: 28.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01816/1.252, allocations: 7.852 MB / 0.7474 GB, free: 23.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004912/1.257, allocations: 3.878 MB / 0.7512 GB, free: 20 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/1.257, allocations: 60.56 kB / 0.7513 GB, free: 19.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/1.257, allocations: 64.45 kB / 0.7514 GB, free: 19.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=290): time 7.785e-06/1.257, allocations: 0 / 0.7514 GB, free: 19.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=332): time 0.07591/1.333, allocations: 28.31 MB / 0.779 GB, free: 13.04 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/1.333, allocations: 218 kB / 0.7792 GB, free: 12.78 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/1.344, allocations: 5.573 MB / 0.7847 GB, free: 7.852 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007818/1.345, allocations: 81.55 kB / 0.7847 GB, free: 7.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003733/1.349, allocations: 4.587 MB / 0.7892 GB, free: 3.656 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001745/1.351, allocations: 1.228 MB / 0.7904 GB, free: 2.566 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/1.352, allocations: 175.7 kB / 0.7906 GB, free: 2.398 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007317/1.353, allocations: 0.6678 MB / 0.7912 GB, free: 1.824 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2452/1.598, allocations: 3.944 MB / 0.7951 GB, free: 93.01 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00985/1.608, allocations: 8.523 MB / 0.8034 GB, free: 86.85 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009801/1.618, allocations: 5.558 MB / 0.8088 GB, free: 86.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002704/1.618, allocations: 48.03 kB / 0.8089 GB, free: 86.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.02722/1.645, allocations: 13.58 MB / 0.8221 GB, free: 86.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002812/1.646, allocations: 76.12 kB / 0.8222 GB, free: 86.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003135/1.646, allocations: 170.3 kB / 0.8224 GB, free: 86.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00411/1.65, allocations: 1.69 MB / 0.824 GB, free: 86.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007731/1.658, allocations: 2.086 MB / 0.8261 GB, free: 86.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/1.672, allocations: 11.36 MB / 0.8372 GB, free: 83.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008548/1.68, allocations: 0.524 MB / 0.8377 GB, free: 83.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002291/1.682, allocations: 0.4995 MB / 0.8382 GB, free: 83.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 51 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1047): * Single equations (assignments): 1042 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00326/1.686, allocations: 0.7539 MB / 0.8389 GB, free: 83.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/1.687, allocations: 0.5527 MB / 0.8394 GB, free: 83.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01402/1.701, allocations: 7.435 MB / 0.8467 GB, free: 82.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.564e-05/1.702, allocations: 34.75 kB / 0.8467 GB, free: 82.89 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-05/1.702, allocations: 10.84 kB / 0.8467 GB, free: 82.89 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.134e-05/1.702, allocations: 16.83 kB / 0.8467 GB, free: 82.89 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03166/1.733, allocations: 16.26 MB / 0.8626 GB, free: 77.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/1.733, allocations: 3.781 kB / 0.8626 GB, free: 77.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003338/1.737, allocations: 0.6507 MB / 0.8633 GB, free: 77.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003481/1.74, allocations: 1.422 MB / 0.8647 GB, free: 77.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007612/1.741, allocations: 64.36 kB / 0.8647 GB, free: 77.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/1.754, allocations: 10.58 MB / 0.875 GB, free: 71.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.754, allocations: 7.625 kB / 0.8751 GB, free: 71.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/1.774, allocations: 12.71 MB / 0.8875 GB, free: 66.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003578/1.777, allocations: 1.204 MB / 0.8886 GB, free: 65.46 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001919/1.779, allocations: 60 kB / 0.8887 GB, free: 65.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003951/1.783, allocations: 272.5 kB / 0.889 GB, free: 65.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008779/1.784, allocations: 200.3 kB / 0.8892 GB, free: 65.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000448/1.784, allocations: 91.28 kB / 0.8892 GB, free: 65.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007896/1.792, allocations: 3.943 MB / 0.8931 GB, free: 61.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.792, allocations: 0 / 0.8931 GB, free: 61.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009487/1.802, allocations: 1.671 MB / 0.8947 GB, free: 59.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * 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.0009762/1.803, allocations: 207.7 kB / 0.8949 GB, free: 59.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01376/1.817, allocations: 9.18 MB / 0.9039 GB, free: 51.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.817, allocations: 0 / 0.9039 GB, free: 51.38 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006063/1.823, allocations: 3.809 MB / 0.9076 GB, free: 47.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004696/1.827, allocations: 0.669 MB / 0.9083 GB, free: 47.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02803/1.856, allocations: 13.39 MB / 0.9213 GB, free: 35.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008107/1.864, allocations: 4.992 MB / 0.9262 GB, free: 31.77 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01012/1.874, allocations: 2.922 MB / 0.9291 GB, free: 29.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00288/1.877, allocations: 395.2 kB / 0.9294 GB, free: 29.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.244e-06/1.877, allocations: 0 / 0.9294 GB, free: 29.5 MB / 458.7 MB Notification: Performance of Templates: time 0.3544/2.231, allocations: 63.27 MB / 0.9912 GB, free: 75.09 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1)