Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004934/0.004934, allocations: 166.7 kB / 15.11 MB, free: 5.969 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.189/1.189, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001982/0.001982, allocations: 114.6 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.3883/0.3883, allocations: 38.05 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003813, allocations: 12 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.108, allocations: 48.69 MB / 411.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3816/0.4897, allocations: 92.79 MB / 0.4925 GB, free: 11.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.4899, allocations: 74.59 kB / 0.4926 GB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6317/1.122, allocations: 136.8 MB / 0.6262 GB, free: 70.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/1.122, allocations: 9.375 kB / 0.6262 GB, free: 70.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004302/1.122, allocations: 137.9 kB / 0.6264 GB, free: 70.75 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: 2364 * Number of variables: 2364 Notification: Performance of Generate backend data structure: time 0.0313/1.153, allocations: 7.255 MB / 0.6334 GB, free: 67.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.154, allocations: 8.375 kB / 0.6335 GB, free: 67.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03667/1.19, allocations: 9.487 MB / 0.6427 GB, free: 67.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02479/1.215, allocations: 8.754 MB / 0.6513 GB, free: 66.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004967/1.216, allocations: 0.5065 MB / 0.6518 GB, free: 66.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003732/1.219, allocations: 0.6812 MB / 0.6524 GB, free: 66.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03503/1.254, allocations: 16.09 MB / 0.6681 GB, free: 59.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003819/1.255, allocations: 99.02 kB / 0.6682 GB, free: 59.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001468/1.256, allocations: 333.6 kB / 0.6686 GB, free: 58.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00175/1.258, allocations: 1.454 MB / 0.67 GB, free: 58.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02651/1.285, allocations: 12.85 MB / 0.6825 GB, free: 54.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08332/1.368, allocations: 70.67 MB / 0.7515 GB, free: 3.723 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3348/1.703, allocations: 5.892 MB / 0.7573 GB, free: 79.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000334/1.703, allocations: 47.84 kB / 0.7573 GB, free: 79.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.304e-05/1.703, allocations: 60.42 kB / 0.7574 GB, free: 78.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=242): time 7.474e-06/1.703, allocations: 0 / 0.7574 GB, free: 78.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=260): time 0.05824/1.762, allocations: 22.48 MB / 0.7794 GB, free: 73.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/1.762, allocations: 270.1 kB / 0.7796 GB, free: 73.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01518/1.777, allocations: 6.151 MB / 0.7856 GB, free: 73.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008782/1.778, allocations: 63.52 kB / 0.7857 GB, free: 73.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004973/1.783, allocations: 4.863 MB / 0.7904 GB, free: 70.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002146/1.785, allocations: 0.9996 MB / 0.7914 GB, free: 70.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00083/1.786, allocations: 168.7 kB / 0.7916 GB, free: 70.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006655/1.786, allocations: 0.6585 MB / 0.7922 GB, free: 69.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005816/1.792, allocations: 2.869 MB / 0.795 GB, free: 69.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/1.803, allocations: 7.988 MB / 0.8028 GB, free: 63.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/1.813, allocations: 4.685 MB / 0.8074 GB, free: 62.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000297/1.813, allocations: 54.19 kB / 0.8074 GB, free: 62.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=1096) (initialization): time 0.02663/1.84, allocations: 11.21 MB / 0.8184 GB, free: 58.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004709/1.841, allocations: 90.19 kB / 0.8185 GB, free: 58.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005863/1.841, allocations: 181.1 kB / 0.8186 GB, free: 58.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002412/1.844, allocations: 0.8091 MB / 0.8194 GB, free: 58.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008178/1.852, allocations: 1.927 MB / 0.8213 GB, free: 57.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/1.862, allocations: 8.459 MB / 0.8296 GB, free: 51.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/1.872, allocations: 454.7 kB / 0.83 GB, free: 51.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002342/1.875, allocations: 0.5054 MB / 0.8305 GB, free: 51.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 (1033): * Single equations (assignments): 1027 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01077/1.886, allocations: 3.215 MB / 0.8336 GB, free: 50.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002592/1.888, allocations: 0.5851 MB / 0.8342 GB, free: 49.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/1.9, allocations: 4.332 MB / 0.8384 GB, free: 48.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.518e-05/1.9, allocations: 27.69 kB / 0.8385 GB, free: 48.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.872e-05/1.9, allocations: 11.11 kB / 0.8385 GB, free: 48.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.305e-05/1.9, allocations: 13.75 kB / 0.8385 GB, free: 48.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03454/1.935, allocations: 11.24 MB / 0.8495 GB, free: 44.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/1.935, allocations: 0 / 0.8495 GB, free: 44.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/1.937, allocations: 420.8 kB / 0.8499 GB, free: 44.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/1.939, allocations: 0.498 MB / 0.8504 GB, free: 43.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000253/1.939, allocations: 45.62 kB / 0.8504 GB, free: 43.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007513/1.946, allocations: 7.54 MB / 0.8578 GB, free: 38.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.946, allocations: 0 / 0.8578 GB, free: 38.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/1.959, allocations: 7.742 MB / 0.8653 GB, free: 34.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004352/1.963, allocations: 0.9927 MB / 0.8663 GB, free: 34.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002902/1.966, allocations: 44.97 kB / 0.8663 GB, free: 34.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004789/1.971, allocations: 140.7 kB / 0.8665 GB, free: 34.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006409/1.972, allocations: 148.2 kB / 0.8666 GB, free: 34.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003338/1.972, allocations: 70.8 kB / 0.8667 GB, free: 34.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01249/1.985, allocations: 4.396 MB / 0.871 GB, free: 31.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.985, allocations: 0 / 0.871 GB, free: 31.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01295/1.998, allocations: 1.518 MB / 0.8725 GB, free: 30.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.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 (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.001231/1.999, allocations: 185.3 kB / 0.8726 GB, free: 30.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01335/2.012, allocations: 7.234 MB / 0.8797 GB, free: 23.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/2.012, allocations: 0 / 0.8797 GB, free: 23.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004018/2.016, allocations: 2.451 MB / 0.8821 GB, free: 21.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007355/2.024, allocations: 0.7613 MB / 0.8828 GB, free: 20.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04083/2.065, allocations: 17.07 MB / 0.8995 GB, free: 5.359 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01038/2.075, allocations: 5.034 MB / 0.9044 GB, free: 1.672 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00844/2.083, allocations: 2.803 MB / 0.9072 GB, free: 0 / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002545/2.086, allocations: 482.8 kB / 0.9076 GB, free: 15.82 MB / 458.7 MB Notification: Performance of SimCode: time 1.653e-06/2.086, allocations: 4 kB / 0.9076 GB, free: 15.81 MB / 458.7 MB Notification: Performance of Templates: time 0.4201/2.506, allocations: 54.61 MB / 0.961 GB, free: 78.17 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)