Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001346/0.001346, allocations: 182 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.42/1.42, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001646/0.001646, allocations: 108.6 kB / 252.6 MB, free: 4.793 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.2111/0.2111, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.586e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1137, allocations: 54.87 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4554/0.5691, allocations: 102.9 MB / 0.5449 GB, free: 4.977 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/0.5695, allocations: 77.2 kB / 0.545 GB, free: 4.938 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7115/1.281, allocations: 138.5 MB / 0.6802 GB, free: 85.64 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.204e-06/1.281, allocations: 0 / 0.6802 GB, free: 85.64 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005807/1.282, allocations: 130.4 kB / 0.6803 GB, free: 85.64 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.03161/1.313, allocations: 6.79 MB / 0.687 GB, free: 83 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/1.313, allocations: 9.844 kB / 0.687 GB, free: 83 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02984/1.343, allocations: 7.184 MB / 0.694 GB, free: 82.53 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02238/1.366, allocations: 7.536 MB / 0.7014 GB, free: 81.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007719/1.367, allocations: 0.5179 MB / 0.7019 GB, free: 81.65 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004335/1.371, allocations: 0.6872 MB / 0.7025 GB, free: 81.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04139/1.412, allocations: 17.1 MB / 0.7192 GB, free: 77.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004937/1.413, allocations: 80 kB / 0.7193 GB, free: 77.92 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002496/1.415, allocations: 336.4 kB / 0.7196 GB, free: 77.92 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002943/1.418, allocations: 1.63 MB / 0.7212 GB, free: 77.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0309/1.449, allocations: 14.15 MB / 0.735 GB, free: 77.26 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0865/1.536, allocations: 72.28 MB / 0.8056 GB, free: 19.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01676/1.553, allocations: 7.117 MB / 0.8126 GB, free: 13.33 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005157/1.558, allocations: 3.92 MB / 0.8164 GB, free: 9.738 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0182/1.576, allocations: 9.469 MB / 0.8257 GB, free: 1.871 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/1.576, allocations: 68.83 kB / 0.8257 GB, free: 1.797 MB / 474.7 MB Notification: Performance of pre-optimization done (n=297): time 6.673e-06/1.576, allocations: 0 / 0.8257 GB, free: 1.797 MB / 474.7 MB Notification: Performance of matching and sorting (n=339): time 0.4461/2.022, allocations: 27.74 MB / 0.8528 GB, free: 91.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/2.022, allocations: 244.7 kB / 0.853 GB, free: 90.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01707/2.04, allocations: 5.888 MB / 0.8588 GB, free: 90.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001221/2.041, allocations: 75.55 kB / 0.8589 GB, free: 90.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006466/2.047, allocations: 4.814 MB / 0.8636 GB, free: 88.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003169/2.051, allocations: 1.269 MB / 0.8648 GB, free: 87.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/2.052, allocations: 176.9 kB / 0.865 GB, free: 87.83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004822/2.052, allocations: 0.6761 MB / 0.8656 GB, free: 87.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005113/2.057, allocations: 3.651 MB / 0.8692 GB, free: 87.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009131/2.066, allocations: 8.68 MB / 0.8777 GB, free: 81.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008846/2.075, allocations: 5.572 MB / 0.8831 GB, free: 81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001541/2.075, allocations: 49.28 kB / 0.8832 GB, free: 81 MB / 490.7 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.02787/2.103, allocations: 13.66 MB / 0.8965 GB, free: 80.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000364/2.104, allocations: 83.38 kB / 0.8966 GB, free: 80.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00051/2.104, allocations: 174.9 kB / 0.8967 GB, free: 80.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004791/2.109, allocations: 1.701 MB / 0.8984 GB, free: 80.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009182/2.118, allocations: 2.12 MB / 0.9005 GB, free: 79.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/2.132, allocations: 11.37 MB / 0.9116 GB, free: 74.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/2.143, allocations: 0.5212 MB / 0.9121 GB, free: 74.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002602/2.145, allocations: 0.5227 MB / 0.9126 GB, free: 74.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 806 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (1089): * Single equations (assignments): 1084 * 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.003996/2.149, allocations: 0.7755 MB / 0.9134 GB, free: 73.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002418/2.152, allocations: 0.5842 MB / 0.9139 GB, free: 73.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01579/2.167, allocations: 7.442 MB / 0.9212 GB, free: 70.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.726e-05/2.168, allocations: 36.27 kB / 0.9212 GB, free: 70.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.396e-05/2.168, allocations: 10.91 kB / 0.9212 GB, free: 70.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.225e-05/2.168, allocations: 16.83 kB / 0.9213 GB, free: 70.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0372/2.205, allocations: 16 MB / 0.9369 GB, free: 64.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.099e-05/2.205, allocations: 3.344 kB / 0.9369 GB, free: 64.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003415/2.208, allocations: 0.6328 MB / 0.9375 GB, free: 64.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00388/2.212, allocations: 1.415 MB / 0.9389 GB, free: 64.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001003/2.213, allocations: 63.84 kB / 0.9389 GB, free: 64.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01367/2.227, allocations: 10.6 MB / 0.9493 GB, free: 58.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/2.227, allocations: 11.34 kB / 0.9493 GB, free: 58.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02046/2.248, allocations: 12.58 MB / 0.9616 GB, free: 47.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004731/2.252, allocations: 1.195 MB / 0.9628 GB, free: 46.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003051/2.255, allocations: 58.56 kB / 0.9628 GB, free: 46.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005547/2.261, allocations: 237 kB / 0.9631 GB, free: 46.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00117/2.262, allocations: 201.6 kB / 0.9632 GB, free: 46.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007/2.263, allocations: 89.41 kB / 0.9633 GB, free: 46.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01043/2.273, allocations: 4.22 MB / 0.9674 GB, free: 42.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.61e-07/2.273, allocations: 0 / 0.9674 GB, free: 42.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01291/2.286, allocations: 1.701 MB / 0.9691 GB, free: 40.78 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 274 * 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.001362/2.288, allocations: 204.8 kB / 0.9693 GB, free: 40.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01679/2.305, allocations: 9.038 MB / 0.9781 GB, free: 32.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/2.305, allocations: 4 kB / 0.9781 GB, free: 32.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008014/2.313, allocations: 3.652 MB / 0.9817 GB, free: 29.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007227/2.32, allocations: 0.7145 MB / 0.9824 GB, free: 28.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03897/2.359, allocations: 13.71 MB / 0.9958 GB, free: 16.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01323/2.372, allocations: 5.176 MB / 1.001 GB, free: 12.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01177/2.384, allocations: 2.969 MB / 1.004 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002855/2.387, allocations: 408.9 kB / 1.004 GB, free: 10.16 MB / 490.7 MB Notification: Performance of SimCode: time 2.776e-06/2.387, allocations: 0 / 1.004 GB, free: 10.16 MB / 490.7 MB Notification: Performance of Templates: time 0.4797/2.867, allocations: 64.8 MB / 1.067 GB, free: 90.16 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)