Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001177/0.001177, allocations: 170.4 kB / 12.72 MB, free: 2.594 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.268/1.268, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001655/0.001655, allocations: 99.5 kB / 223.2 MB, free: 4.113 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.1654/0.1654, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.192e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08469/0.08474, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3151/0.3999, allocations: 93.94 MB / 499.6 MB, free: 17.22 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.4001, allocations: 79.19 kB / 499.7 MB, free: 17.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3105/0.7106, allocations: 114.4 MB / 0.5998 GB, free: 2.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7107, allocations: 4 kB / 0.5998 GB, free: 2.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004384/0.7111, allocations: 108 kB / 0.5999 GB, free: 2.801 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: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.01912/0.7303, allocations: 5.455 MB / 0.6052 GB, free: 13.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.7304, allocations: 12.02 kB / 0.6052 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02911/0.7595, allocations: 6.961 MB / 0.612 GB, free: 6.285 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2501/1.01, allocations: 6.849 MB / 0.6187 GB, free: 74.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004415/1.01, allocations: 417.2 kB / 0.6191 GB, free: 74.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002576/1.013, allocations: 0.5443 MB / 0.6196 GB, free: 74.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0272/1.04, allocations: 13.25 MB / 0.6326 GB, free: 71.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002971/1.04, allocations: 79.41 kB / 0.6326 GB, free: 71.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00101/1.041, allocations: 269.7 kB / 0.6329 GB, free: 71.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002191/1.043, allocations: 1.252 MB / 0.6341 GB, free: 71.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02095/1.064, allocations: 10.5 MB / 0.6444 GB, free: 71.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06004/1.125, allocations: 59.64 MB / 0.7026 GB, free: 31.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009861/1.134, allocations: 4.602 MB / 0.7071 GB, free: 30.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002477/1.137, allocations: 2.216 MB / 0.7093 GB, free: 29.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/1.147, allocations: 6.502 MB / 0.7156 GB, free: 42.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/1.148, allocations: 54.47 kB / 0.7157 GB, free: 41.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 4.168e-06/1.148, allocations: 0 / 0.7157 GB, free: 41.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=195): time 0.03643/1.184, allocations: 14.54 MB / 0.7299 GB, free: 35.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/1.184, allocations: 223.2 kB / 0.7301 GB, free: 35.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008037/1.192, allocations: 5.157 MB / 0.7351 GB, free: 33.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004044/1.193, allocations: 57.64 kB / 0.7352 GB, free: 33.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002398/1.195, allocations: 4.12 MB / 0.7392 GB, free: 30.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009018/1.196, allocations: 0.7639 MB / 0.74 GB, free: 30.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003794/1.196, allocations: 150.2 kB / 0.7401 GB, free: 29.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003848/1.197, allocations: 0.6026 MB / 0.7407 GB, free: 29.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003087/1.2, allocations: 2.249 MB / 0.7429 GB, free: 27.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005253/1.205, allocations: 6.73 MB / 0.7495 GB, free: 18.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005101/1.21, allocations: 3.856 MB / 0.7532 GB, free: 15.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/1.21, allocations: 52 kB / 0.7533 GB, free: 15.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.01823/1.229, allocations: 9.148 MB / 0.7622 GB, free: 7.562 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/1.229, allocations: 72 kB / 0.7623 GB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002602/1.229, allocations: 160 kB / 0.7624 GB, free: 7.336 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/1.231, allocations: 0.6114 MB / 0.763 GB, free: 6.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005694/1.236, allocations: 1.646 MB / 0.7646 GB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007296/1.244, allocations: 5.755 MB / 0.7702 GB, free: 0 / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006035/1.25, allocations: 398.4 kB / 0.7706 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/1.251, allocations: 452.4 kB / 0.7711 GB, free: 15.24 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 42 (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],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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 (882): * Single equations (assignments): 877 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001236/1.252, allocations: 0.6568 MB / 0.7717 GB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009572/1.253, allocations: 489.6 kB / 0.7722 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005578/1.259, allocations: 3.02 MB / 0.7751 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.774e-05/1.259, allocations: 20 kB / 0.7751 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.259, allocations: 8 kB / 0.7751 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/1.259, allocations: 8.859 kB / 0.7751 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/1.275, allocations: 8.449 MB / 0.7834 GB, free: 4.637 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/1.275, allocations: 8.062 kB / 0.7834 GB, free: 4.629 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.277, allocations: 320.1 kB / 0.7837 GB, free: 4.379 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/1.278, allocations: 366.2 kB / 0.7841 GB, free: 4.102 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/1.278, allocations: 35.7 kB / 0.7841 GB, free: 4.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.253/1.531, allocations: 5.069 MB / 0.789 GB, free: 93.95 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.531, allocations: 6.547 kB / 0.7891 GB, free: 93.95 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007321/1.539, allocations: 6.087 MB / 0.795 GB, free: 92.72 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00225/1.541, allocations: 0.8016 MB / 0.7958 GB, free: 92.63 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006019/1.542, allocations: 37.56 kB / 0.7958 GB, free: 92.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/1.543, allocations: 96.53 kB / 0.7959 GB, free: 92.63 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003848/1.544, allocations: 120.5 kB / 0.796 GB, free: 92.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/1.544, allocations: 49.19 kB / 0.7961 GB, free: 92.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00673/1.551, allocations: 3.679 MB / 0.7997 GB, free: 92.42 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.5e-07/1.551, allocations: 0 / 0.7997 GB, free: 92.42 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007344/1.558, allocations: 1.221 MB / 0.8009 GB, free: 92.42 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * 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 {(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.0005955/1.559, allocations: 167.7 kB / 0.801 GB, free: 92.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008739/1.567, allocations: 5.626 MB / 0.8065 GB, free: 92.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.567, allocations: 0 / 0.8065 GB, free: 92.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001896/1.569, allocations: 1.686 MB / 0.8082 GB, free: 91.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/1.572, allocations: 0.5966 MB / 0.8087 GB, free: 91.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/1.589, allocations: 9.608 MB / 0.8181 GB, free: 89.87 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004596/1.594, allocations: 4.233 MB / 0.8223 GB, free: 89.04 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005407/1.599, allocations: 2.324 MB / 0.8245 GB, free: 88.99 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009483/1.6, allocations: 317.3 kB / 0.8248 GB, free: 88.98 MB / 458.7 MB Notification: Performance of SimCode: time 1.042e-06/1.6, allocations: 0 / 0.8248 GB, free: 88.98 MB / 458.7 MB Notification: Performance of Templates: time 0.07301/1.673, allocations: 43.19 MB / 0.867 GB, free: 86.3 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1)