Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009484/0.0009484, allocations: 176.2 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.445/1.445, allocations: 194.4 MB / 202.4 MB, free: 12.95 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.001697/0.001697, allocations: 116 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1815/0.1815, allocations: 39.95 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.479e-05/1.481e-05, allocations: 4 kB / 393.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2695, allocations: 54.88 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3871/0.6567, allocations: 100.6 MB / 0.5359 GB, free: 34.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.657, allocations: 79.78 kB / 0.536 GB, free: 34.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.316/0.9731, allocations: 130 MB / 0.663 GB, free: 13.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.9732, allocations: 0 / 0.663 GB, free: 13.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004854/0.9737, allocations: 136 kB / 0.6631 GB, free: 13.81 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.02638/1, allocations: 6.427 MB / 0.6694 GB, free: 7.312 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1, allocations: 12.03 kB / 0.6694 GB, free: 7.301 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03047/1.031, allocations: 7.124 MB / 0.6763 GB, free: 160 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02201/1.053, allocations: 7.235 MB / 0.6834 GB, free: 8.855 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004961/1.053, allocations: 220 kB / 0.6836 GB, free: 8.641 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0035/1.057, allocations: 395.9 kB / 0.684 GB, free: 8.254 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02136/1.078, allocations: 9.517 MB / 0.6933 GB, free: 14.73 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3194/1.398, allocations: 14.39 MB / 0.7073 GB, free: 77.33 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002759/1.398, allocations: 84.55 kB / 0.7074 GB, free: 77.33 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009231/1.399, allocations: 41.55 kB / 0.7074 GB, free: 77.33 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002018/1.401, allocations: 1.565 MB / 0.709 GB, free: 77.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06447/1.465, allocations: 67.17 MB / 0.7746 GB, free: 56.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005651/1.471, allocations: 5.589 MB / 0.78 GB, free: 55.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003854/1.475, allocations: 3.813 MB / 0.7837 GB, free: 55.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/1.475, allocations: 50.42 kB / 0.7838 GB, free: 55.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/1.475, allocations: 73.12 kB / 0.7839 GB, free: 55.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=290): time 4.739e-06/1.475, allocations: 0 / 0.7839 GB, free: 55.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=334): time 0.05089/1.526, allocations: 29.32 MB / 0.8125 GB, free: 44.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/1.526, allocations: 222 kB / 0.8127 GB, free: 44.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005495/1.532, allocations: 4.251 MB / 0.8169 GB, free: 43.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004445/1.532, allocations: 25.7 kB / 0.8169 GB, free: 43.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002165/1.534, allocations: 4.697 MB / 0.8215 GB, free: 39.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009562/1.535, allocations: 1.206 MB / 0.8227 GB, free: 38.76 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/1.536, allocations: 0 / 0.8227 GB, free: 38.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004114/1.536, allocations: 0.686 MB / 0.8233 GB, free: 38.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004101/1.54, allocations: 3.618 MB / 0.8269 GB, free: 36.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006102/1.546, allocations: 8.63 MB / 0.8353 GB, free: 28.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006853/1.553, allocations: 5.515 MB / 0.8407 GB, free: 27.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.218e-05/1.553, allocations: 52.22 kB / 0.8407 GB, free: 27.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.01935/1.573, allocations: 12.66 MB / 0.8531 GB, free: 17.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.612e-05/1.573, allocations: 84 kB / 0.8532 GB, free: 17.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001473/1.573, allocations: 176 kB / 0.8533 GB, free: 17.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003563/1.576, allocations: 1.7 MB / 0.855 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007473/1.584, allocations: 2.178 MB / 0.8571 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0164/1.6, allocations: 10.77 MB / 0.8676 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00826/1.609, allocations: 379.5 kB / 0.868 GB, free: 4.043 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00265/1.611, allocations: 0.5251 MB / 0.8685 GB, free: 3.539 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 812 * 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 (1091): * Single equations (assignments): 1086 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003605/1.615, allocations: 0.5559 MB / 0.8691 GB, free: 2.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002001/1.617, allocations: 481.8 kB / 0.8695 GB, free: 2.504 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01621/1.633, allocations: 7.195 MB / 0.8765 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.517e-05/1.633, allocations: 36 kB / 0.8766 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.824e-05/1.633, allocations: 11.94 kB / 0.8766 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.627e-05/1.633, allocations: 17.73 kB / 0.8766 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03239/1.666, allocations: 15 MB / 0.8913 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/1.666, allocations: 7.938 kB / 0.8913 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003421/1.669, allocations: 0.6494 MB / 0.8919 GB, free: 108 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3522/2.022, allocations: 1.45 MB / 0.8933 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008751/2.022, allocations: 17.05 kB / 0.8933 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/2.035, allocations: 9.829 MB / 0.9029 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.325e-05/2.035, allocations: 11.5 kB / 0.9029 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/2.053, allocations: 12.35 MB / 0.915 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003101/2.056, allocations: 1.083 MB / 0.9161 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008032/2.057, allocations: 12.53 kB / 0.9161 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00263/2.06, allocations: 221.4 kB / 0.9163 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005034/2.06, allocations: 204.3 kB / 0.9165 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/2.061, allocations: 88 kB / 0.9166 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004642/2.065, allocations: 2.849 MB / 0.9193 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.91e-07/2.065, allocations: 3.688 kB / 0.9193 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009145/2.074, allocations: 1.441 MB / 0.9207 GB, free: 102.3 MB / 0.4948 GB 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 (280): * Single equations (assignments): 275 * 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.0006859/2.075, allocations: 152.9 kB / 0.9209 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01342/2.089, allocations: 9.088 MB / 0.9298 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/2.089, allocations: 0 / 0.9298 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005657/2.094, allocations: 3.625 MB / 0.9333 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003805/2.098, allocations: 496.8 kB / 0.9338 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02374/2.122, allocations: 13.18 MB / 0.9467 GB, free: 99.26 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006218/2.128, allocations: 4.994 MB / 0.9515 GB, free: 98.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007634/2.136, allocations: 2.91 MB / 0.9544 GB, free: 98.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/2.137, allocations: 357.9 kB / 0.9547 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of SimCode: time 1.693e-06/2.137, allocations: 3.25 kB / 0.9547 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.09171/2.229, allocations: 53.58 MB / 1.007 GB, free: 71.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1)