Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.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.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001537/0.001537, allocations: 169.8 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.254/1.254, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001662/0.001662, allocations: 106.8 kB / 223.2 MB, free: 4.047 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.1547/0.1547, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.805e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07934/0.07938, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3088/0.3883, allocations: 94.61 MB / 0.4886 GB, free: 16.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.3885, allocations: 70.75 kB / 0.4887 GB, free: 16.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3375/0.726, allocations: 128.7 MB / 0.6143 GB, free: 3.941 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.726, allocations: 0 / 0.6143 GB, free: 3.941 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005297/0.7266, allocations: 128 kB / 0.6145 GB, free: 3.816 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: 2316 * Number of variables: 2316 Notification: Performance of Generate backend data structure: time 0.4595/1.186, allocations: 6.543 MB / 0.6209 GB, free: 65.37 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.186, allocations: 9.703 kB / 0.6209 GB, free: 65.37 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03037/1.217, allocations: 7.12 MB / 0.6278 GB, free: 64.92 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01988/1.236, allocations: 7.384 MB / 0.635 GB, free: 64.5 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004499/1.237, allocations: 498.3 kB / 0.6355 GB, free: 64.48 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003127/1.24, allocations: 0.6352 MB / 0.6361 GB, free: 64.48 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03526/1.275, allocations: 16.16 MB / 0.6519 GB, free: 60.57 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003383/1.276, allocations: 91.11 kB / 0.652 GB, free: 60.57 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001939/1.278, allocations: 311.6 kB / 0.6523 GB, free: 60.57 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002168/1.28, allocations: 1.549 MB / 0.6538 GB, free: 60.55 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02488/1.305, allocations: 13.13 MB / 0.6666 GB, free: 60.48 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07885/1.384, allocations: 72.47 MB / 0.7374 GB, free: 25.81 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01774/1.401, allocations: 7.429 MB / 0.7447 GB, free: 22.62 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004089/1.406, allocations: 3.816 MB / 0.7484 GB, free: 19.13 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01513/1.421, allocations: 9.648 MB / 0.7578 GB, free: 11.05 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/1.421, allocations: 71.5 kB / 0.7579 GB, free: 10.98 MB / 442.8 MB Notification: Performance of pre-optimization done (n=273): time 5.26e-06/1.421, allocations: 0 / 0.7579 GB, free: 10.98 MB / 442.8 MB Notification: Performance of matching and sorting (n=315): time 0.07672/1.498, allocations: 27.92 MB / 0.7851 GB, free: 4.973 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/1.498, allocations: 239.9 kB / 0.7854 GB, free: 4.691 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2461/1.744, allocations: 6.016 MB / 0.7912 GB, free: 92.45 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007797/1.745, allocations: 72.08 kB / 0.7913 GB, free: 92.42 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0041/1.749, allocations: 4.686 MB / 0.7959 GB, free: 91.26 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001656/1.75, allocations: 1.189 MB / 0.797 GB, free: 90.58 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007047/1.751, allocations: 176.8 kB / 0.7972 GB, free: 90.58 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0004422/1.752, allocations: 0.6817 MB / 0.7979 GB, free: 90.25 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006019/1.758, allocations: 3.478 MB / 0.8013 GB, free: 90.23 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009239/1.767, allocations: 8.609 MB / 0.8097 GB, free: 83.65 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/1.777, allocations: 5.419 MB / 0.815 GB, free: 83.61 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002534/1.777, allocations: 57.42 kB / 0.815 GB, free: 83.61 MB / 458.8 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.02727/1.805, allocations: 13.36 MB / 0.8281 GB, free: 82.77 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/1.805, allocations: 81.59 kB / 0.8282 GB, free: 82.77 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002005/1.805, allocations: 182.8 kB / 0.8283 GB, free: 82.77 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003817/1.809, allocations: 1.677 MB / 0.83 GB, free: 82.75 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00756/1.817, allocations: 2.107 MB / 0.832 GB, free: 82.57 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/1.829, allocations: 11.21 MB / 0.843 GB, free: 79.72 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01026/1.84, allocations: 0.5255 MB / 0.8435 GB, free: 79.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002469/1.842, allocations: 0.5284 MB / 0.844 GB, free: 79.7 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1084): * Single equations (assignments): 1079 * 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 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003097/1.845, allocations: 0.7762 MB / 0.8448 GB, free: 79.3 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001619/1.847, allocations: 0.5865 MB / 0.8453 GB, free: 78.98 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/1.859, allocations: 6.738 MB / 0.8519 GB, free: 76.64 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-05/1.859, allocations: 33.22 kB / 0.8519 GB, free: 76.64 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/1.859, allocations: 11.12 kB / 0.852 GB, free: 76.64 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.229e-05/1.859, allocations: 21.23 kB / 0.852 GB, free: 76.64 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02779/1.887, allocations: 15.13 MB / 0.8667 GB, free: 71.28 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-05/1.887, allocations: 9.5 kB / 0.8668 GB, free: 71.28 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003098/1.89, allocations: 0.5847 MB / 0.8673 GB, free: 71.24 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003615/1.894, allocations: 1.399 MB / 0.8687 GB, free: 70.96 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007596/1.895, allocations: 58.81 kB / 0.8687 GB, free: 70.93 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/1.907, allocations: 10.42 MB / 0.8789 GB, free: 65.35 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/1.907, allocations: 7.906 kB / 0.8789 GB, free: 65.34 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/1.923, allocations: 11.82 MB / 0.8905 GB, free: 59.94 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005023/1.928, allocations: 1.151 MB / 0.8916 GB, free: 59.26 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001672/1.93, allocations: 52 kB / 0.8916 GB, free: 59.21 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00304/1.933, allocations: 220.3 kB / 0.8919 GB, free: 59.07 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005086/1.933, allocations: 189.1 kB / 0.892 GB, free: 58.95 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002312/1.934, allocations: 83.52 kB / 0.8921 GB, free: 58.88 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.007015/1.941, allocations: 4.296 MB / 0.8963 GB, free: 55.1 MB / 458.8 MB Notification: Performance of sort global known variables: time 7.72e-07/1.941, allocations: 0 / 0.8963 GB, free: 55.1 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.009546/1.95, allocations: 1.627 MB / 0.8979 GB, free: 53.48 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 255 * 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 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007483/1.951, allocations: 215.6 kB / 0.8981 GB, free: 53.27 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01227/1.963, allocations: 8.621 MB / 0.9065 GB, free: 45.47 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.963, allocations: 0 / 0.9065 GB, free: 45.47 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005242/1.969, allocations: 3.419 MB / 0.9099 GB, free: 42.42 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004657/1.973, allocations: 0.6981 MB / 0.9105 GB, free: 41.82 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02315/1.997, allocations: 13.02 MB / 0.9233 GB, free: 30.17 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005854/2.002, allocations: 4.93 MB / 0.9281 GB, free: 26.54 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.007748/2.01, allocations: 2.96 MB / 0.931 GB, free: 24.63 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/2.012, allocations: 409.4 kB / 0.9314 GB, free: 24.25 MB / 458.8 MB Notification: Performance of SimCode: time 1.042e-06/2.012, allocations: 0 / 0.9314 GB, free: 24.25 MB / 458.8 MB Notification: Performance of Templates: time 0.3517/2.364, allocations: 63.11 MB / 0.993 GB, free: 75.12 MB / 458.8 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1)