Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005495/0.005495, allocations: 165.5 kB / 15.11 MB, free: 5.977 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.404/1.404, 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.001623/0.001622, allocations: 114.2 kB / 226.2 MB, free: 10.11 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.3858/0.3858, allocations: 38.04 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003771, allocations: 12 kB / 362.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1198, allocations: 48.7 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.372/0.4918, allocations: 92.64 MB / 0.4924 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.4921, allocations: 72.91 kB / 0.4925 GB, free: 11.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6525/1.145, allocations: 162.3 MB / 0.651 GB, free: 68.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.145, allocations: 0 / 0.651 GB, free: 68.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005902/1.145, allocations: 170.5 kB / 0.6512 GB, free: 68.57 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: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.03472/1.18, allocations: 8.778 MB / 0.6597 GB, free: 65.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.18, allocations: 8.062 kB / 0.6598 GB, free: 65.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04544/1.226, allocations: 12.02 MB / 0.6715 GB, free: 63.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02747/1.253, allocations: 10.84 MB / 0.6821 GB, free: 58.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00059/1.254, allocations: 0.6024 MB / 0.6827 GB, free: 57.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004282/1.258, allocations: 0.8114 MB / 0.6835 GB, free: 57.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04785/1.306, allocations: 19.26 MB / 0.7023 GB, free: 41.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005995/1.306, allocations: 107 kB / 0.7024 GB, free: 41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003478/1.31, allocations: 378.7 kB / 0.7027 GB, free: 40.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002462/1.312, allocations: 1.729 MB / 0.7044 GB, free: 38.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03337/1.346, allocations: 15.7 MB / 0.7198 GB, free: 23.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4019/1.748, allocations: 79.6 MB / 0.7975 GB, free: 40.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01974/1.768, allocations: 8.246 MB / 0.8055 GB, free: 40.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000861/1.769, allocations: 0.6715 MB / 0.8062 GB, free: 39.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.291e-05/1.769, allocations: 68.53 kB / 0.8063 GB, free: 39.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=307): time 6.272e-06/1.769, allocations: 2.219 kB / 0.8063 GB, free: 39.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=331): time 0.08351/1.852, allocations: 30.25 MB / 0.8358 GB, free: 32.98 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/1.852, allocations: 294.8 kB / 0.8361 GB, free: 32.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01927/1.872, allocations: 6.729 MB / 0.8427 GB, free: 32.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001111/1.873, allocations: 80.48 kB / 0.8427 GB, free: 32.13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005463/1.878, allocations: 5.599 MB / 0.8482 GB, free: 28.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002329/1.881, allocations: 1.253 MB / 0.8494 GB, free: 27.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001226/1.882, allocations: 185 kB / 0.8496 GB, free: 27.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007006/1.883, allocations: 0.7014 MB / 0.8503 GB, free: 27.37 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006292/1.889, allocations: 3.449 MB / 0.8537 GB, free: 26.22 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01063/1.9, allocations: 8.943 MB / 0.8624 GB, free: 17.72 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009361/1.909, allocations: 5.436 MB / 0.8677 GB, free: 15.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001884/1.909, allocations: 52.44 kB / 0.8677 GB, free: 15.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.02909/1.938, allocations: 13.02 MB / 0.8805 GB, free: 11.24 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000209/1.939, allocations: 89.25 kB / 0.8805 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004257/1.939, allocations: 192.2 kB / 0.8807 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002658/1.942, allocations: 1.017 MB / 0.8817 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008266/1.95, allocations: 2.155 MB / 0.8838 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/1.962, allocations: 11.2 MB / 0.8948 GB, free: 2.934 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01095/1.973, allocations: 0.511 MB / 0.8953 GB, free: 2.762 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002774/1.976, allocations: 0.5468 MB / 0.8958 GB, free: 2.688 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 882 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1149): * Single equations (assignments): 1142 * 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.01051/1.986, allocations: 3.74 MB / 0.8994 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001949/1.988, allocations: 0.6736 MB / 0.9001 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/1.999, allocations: 5.926 MB / 0.9059 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.624e-05/1.999, allocations: 37.64 kB / 0.9059 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.331e-05/1.999, allocations: 12 kB / 0.9059 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.209e-05/2, allocations: 21.67 kB / 0.906 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03254/2.032, allocations: 14.73 MB / 0.9203 GB, free: 1.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/2.032, allocations: 0 / 0.9203 GB, free: 1.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002756/2.035, allocations: 0.5208 MB / 0.9209 GB, free: 1.074 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/2.037, allocations: 0.679 MB / 0.9215 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003966/2.037, allocations: 59.95 kB / 0.9216 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/2.049, allocations: 10.08 MB / 0.9314 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/2.049, allocations: 4.875 kB / 0.9314 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2944/2.343, allocations: 10.8 MB / 0.942 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006487/2.35, allocations: 1.17 MB / 0.9431 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002617/2.352, allocations: 57.83 kB / 0.9432 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004928/2.357, allocations: 195.4 kB / 0.9434 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007542/2.358, allocations: 186.9 kB / 0.9435 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003118/2.358, allocations: 84.58 kB / 0.9436 GB, free: 111.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01252/2.371, allocations: 4.821 MB / 0.9483 GB, free: 111.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.52e-07/2.371, allocations: 0 / 0.9483 GB, free: 111.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01189/2.383, allocations: 1.815 MB / 0.9501 GB, free: 111.3 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 () * 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%) 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.001101/2.384, allocations: 211 kB / 0.9503 GB, free: 111.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01513/2.399, allocations: 8.774 MB / 0.9589 GB, free: 110.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/2.399, allocations: 3.062 kB / 0.9589 GB, free: 110.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004988/2.404, allocations: 3.196 MB / 0.962 GB, free: 110.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006612/2.411, allocations: 0.9138 MB / 0.9629 GB, free: 110.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04034/2.451, allocations: 20.6 MB / 0.983 GB, free: 102.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01552/2.467, allocations: 5.897 MB / 0.9888 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01093/2.478, allocations: 3.04 MB / 0.9917 GB, free: 101.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002195/2.48, allocations: 450.1 kB / 0.9922 GB, free: 101.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.282e-06/2.48, allocations: 0 / 0.9922 GB, free: 101.2 MB / 490.7 MB Notification: Performance of Templates: time 0.1281/2.608, allocations: 68 MB / 1.059 GB, free: 74.94 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1)