Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007988/0.007987, allocations: 173.5 kB / 15.12 MB, free: 5.969 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.558/1.558, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001827/0.001826, allocations: 128.5 kB / 255.6 MB, free: 10.16 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.2035/0.2035, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004136, allocations: 15.62 kB / 406.2 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 54.87 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4232/0.5412, allocations: 100.9 MB / 0.5488 GB, free: 21.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.5415, allocations: 75.77 kB / 0.5488 GB, free: 21.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.323/0.8645, allocations: 130.9 MB / 0.6767 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.8646, allocations: 4 kB / 0.6767 GB, free: 13.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005222/0.8651, allocations: 127.9 kB / 0.6768 GB, free: 13.62 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.02874/0.8939, allocations: 6.805 MB / 0.6835 GB, free: 6.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.894, allocations: 12.03 kB / 0.6835 GB, free: 6.719 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02995/0.9239, allocations: 7.085 MB / 0.6904 GB, free: 15.61 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0218/0.9457, allocations: 7.282 MB / 0.6975 GB, free: 8.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006638/0.9465, allocations: 0.4973 MB / 0.698 GB, free: 7.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004255/0.9507, allocations: 0.656 MB / 0.6986 GB, free: 7.113 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04778/0.9985, allocations: 16.57 MB / 0.7148 GB, free: 5.359 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006738/0.9993, allocations: 75.31 kB / 0.7149 GB, free: 5.285 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004461/1.004, allocations: 311.8 kB / 0.7152 GB, free: 4.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003203/1.007, allocations: 1.581 MB / 0.7167 GB, free: 3.391 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3193/1.326, allocations: 14.08 MB / 0.7305 GB, free: 88.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08117/1.408, allocations: 66.23 MB / 0.7952 GB, free: 54.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01608/1.424, allocations: 7.061 MB / 0.8021 GB, free: 52.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02516/1.449, allocations: 15.04 MB / 0.8167 GB, free: 45.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.036e-05/1.449, allocations: 69.09 kB / 0.8168 GB, free: 45.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=306): time 9.558e-06/1.449, allocations: 0 / 0.8168 GB, free: 45.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=348): time 0.07677/1.526, allocations: 30.74 MB / 0.8468 GB, free: 34.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/1.526, allocations: 219.5 kB / 0.847 GB, free: 34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00982/1.536, allocations: 4.702 MB / 0.8516 GB, free: 30.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009559/1.537, allocations: 77.7 kB / 0.8517 GB, free: 30.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002988/1.54, allocations: 4.404 MB / 0.856 GB, free: 26.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001899/1.542, allocations: 1.272 MB / 0.8572 GB, free: 25.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/1.543, allocations: 164 kB / 0.8574 GB, free: 24.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006933/1.543, allocations: 0.6523 MB / 0.858 GB, free: 24.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0055/1.549, allocations: 3.612 MB / 0.8616 GB, free: 21.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007434/1.556, allocations: 8.075 MB / 0.8695 GB, free: 11.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007397/1.564, allocations: 5.299 MB / 0.8746 GB, free: 7.273 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001525/1.564, allocations: 47.47 kB / 0.8747 GB, free: 7.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.02874/1.593, allocations: 13.47 MB / 0.8878 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00016/1.593, allocations: 72 kB / 0.8879 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002486/1.593, allocations: 156 kB / 0.888 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00416/1.597, allocations: 1.674 MB / 0.8897 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00742/1.605, allocations: 1.931 MB / 0.8916 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/1.622, allocations: 11.87 MB / 0.9031 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2204/1.843, allocations: 0.4953 MB / 0.9036 GB, free: 95.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001843/1.845, allocations: 479.4 kB / 0.9041 GB, free: 95.59 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (996): * Single equations (assignments): 991 * 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.006767/1.852, allocations: 3.083 MB / 0.9071 GB, free: 95.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/1.853, allocations: 0.5007 MB / 0.9076 GB, free: 95.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01528/1.868, allocations: 7.462 MB / 0.9149 GB, free: 95.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.477e-05/1.868, allocations: 36.72 kB / 0.9149 GB, free: 95.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.739e-05/1.868, allocations: 8.438 kB / 0.9149 GB, free: 95.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.715e-05/1.868, allocations: 17.89 kB / 0.9149 GB, free: 95.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03261/1.901, allocations: 16.09 MB / 0.9307 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/1.901, allocations: 1.188 kB / 0.9307 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003359/1.904, allocations: 0.607 MB / 0.9312 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003548/1.908, allocations: 1.417 MB / 0.9326 GB, free: 94.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007073/1.908, allocations: 64.94 kB / 0.9327 GB, free: 94.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/1.921, allocations: 10.86 MB / 0.9433 GB, free: 91.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.921, allocations: 0 / 0.9433 GB, free: 91.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01822/1.939, allocations: 12.03 MB / 0.955 GB, free: 90.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003349/1.942, allocations: 1.108 MB / 0.9561 GB, free: 89.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0014/1.944, allocations: 56.88 kB / 0.9562 GB, free: 89.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003137/1.947, allocations: 256.7 kB / 0.9564 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006963/1.948, allocations: 193.2 kB / 0.9566 GB, free: 89.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003622/1.948, allocations: 101.5 kB / 0.9567 GB, free: 89.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006473/1.954, allocations: 3.311 MB / 0.9599 GB, free: 88.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.91e-07/1.954, allocations: 0 / 0.9599 GB, free: 88.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009043/1.964, allocations: 1.614 MB / 0.9615 GB, free: 88.45 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (294): * Single equations (assignments): 289 * 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.0008908/1.964, allocations: 209.3 kB / 0.9617 GB, free: 88.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.014/1.978, allocations: 8.964 MB / 0.9705 GB, free: 85.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.979, allocations: 0 / 0.9705 GB, free: 85.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006251/1.985, allocations: 3.787 MB / 0.9742 GB, free: 83.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/1.989, allocations: 0.6221 MB / 0.9748 GB, free: 83.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03305/2.022, allocations: 18.1 MB / 0.9924 GB, free: 74.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009141/2.031, allocations: 4.927 MB / 0.9973 GB, free: 73.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008663/2.04, allocations: 2.649 MB / 0.9998 GB, free: 73.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002195/2.042, allocations: 377.8 kB / 1 GB, free: 73.05 MB / 0.4948 GB Notification: Performance of SimCode: time 1.403e-06/2.042, allocations: 0 / 1 GB, free: 73.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.1031/2.145, allocations: 61.58 MB / 1.06 GB, free: 26.35 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1)