Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001551/0.001551, 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.635/1.635, 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.001724/0.001723, allocations: 112.1 kB / 252.6 MB, free: 4.773 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.2147/0.2147, allocations: 39.94 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.348e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1347, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4851/0.6199, allocations: 99.57 MB / 0.5417 GB, free: 8.277 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.6202, allocations: 75.14 kB / 0.5418 GB, free: 8.238 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7665/1.387, allocations: 170.1 MB / 0.7079 GB, free: 82.6 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.994e-06/1.387, allocations: 0 / 0.7079 GB, free: 82.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005839/1.387, allocations: 171.6 kB / 0.7081 GB, free: 82.59 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: 2948 * Number of variables: 2948 Notification: Performance of Generate backend data structure: time 0.03209/1.419, allocations: 8.256 MB / 0.7161 GB, free: 79.42 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/1.42, allocations: 6.812 kB / 0.7161 GB, free: 79.42 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0475/1.467, allocations: 12.09 MB / 0.7279 GB, free: 78.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02733/1.494, allocations: 10.94 MB / 0.7386 GB, free: 77.69 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007864/1.495, allocations: 0.6332 MB / 0.7392 GB, free: 77.67 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005037/1.5, allocations: 0.854 MB / 0.7401 GB, free: 77.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05645/1.557, allocations: 19.84 MB / 0.7594 GB, free: 70.19 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009908/1.558, allocations: 113.9 kB / 0.7595 GB, free: 70.17 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005205/1.563, allocations: 404.5 kB / 0.7599 GB, free: 69.93 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003162/1.566, allocations: 1.819 MB / 0.7617 GB, free: 69.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03852/1.605, allocations: 16.04 MB / 0.7774 GB, free: 55.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4799/2.085, allocations: 82.1 MB / 0.8576 GB, free: 37.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02192/2.107, allocations: 8.061 MB / 0.8654 GB, free: 36.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006594/2.113, allocations: 4.085 MB / 0.8694 GB, free: 36.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008947/2.114, allocations: 0.6662 MB / 0.8701 GB, free: 35.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.289e-05/2.114, allocations: 65 kB / 0.8701 GB, free: 35.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=311): time 9.428e-06/2.114, allocations: 0 / 0.8701 GB, free: 35.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=335): time 0.0683/2.183, allocations: 26.27 MB / 0.8958 GB, free: 29.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/2.183, allocations: 291.8 kB / 0.8961 GB, free: 29.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01296/2.196, allocations: 6.8 MB / 0.9027 GB, free: 28.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008294/2.197, allocations: 74.67 kB / 0.9028 GB, free: 28.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004312/2.201, allocations: 5.853 MB / 0.9085 GB, free: 26.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001773/2.203, allocations: 1.271 MB / 0.9097 GB, free: 25.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000742/2.204, allocations: 198.1 kB / 0.9099 GB, free: 25.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004852/2.204, allocations: 0.7149 MB / 0.9106 GB, free: 25.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004908/2.209, allocations: 3.435 MB / 0.914 GB, free: 25.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008056/2.217, allocations: 9.114 MB / 0.9229 GB, free: 17.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009146/2.226, allocations: 5.533 MB / 0.9283 GB, free: 17.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002112/2.227, allocations: 59.31 kB / 0.9283 GB, free: 17.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02677/2.253, allocations: 13.17 MB / 0.9412 GB, free: 14.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002431/2.254, allocations: 95.34 kB / 0.9413 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003945/2.254, allocations: 197.2 kB / 0.9415 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002589/2.257, allocations: 1.06 MB / 0.9425 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008552/2.265, allocations: 2.244 MB / 0.9447 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/2.276, allocations: 11.27 MB / 0.9557 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009488/2.286, allocations: 0.53 MB / 0.9562 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00249/2.288, allocations: 0.5645 MB / 0.9568 GB, free: 6.016 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1179): * Single equations (assignments): 1172 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003253/2.291, allocations: 0.8549 MB / 0.9576 GB, free: 5.328 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001867/2.293, allocations: 0.6727 MB / 0.9583 GB, free: 4.957 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/2.305, allocations: 5.961 MB / 0.9641 GB, free: 1.996 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.813e-05/2.305, allocations: 36 kB / 0.9641 GB, free: 1.961 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-05/2.305, allocations: 11.94 kB / 0.9641 GB, free: 1.953 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.464e-05/2.305, allocations: 18.88 kB / 0.9642 GB, free: 1.953 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03848/2.343, allocations: 15.03 MB / 0.9788 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-05/2.343, allocations: 0 / 0.9788 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003435/2.347, allocations: 0.5585 MB / 0.9794 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002166/2.349, allocations: 0.7018 MB / 0.9801 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005194/2.349, allocations: 59.94 kB / 0.9801 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/2.361, allocations: 10.15 MB / 0.99 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/2.361, allocations: 4.031 kB / 0.99 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/2.378, allocations: 10.07 MB / 0.9999 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004575/2.382, allocations: 1.19 MB / 1.001 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002496/2.385, allocations: 56 kB / 1.001 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004398/2.389, allocations: 195.6 kB / 1.001 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000709/2.39, allocations: 193.2 kB / 1.001 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002686/2.39, allocations: 87.89 kB / 1.002 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.02747/2.418, allocations: 5.97 MB / 1.007 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.31e-07/2.418, allocations: 0 / 1.007 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01412/2.432, allocations: 1.867 MB / 1.009 GB, free: 13.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001213/2.433, allocations: 208.6 kB / 1.009 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01781/2.451, allocations: 8.851 MB / 1.018 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/2.451, allocations: 3.438 kB / 1.018 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005531/2.457, allocations: 3.186 MB / 1.021 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006893/2.463, allocations: 0.9237 MB / 1.022 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04001/2.504, allocations: 15.13 MB / 1.037 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01157/2.515, allocations: 6.118 MB / 1.043 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0104/2.526, allocations: 3.088 MB / 1.046 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002329/2.528, allocations: 459.4 kB / 1.046 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of SimCode: time 9.92e-07/2.528, allocations: 0 / 1.046 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of Templates: time 0.477/3.005, allocations: 69.31 MB / 1.114 GB, free: 142.9 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1)