Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007544/0.007544, allocations: 166.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.39/1.39, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001835/0.001835, allocations: 113.2 kB / 226.2 MB, free: 10.1 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.382/0.382, allocations: 38.05 MB / 303.7 MB, free: 42.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003742, allocations: 12 kB / 362.9 MB, free: 5.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1025, allocations: 48.71 MB / 411.6 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3457/0.4482, allocations: 92.84 MB / 0.4926 GB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.4485, allocations: 74.47 kB / 0.4927 GB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6392/1.088, allocations: 169.8 MB / 0.6584 GB, free: 68.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.088, allocations: 3.875 kB / 0.6584 GB, free: 68.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005969/1.088, allocations: 167.2 kB / 0.6586 GB, free: 68.6 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.03231/1.121, allocations: 9.041 MB / 0.6674 GB, free: 64.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/1.121, allocations: 9.969 kB / 0.6674 GB, free: 64.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04528/1.166, allocations: 12.07 MB / 0.6792 GB, free: 60.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02916/1.195, allocations: 11 MB / 0.69 GB, free: 54.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006997/1.196, allocations: 0.6375 MB / 0.6906 GB, free: 53.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004528/1.201, allocations: 0.8512 MB / 0.6914 GB, free: 53.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04636/1.247, allocations: 19.98 MB / 0.7109 GB, free: 32.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005538/1.248, allocations: 115 kB / 0.711 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003322/1.251, allocations: 400.8 kB / 0.7114 GB, free: 32.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002352/1.253, allocations: 1.825 MB / 0.7132 GB, free: 30.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03144/1.285, allocations: 16.27 MB / 0.7291 GB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3762/1.661, allocations: 82.06 MB / 0.8092 GB, free: 41.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01971/1.681, allocations: 8.146 MB / 0.8172 GB, free: 40.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007892/1.682, allocations: 0.6619 MB / 0.8178 GB, free: 39.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/1.682, allocations: 72.36 kB / 0.8179 GB, free: 39.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=311): time 6.432e-06/1.682, allocations: 0 / 0.8179 GB, free: 39.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=335): time 0.07774/1.759, allocations: 30.95 MB / 0.8481 GB, free: 29.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.76, allocations: 303 kB / 0.8484 GB, free: 29.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01334/1.773, allocations: 6.879 MB / 0.8551 GB, free: 27.26 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007772/1.774, allocations: 72.27 kB / 0.8552 GB, free: 27.19 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004096/1.778, allocations: 5.843 MB / 0.8609 GB, free: 22.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00163/1.779, allocations: 1.267 MB / 0.8621 GB, free: 21.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000895/1.78, allocations: 195.8 kB / 0.8623 GB, free: 21.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005317/1.781, allocations: 0.7167 MB / 0.863 GB, free: 21.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004836/1.786, allocations: 3.522 MB / 0.8665 GB, free: 20.01 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007499/1.793, allocations: 9.196 MB / 0.8755 GB, free: 11.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007802/1.801, allocations: 5.559 MB / 0.8809 GB, free: 9.133 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001662/1.801, allocations: 63.36 kB / 0.8809 GB, free: 9.133 MB / 458.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02378/1.825, allocations: 13.35 MB / 0.894 GB, free: 4.137 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/1.825, allocations: 90.25 kB / 0.8941 GB, free: 4.137 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002197/1.825, allocations: 199.6 kB / 0.8943 GB, free: 4.137 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/1.828, allocations: 1.056 MB / 0.8953 GB, free: 3.922 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007635/1.835, allocations: 2.247 MB / 0.8975 GB, free: 2.039 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01481/1.85, allocations: 11.47 MB / 0.9087 GB, free: 7.148 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009418/1.86, allocations: 0.5264 MB / 0.9092 GB, free: 6.684 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002379/1.862, allocations: 0.5671 MB / 0.9098 GB, free: 6.129 MB / 474.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 () * Number of clocked 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.01073/1.873, allocations: 3.883 MB / 0.9135 GB, free: 2.723 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001934/1.875, allocations: 0.6787 MB / 0.9142 GB, free: 2.035 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2562/2.131, allocations: 6.297 MB / 0.9204 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.491e-05/2.131, allocations: 34.84 kB / 0.9204 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.744e-05/2.131, allocations: 14.53 kB / 0.9204 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.24e-05/2.131, allocations: 18.61 kB / 0.9204 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03505/2.166, allocations: 15.09 MB / 0.9352 GB, free: 101.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.293e-05/2.166, allocations: 3.125 kB / 0.9352 GB, free: 101.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003242/2.17, allocations: 0.553 MB / 0.9357 GB, free: 101.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002132/2.172, allocations: 0.7132 MB / 0.9364 GB, free: 101.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007734/2.173, allocations: 57.64 kB / 0.9365 GB, free: 101.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/2.183, allocations: 10.33 MB / 0.9465 GB, free: 96.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/2.183, allocations: 2.844 kB / 0.9465 GB, free: 96.43 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/2.2, allocations: 10.2 MB / 0.9565 GB, free: 94.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004731/2.205, allocations: 1.193 MB / 0.9577 GB, free: 94.42 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001951/2.207, allocations: 59.36 kB / 0.9577 GB, free: 94.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003914/2.21, allocations: 196.3 kB / 0.9579 GB, free: 94.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005975/2.211, allocations: 195 kB / 0.9581 GB, free: 94.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002533/2.211, allocations: 87.92 kB / 0.9582 GB, free: 94.29 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01133/2.223, allocations: 4.927 MB / 0.963 GB, free: 92.66 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.3e-07/2.223, allocations: 0 / 0.963 GB, free: 92.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01372/2.236, allocations: 1.869 MB / 0.9648 GB, free: 92.46 MB / 474.7 MB 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 () * Number of clocked 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.001385/2.238, allocations: 214.6 kB / 0.965 GB, free: 92.33 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01444/2.252, allocations: 8.985 MB / 0.9738 GB, free: 89.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/2.252, allocations: 0 / 0.9738 GB, free: 89.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004202/2.257, allocations: 3.24 MB / 0.977 GB, free: 88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005198/2.262, allocations: 0.9277 MB / 0.9779 GB, free: 87.63 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.036/2.298, allocations: 21.4 MB / 0.9988 GB, free: 76.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009593/2.307, allocations: 6.119 MB / 1.005 GB, free: 74.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007896/2.315, allocations: 3.083 MB / 1.008 GB, free: 74.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/2.317, allocations: 463.1 kB / 1.008 GB, free: 74.68 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/2.317, allocations: 0 / 1.008 GB, free: 74.68 MB / 474.7 MB Notification: Performance of Templates: time 0.1152/2.432, allocations: 69.29 MB / 1.076 GB, free: 19.27 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1)