Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009259/0.0009259, allocations: 181.1 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.413/1.413, allocations: 194.3 MB / 202.4 MB, free: 8.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.001625/0.001624, allocations: 111.8 kB / 247.4 MB, free: 6.195 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.202/0.202, allocations: 39.95 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.018e-05/2.005e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3806/0.4841, allocations: 98.7 MB / 0.5341 GB, free: 1.559 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.4844, allocations: 72.33 kB / 0.5341 GB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6938/1.178, allocations: 159.1 MB / 0.6895 GB, free: 80.35 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.178, allocations: 0 / 0.6895 GB, free: 80.35 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006045/1.179, allocations: 168.6 kB / 0.6897 GB, free: 80.35 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: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.02827/1.207, allocations: 8.009 MB / 0.6975 GB, free: 77.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.207, allocations: 11.62 kB / 0.6975 GB, free: 77.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04534/1.253, allocations: 12.03 MB / 0.7092 GB, free: 76.74 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02617/1.279, allocations: 10.78 MB / 0.7198 GB, free: 75.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005409/1.279, allocations: 266.4 kB / 0.72 GB, free: 75.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004385/1.284, allocations: 495.5 kB / 0.7205 GB, free: 75.69 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02192/1.306, allocations: 10.99 MB / 0.7312 GB, free: 75.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03298/1.339, allocations: 16.51 MB / 0.7474 GB, free: 70.89 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003401/1.339, allocations: 114.1 kB / 0.7475 GB, free: 70.87 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001149/1.34, allocations: 44.03 kB / 0.7475 GB, free: 70.87 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001904/1.342, allocations: 1.727 MB / 0.7492 GB, free: 70.57 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07502/1.417, allocations: 76.33 MB / 0.8237 GB, free: 6.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005994/1.423, allocations: 5.881 MB / 0.8295 GB, free: 1.523 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005901/1.429, allocations: 4.104 MB / 0.8335 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00075/1.43, allocations: 0.6659 MB / 0.8341 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.221e-05/1.43, allocations: 73.12 kB / 0.8342 GB, free: 13.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=307): time 4.849e-06/1.43, allocations: 0 / 0.8342 GB, free: 13.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=335): time 0.3969/1.827, allocations: 34.28 MB / 0.8677 GB, free: 84.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/1.827, allocations: 293.3 kB / 0.868 GB, free: 83.74 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0113/1.838, allocations: 5.354 MB / 0.8732 GB, free: 83.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001187/1.84, allocations: 31.92 kB / 0.8732 GB, free: 83.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005478/1.845, allocations: 5.691 MB / 0.8788 GB, free: 80.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002115/1.847, allocations: 1.22 MB / 0.88 GB, free: 79.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007079/1.848, allocations: 0 / 0.88 GB, free: 79.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005522/1.849, allocations: 0.7236 MB / 0.8807 GB, free: 79.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004425/1.853, allocations: 3.267 MB / 0.8839 GB, free: 79.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007514/1.861, allocations: 8.917 MB / 0.8926 GB, free: 72.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00816/1.869, allocations: 5.333 MB / 0.8978 GB, free: 72.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001847/1.869, allocations: 55.97 kB / 0.8978 GB, free: 72.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02492/1.894, allocations: 11.8 MB / 0.9094 GB, free: 71.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004036/1.894, allocations: 96.12 kB / 0.9094 GB, free: 71.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004903/1.895, allocations: 201.4 kB / 0.9096 GB, free: 71.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002922/1.898, allocations: 1.001 MB / 0.9106 GB, free: 71.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009896/1.908, allocations: 2.235 MB / 0.9128 GB, free: 71.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/1.92, allocations: 10.58 MB / 0.9231 GB, free: 65.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/1.931, allocations: 342.6 kB / 0.9235 GB, free: 65.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002911/1.934, allocations: 0.5735 MB / 0.924 GB, free: 65.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 918 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1189): * Single equations (assignments): 1182 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004735/1.939, allocations: 0.6238 MB / 0.9246 GB, free: 65.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002469/1.941, allocations: 0.5835 MB / 0.9252 GB, free: 65.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/1.954, allocations: 5.618 MB / 0.9307 GB, free: 63.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.265e-05/1.954, allocations: 45.08 kB / 0.9307 GB, free: 63.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-05/1.954, allocations: 9.5 kB / 0.9307 GB, free: 63.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.97e-05/1.954, allocations: 20.42 kB / 0.9308 GB, free: 63.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0317/1.986, allocations: 13.12 MB / 0.9436 GB, free: 58.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/1.986, allocations: 3.969 kB / 0.9436 GB, free: 58.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002534/1.989, allocations: 0.5327 MB / 0.9441 GB, free: 58.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001702/1.99, allocations: 0.653 MB / 0.9447 GB, free: 58.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002718/1.991, allocations: 20.92 kB / 0.9447 GB, free: 58.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008248/1.999, allocations: 9.463 MB / 0.954 GB, free: 51.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/1.999, allocations: 3.625 kB / 0.954 GB, free: 51.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/2.013, allocations: 9.663 MB / 0.9634 GB, free: 46.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003629/2.017, allocations: 1.057 MB / 0.9645 GB, free: 46.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001876/2.019, allocations: 4.109 kB / 0.9645 GB, free: 46.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00362/2.023, allocations: 148.5 kB / 0.9646 GB, free: 45.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004878/2.023, allocations: 193 kB / 0.9648 GB, free: 45.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/2.023, allocations: 92.89 kB / 0.9649 GB, free: 45.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006452/2.03, allocations: 3.654 MB / 0.9684 GB, free: 42.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.41e-07/2.03, allocations: 0 / 0.9684 GB, free: 42.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01165/2.041, allocations: 1.579 MB / 0.97 GB, free: 41.02 MB / 490.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 273 * 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%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000829/2.042, allocations: 152.5 kB / 0.9701 GB, free: 40.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01258/2.055, allocations: 8.28 MB / 0.9782 GB, free: 33.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/2.055, allocations: 0 / 0.9782 GB, free: 33.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003968/2.059, allocations: 3.058 MB / 0.9812 GB, free: 30.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005999/2.065, allocations: 0.7213 MB / 0.9819 GB, free: 30.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03116/2.096, allocations: 14.33 MB / 0.9959 GB, free: 17.24 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009742/2.106, allocations: 5.906 MB / 1.002 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008202/2.114, allocations: 3.027 MB / 1.005 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/2.116, allocations: 412 kB / 1.005 GB, free: 10.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.222e-06/2.116, allocations: 0 / 1.005 GB, free: 10.59 MB / 490.7 MB Notification: Performance of Templates: time 0.4042/2.52, allocations: 57.6 MB / 1.061 GB, free: 87.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1)