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.001464/0.001464, allocations: 157.9 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.294/1.294, allocations: 170.7 MB / 178.7 MB, free: 7.035 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.001613/0.001613, allocations: 102.8 kB / 218 MB, free: 15.34 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.2622/0.2622, allocations: 37.98 MB / 295.1 MB, free: 2.082 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.668e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2817, allocations: 48.69 MB / 398.7 MB, free: 6.047 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.422, allocations: 93.81 MB / 492.5 MB, free: 5.285 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.4223, allocations: 79.94 kB / 492.6 MB, free: 5.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6404/1.063, allocations: 129.8 MB / 0.6078 GB, free: 86.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/1.063, allocations: 0 / 0.6078 GB, free: 86.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004861/1.063, allocations: 137.6 kB / 0.6079 GB, free: 86.21 MB / 410.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.0266/1.09, allocations: 6.418 MB / 0.6142 GB, free: 81.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.09, allocations: 7.875 kB / 0.6142 GB, free: 81.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02976/1.12, allocations: 7.135 MB / 0.6212 GB, free: 78.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01955/1.139, allocations: 7.22 MB / 0.6282 GB, free: 71.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000432/1.14, allocations: 224 kB / 0.6285 GB, free: 70.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004336/1.144, allocations: 399.9 kB / 0.6288 GB, free: 70.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01913/1.163, allocations: 9.516 MB / 0.6381 GB, free: 60.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03661/1.2, allocations: 14.37 MB / 0.6522 GB, free: 45.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004597/1.201, allocations: 83.27 kB / 0.6522 GB, free: 45.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002671/1.203, allocations: 43.95 kB / 0.6523 GB, free: 45.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002166/1.205, allocations: 1.56 MB / 0.6538 GB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4281/1.634, allocations: 67.12 MB / 0.7194 GB, free: 56.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00888/1.642, allocations: 5.59 MB / 0.7248 GB, free: 55.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006052/1.649, allocations: 3.799 MB / 0.7285 GB, free: 55.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002254/1.649, allocations: 62.89 kB / 0.7286 GB, free: 55.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/1.649, allocations: 60.59 kB / 0.7286 GB, free: 55.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=290): time 7.043e-06/1.649, allocations: 0 / 0.7286 GB, free: 55.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=334): time 0.06143/1.71, allocations: 29.33 MB / 0.7573 GB, free: 50.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.872e-05/1.711, allocations: 214.3 kB / 0.7575 GB, free: 50.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006434/1.717, allocations: 4.254 MB / 0.7616 GB, free: 48.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008455/1.718, allocations: 25.7 kB / 0.7617 GB, free: 48.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002884/1.721, allocations: 4.689 MB / 0.7662 GB, free: 44.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00172/1.722, allocations: 1.212 MB / 0.7674 GB, free: 43.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004114/1.723, allocations: 0 / 0.7674 GB, free: 43.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004244/1.723, allocations: 0.6861 MB / 0.7681 GB, free: 43.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004384/1.728, allocations: 3.622 MB / 0.7716 GB, free: 42.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006612/1.734, allocations: 8.629 MB / 0.7801 GB, free: 34.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007354/1.742, allocations: 5.512 MB / 0.7854 GB, free: 32.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.751e-05/1.742, allocations: 52.34 kB / 0.7855 GB, free: 32.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.0229/1.765, allocations: 12.65 MB / 0.7978 GB, free: 23.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/1.765, allocations: 80 kB / 0.7979 GB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002184/1.765, allocations: 180 kB / 0.7981 GB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00384/1.769, allocations: 1.704 MB / 0.7998 GB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008433/1.777, allocations: 2.17 MB / 0.8019 GB, free: 20.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/1.79, allocations: 10.77 MB / 0.8124 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00868/1.799, allocations: 369.8 kB / 0.8128 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002591/1.802, allocations: 0.5262 MB / 0.8133 GB, free: 9.863 MB / 426.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.003794/1.806, allocations: 0.558 MB / 0.8138 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001896/1.807, allocations: 485.8 kB / 0.8143 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/1.823, allocations: 7.142 MB / 0.8212 GB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.34e-05/1.823, allocations: 32 kB / 0.8213 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.562e-05/1.823, allocations: 13.31 kB / 0.8213 GB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.917e-05/1.823, allocations: 15.47 kB / 0.8213 GB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04223/1.865, allocations: 15.04 MB / 0.836 GB, free: 6.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-05/1.865, allocations: 4 kB / 0.836 GB, free: 6.926 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004177/1.869, allocations: 0.6607 MB / 0.8366 GB, free: 6.422 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00401/1.873, allocations: 1.413 MB / 0.838 GB, free: 5.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009458/1.874, allocations: 15.66 kB / 0.838 GB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/1.889, allocations: 9.855 MB / 0.8477 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/1.889, allocations: 4 kB / 0.8477 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02467/1.914, allocations: 12.34 MB / 0.8597 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004458/1.918, allocations: 1.08 MB / 0.8608 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002302/1.921, allocations: 11.98 kB / 0.8608 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004422/1.925, allocations: 219.6 kB / 0.861 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/1.926, allocations: 209.1 kB / 0.8612 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007332/1.927, allocations: 95.98 kB / 0.8613 GB, free: 13.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007307/1.934, allocations: 2.845 MB / 0.8641 GB, free: 10.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.934, allocations: 0 / 0.8641 GB, free: 10.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01168/1.946, allocations: 1.438 MB / 0.8655 GB, free: 9.301 MB / 474.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 (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.001331/1.947, allocations: 161.1 kB / 0.8656 GB, free: 9.141 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01878/1.966, allocations: 9.097 MB / 0.8745 GB, free: 48 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/1.966, allocations: 0 / 0.8745 GB, free: 48 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007627/1.974, allocations: 3.63 MB / 0.878 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004648/1.979, allocations: 490.7 kB / 0.8785 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2986/2.277, allocations: 13.15 MB / 0.8914 GB, free: 140.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01317/2.29, allocations: 4.99 MB / 0.8962 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01026/2.301, allocations: 2.911 MB / 0.8991 GB, free: 139.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/2.303, allocations: 359.7 kB / 0.8994 GB, free: 139.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/2.303, allocations: 0 / 0.8994 GB, free: 139.3 MB / 490.7 MB Notification: Performance of Templates: time 0.101/2.404, allocations: 53.6 MB / 0.9518 GB, free: 130.6 MB / 490.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)