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.001556/0.001556, allocations: 181.9 kB / 7.651 MB, free: 1.402 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.597/1.597, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.00158/0.00158, allocations: 113.8 kB / 247.4 MB, free: 6.203 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.1906/0.1906, allocations: 39.95 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.56e-05/1.563e-05, allocations: 0 / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09862/0.09865, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3777/0.4764, allocations: 100.1 MB / 0.5355 GB, free: 164 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.4767, allocations: 72.77 kB / 0.5356 GB, free: 128 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3331/0.8099, allocations: 128 MB / 0.6606 GB, free: 7.625 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.8099, allocations: 0 / 0.6606 GB, free: 7.625 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004381/0.8104, allocations: 135.9 kB / 0.6607 GB, free: 7.492 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.02234/0.8327, allocations: 6.356 MB / 0.6669 GB, free: 1.062 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.8328, allocations: 8.031 kB / 0.6669 GB, free: 1.055 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.33/1.163, allocations: 7.093 MB / 0.6738 GB, free: 88.08 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02237/1.185, allocations: 7.243 MB / 0.6809 GB, free: 87.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004838/1.186, allocations: 214.7 kB / 0.6811 GB, free: 87.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003945/1.19, allocations: 394.5 kB / 0.6815 GB, free: 87.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02147/1.211, allocations: 9.632 MB / 0.6909 GB, free: 87.67 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03206/1.243, allocations: 14.15 MB / 0.7047 GB, free: 84.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003474/1.244, allocations: 78.81 kB / 0.7048 GB, free: 84.49 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001645/1.245, allocations: 39.98 kB / 0.7048 GB, free: 84.49 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001948/1.247, allocations: 1.57 MB / 0.7064 GB, free: 84.47 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07376/1.321, allocations: 63.89 MB / 0.7688 GB, free: 44.72 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006707/1.328, allocations: 5.943 MB / 0.7746 GB, free: 41.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004225/1.332, allocations: 4.051 MB / 0.7785 GB, free: 40.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000546/1.333, allocations: 0.5701 MB / 0.7791 GB, free: 39.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/1.333, allocations: 68.3 kB / 0.7791 GB, free: 39.71 MB / 474.7 MB Notification: Performance of pre-optimization done (n=315): time 6.652e-06/1.333, allocations: 4.125 kB / 0.7791 GB, free: 39.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=359): time 0.05229/1.385, allocations: 28.68 MB / 0.8072 GB, free: 17.71 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/1.385, allocations: 214.3 kB / 0.8074 GB, free: 17.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005518/1.391, allocations: 3.897 MB / 0.8112 GB, free: 14.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008821/1.392, allocations: 25.7 kB / 0.8112 GB, free: 14.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002497/1.394, allocations: 4.462 MB / 0.8155 GB, free: 9.969 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001858/1.396, allocations: 1.276 MB / 0.8168 GB, free: 8.816 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003962/1.396, allocations: 3.469 kB / 0.8168 GB, free: 8.816 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003746/1.397, allocations: 0.6611 MB / 0.8174 GB, free: 8.246 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004251/1.401, allocations: 3.505 MB / 0.8209 GB, free: 5.113 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007032/1.408, allocations: 8.149 MB / 0.8288 GB, free: 11.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008183/1.416, allocations: 5.288 MB / 0.834 GB, free: 6.832 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/1.416, allocations: 47.95 kB / 0.834 GB, free: 6.785 MB / 490.7 MB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.02959/1.446, allocations: 12.56 MB / 0.8463 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000236/1.446, allocations: 76.03 kB / 0.8464 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003684/1.447, allocations: 164 kB / 0.8465 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004415/1.451, allocations: 1.71 MB / 0.8482 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008553/1.46, allocations: 2.019 MB / 0.8502 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/1.475, allocations: 10.9 MB / 0.8608 GB, free: 248 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3012/1.776, allocations: 351.2 kB / 0.8611 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002376/1.778, allocations: 498.8 kB / 0.8616 GB, free: 102.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1046): * Single equations (assignments): 1041 * 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.001495/1.78, allocations: 0.5233 MB / 0.8621 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009905/1.781, allocations: 462.6 kB / 0.8626 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/1.793, allocations: 7.189 MB / 0.8696 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.956e-05/1.793, allocations: 42.25 kB / 0.8696 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/1.793, allocations: 8 kB / 0.8696 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.156e-05/1.794, allocations: 17.58 kB / 0.8697 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02589/1.819, allocations: 15.02 MB / 0.8843 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/1.819, allocations: 7.312 kB / 0.8843 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002994/1.822, allocations: 0.6181 MB / 0.8849 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003287/1.826, allocations: 1.405 MB / 0.8863 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003665/1.826, allocations: 17.61 kB / 0.8863 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/1.837, allocations: 9.884 MB / 0.896 GB, free: 98.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.837, allocations: 0 / 0.896 GB, free: 98.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/1.853, allocations: 11.88 MB / 0.9076 GB, free: 98.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002591/1.856, allocations: 1.044 MB / 0.9086 GB, free: 98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007351/1.856, allocations: 6.656 kB / 0.9086 GB, free: 98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/1.859, allocations: 205.6 kB / 0.9088 GB, free: 98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005204/1.859, allocations: 205.5 kB / 0.909 GB, free: 98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002457/1.86, allocations: 97.28 kB / 0.9091 GB, free: 98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004364/1.864, allocations: 2.608 MB / 0.9116 GB, free: 97.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.41e-07/1.864, allocations: 0 / 0.9116 GB, free: 97.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007405/1.871, allocations: 1.401 MB / 0.913 GB, free: 97.65 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (305): * Single equations (assignments): 300 * 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.0005872/1.872, allocations: 154.5 kB / 0.9132 GB, free: 97.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01262/1.885, allocations: 8.869 MB / 0.9218 GB, free: 94.69 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.885, allocations: 0 / 0.9218 GB, free: 94.69 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005515/1.89, allocations: 3.687 MB / 0.9254 GB, free: 93.24 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003612/1.894, allocations: 478 kB / 0.9259 GB, free: 93.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0248/1.919, allocations: 12.86 MB / 0.9384 GB, free: 88.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007464/1.926, allocations: 4.927 MB / 0.9432 GB, free: 86.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008479/1.935, allocations: 2.738 MB / 0.9459 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002396/1.937, allocations: 362 kB / 0.9463 GB, free: 86.82 MB / 0.4948 GB Notification: Performance of SimCode: time 1.973e-06/1.937, allocations: 0 / 0.9463 GB, free: 86.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.09516/2.032, allocations: 54.49 MB / 0.9995 GB, free: 49.07 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)