Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001009/0.001009, 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.144/1.144, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001542/0.001542, allocations: 99.52 kB / 223.2 MB, free: 4.055 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.2512/0.2512, allocations: 37.99 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.884e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09827/0.09832, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.453/0.5513, allocations: 96.98 MB / 0.4909 GB, free: 15.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.5517, allocations: 74.84 kB / 0.491 GB, free: 15.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2492/0.8008, allocations: 91.13 MB / 0.58 GB, free: 7.363 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.8009, allocations: 0 / 0.58 GB, free: 7.363 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001717/0.8011, allocations: 91.94 kB / 0.5801 GB, free: 7.273 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01155/0.8126, allocations: 4.149 MB / 0.5841 GB, free: 3.059 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.8127, allocations: 12.03 kB / 0.5841 GB, free: 3.047 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01783/0.8305, allocations: 4.432 MB / 0.5884 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/0.8429, allocations: 4.742 MB / 0.5931 GB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000508/0.8435, allocations: 349.2 kB / 0.5934 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001806/0.8453, allocations: 463.8 kB / 0.5938 GB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01756/0.8629, allocations: 10.56 MB / 0.6042 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001303/0.8631, allocations: 55.47 kB / 0.6042 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005977/0.8637, allocations: 219.9 kB / 0.6044 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001231/0.8649, allocations: 0.9916 MB / 0.6054 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/0.8798, allocations: 8.439 MB / 0.6136 GB, free: 3.688 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2449/1.125, allocations: 46.87 MB / 0.6594 GB, free: 54.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005054/1.13, allocations: 2.925 MB / 0.6623 GB, free: 53.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/1.132, allocations: 1.587 MB / 0.6638 GB, free: 53.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00034/1.132, allocations: 346 kB / 0.6641 GB, free: 53.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/1.132, allocations: 48.38 kB / 0.6642 GB, free: 53.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 4.338e-06/1.132, allocations: 0 / 0.6642 GB, free: 53.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=194): time 0.0208/1.153, allocations: 11.28 MB / 0.6752 GB, free: 50.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/1.153, allocations: 203.4 kB / 0.6754 GB, free: 50.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004821/1.158, allocations: 3.36 MB / 0.6787 GB, free: 49.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000368/1.158, allocations: 53.73 kB / 0.6787 GB, free: 49.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001636/1.16, allocations: 3.212 MB / 0.6819 GB, free: 48.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005958/1.16, allocations: 0.7435 MB / 0.6826 GB, free: 47.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/1.161, allocations: 119.4 kB / 0.6827 GB, free: 47.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002257/1.161, allocations: 0.5575 MB / 0.6832 GB, free: 47.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/1.163, allocations: 1.992 MB / 0.6852 GB, free: 47.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003544/1.167, allocations: 5.648 MB / 0.6907 GB, free: 41.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003636/1.17, allocations: 3.338 MB / 0.694 GB, free: 41.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.8e-05/1.17, allocations: 35.38 kB / 0.694 GB, free: 41.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.0104/1.181, allocations: 7.62 MB / 0.7014 GB, free: 38.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.705e-05/1.181, allocations: 58.78 kB / 0.7015 GB, free: 38.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/1.181, allocations: 134 kB / 0.7016 GB, free: 38.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007557/1.182, allocations: 385.2 kB / 0.702 GB, free: 38.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004279/1.186, allocations: 1.425 MB / 0.7034 GB, free: 38.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/1.189, allocations: 2.992 MB / 0.7063 GB, free: 36.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004144/1.193, allocations: 349.5 kB / 0.7066 GB, free: 36.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006843/1.194, allocations: 368 kB / 0.707 GB, free: 36.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (744): * Single equations (assignments): 740 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008007/1.195, allocations: 0.5618 MB / 0.7075 GB, free: 35.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000517/1.195, allocations: 339.9 kB / 0.7079 GB, free: 35.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003852/1.199, allocations: 2.625 MB / 0.7104 GB, free: 34.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.468e-05/1.199, allocations: 22.22 kB / 0.7104 GB, free: 34.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.199, allocations: 0 / 0.7104 GB, free: 34.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/1.199, allocations: 14.41 kB / 0.7105 GB, free: 34.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/1.211, allocations: 7.438 MB / 0.7177 GB, free: 31.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.211, allocations: 4 kB / 0.7177 GB, free: 31.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/1.213, allocations: 350.3 kB / 0.7181 GB, free: 31.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004785/1.213, allocations: 185.1 kB / 0.7182 GB, free: 31.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/1.213, allocations: 41.77 kB / 0.7183 GB, free: 31.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/1.216, allocations: 2.551 MB / 0.7208 GB, free: 29.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.216, allocations: 0 / 0.7208 GB, free: 29.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005662/1.221, allocations: 5.159 MB / 0.7258 GB, free: 27.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.223, allocations: 0.6243 MB / 0.7264 GB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004058/1.223, allocations: 34.94 kB / 0.7265 GB, free: 27.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.225, allocations: 117.9 kB / 0.7266 GB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/1.225, allocations: 130.8 kB / 0.7267 GB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/1.225, allocations: 51.36 kB / 0.7267 GB, free: 27.13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003445/1.229, allocations: 2.338 MB / 0.729 GB, free: 25.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.229, allocations: 3 kB / 0.729 GB, free: 25.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004526/1.233, allocations: 0.9917 MB / 0.73 GB, free: 24.31 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 160 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003774/1.234, allocations: 171.9 kB / 0.7302 GB, free: 24.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006426/1.24, allocations: 4.879 MB / 0.7349 GB, free: 19.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.24, allocations: 0 / 0.7349 GB, free: 19.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001937/1.242, allocations: 1.535 MB / 0.7364 GB, free: 18.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/1.244, allocations: 392.5 kB / 0.7368 GB, free: 18.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/1.26, allocations: 7.676 MB / 0.7443 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003678/1.264, allocations: 3.546 MB / 0.7478 GB, free: 8.457 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004819/1.268, allocations: 1.941 MB / 0.7496 GB, free: 7.227 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009097/1.269, allocations: 250 kB / 0.7499 GB, free: 6.996 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/1.269, allocations: 4 kB / 0.7499 GB, free: 6.992 MB / 426.7 MB Notification: Performance of Templates: time 0.2886/1.558, allocations: 32.61 MB / 0.7817 GB, free: 93.45 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1)