Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001418/0.001418, allocations: 182.2 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.442/1.442, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.00162/0.00162, allocations: 110.3 kB / 252.6 MB, free: 4.805 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.1793/0.1793, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.833e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08388/0.08392, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4376/0.5216, allocations: 100.6 MB / 0.5427 GB, free: 7.285 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.522, allocations: 78.52 kB / 0.5428 GB, free: 7.246 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2886/0.8106, allocations: 110.8 MB / 0.651 GB, free: 15.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.967e-06/0.8106, allocations: 3.984 kB / 0.651 GB, free: 15.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003884/0.811, allocations: 107.9 kB / 0.6511 GB, free: 15.77 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: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.01803/0.8291, allocations: 5.33 MB / 0.6563 GB, free: 10.38 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.8291, allocations: 12.03 kB / 0.6563 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02721/0.8564, allocations: 6.927 MB / 0.6631 GB, free: 3.418 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3145/1.171, allocations: 6.775 MB / 0.6697 GB, free: 94.82 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005275/1.171, allocations: 401.9 kB / 0.6701 GB, free: 94.81 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003159/1.175, allocations: 0.5223 MB / 0.6706 GB, free: 94.81 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03281/1.207, allocations: 12.9 MB / 0.6832 GB, free: 91.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002401/1.208, allocations: 77.09 kB / 0.6833 GB, free: 91.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008721/1.209, allocations: 260.4 kB / 0.6835 GB, free: 91.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001497/1.21, allocations: 1.203 MB / 0.6847 GB, free: 91.46 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01925/1.229, allocations: 10.22 MB / 0.6947 GB, free: 91.42 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0617/1.291, allocations: 58.39 MB / 0.7517 GB, free: 51.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/1.302, allocations: 4.637 MB / 0.7562 GB, free: 49.85 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002822/1.305, allocations: 2.202 MB / 0.7584 GB, free: 48.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/1.316, allocations: 6.871 MB / 0.7651 GB, free: 45.76 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/1.316, allocations: 63.12 kB / 0.7652 GB, free: 45.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=181): time 5.701e-06/1.316, allocations: 3.625 kB / 0.7652 GB, free: 45.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=193): time 0.03314/1.349, allocations: 13.33 MB / 0.7782 GB, free: 40.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/1.35, allocations: 205.4 kB / 0.7784 GB, free: 40.13 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007509/1.357, allocations: 5.09 MB / 0.7833 GB, free: 37.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000445/1.358, allocations: 52.89 kB / 0.7834 GB, free: 37.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00247/1.36, allocations: 4.015 MB / 0.7873 GB, free: 34.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009835/1.361, allocations: 0.7581 MB / 0.788 GB, free: 33.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003693/1.361, allocations: 140 kB / 0.7882 GB, free: 33.41 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003313/1.362, allocations: 0.6069 MB / 0.7888 GB, free: 32.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002791/1.365, allocations: 2.208 MB / 0.7909 GB, free: 30.89 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004468/1.369, allocations: 6.611 MB / 0.7974 GB, free: 22.56 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005044/1.374, allocations: 3.805 MB / 0.8011 GB, free: 19.32 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.48e-05/1.374, allocations: 44 kB / 0.8011 GB, free: 19.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.01478/1.389, allocations: 8.989 MB / 0.8099 GB, free: 11.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.668e-05/1.389, allocations: 72 kB / 0.81 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001661/1.389, allocations: 160 kB / 0.8101 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/1.391, allocations: 0.5826 MB / 0.8107 GB, free: 10.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005181/1.396, allocations: 1.614 MB / 0.8123 GB, free: 9.184 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005409/1.401, allocations: 5.596 MB / 0.8178 GB, free: 3.848 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007191/1.408, allocations: 378.3 kB / 0.8181 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001429/1.41, allocations: 435.7 kB / 0.8185 GB, free: 3.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (868): * Single equations (assignments): 863 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001158/1.411, allocations: 0.6538 MB / 0.8192 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.412, allocations: 481.7 kB / 0.8196 GB, free: 1.953 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006434/1.419, allocations: 3.06 MB / 0.8226 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-05/1.419, allocations: 31.31 kB / 0.8226 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.419, allocations: 11.94 kB / 0.8227 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/1.419, allocations: 7.125 kB / 0.8227 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/1.435, allocations: 8.116 MB / 0.8306 GB, free: 9.027 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/1.435, allocations: 4.281 kB / 0.8306 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/1.436, allocations: 296.6 kB / 0.8309 GB, free: 8.785 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/1.437, allocations: 351.1 kB / 0.8312 GB, free: 8.523 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/1.438, allocations: 32 kB / 0.8312 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005867/1.443, allocations: 4.935 MB / 0.8361 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.443, allocations: 0 / 0.8361 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008531/1.452, allocations: 5.924 MB / 0.8418 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002618/1.455, allocations: 0.7937 MB / 0.8426 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007585/1.455, allocations: 35.84 kB / 0.8427 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/1.457, allocations: 89.36 kB / 0.8427 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/1.457, allocations: 121.9 kB / 0.8429 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/1.458, allocations: 48 kB / 0.8429 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007325/1.465, allocations: 3.626 MB / 0.8464 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.61e-07/1.465, allocations: 0 / 0.8464 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008211/1.473, allocations: 1.194 MB / 0.8476 GB, free: 8.883 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005768/1.474, allocations: 179.5 kB / 0.8478 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009981/1.484, allocations: 5.54 MB / 0.8532 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.484, allocations: 0 / 0.8532 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002575/1.486, allocations: 1.654 MB / 0.8548 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/1.49, allocations: 0.592 MB / 0.8554 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3328/1.823, allocations: 9.353 MB / 0.8645 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00881/1.832, allocations: 4.126 MB / 0.8685 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008213/1.84, allocations: 2.304 MB / 0.8708 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/1.841, allocations: 311.7 kB / 0.8711 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.724e-06/1.841, allocations: 0 / 0.8711 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.08845/1.93, allocations: 42.2 MB / 0.9123 GB, free: 108.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1)