Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01194/0.01194, allocations: 173.5 kB / 15.12 MB, free: 5.969 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.677/1.677, allocations: 194.5 MB / 210.3 MB, free: 7.625 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.00175/0.00175, allocations: 128.5 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2044/0.2044, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003857, allocations: 10.72 kB / 406.2 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.107, allocations: 54.88 MB / 461 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4205/0.5275, allocations: 103.9 MB / 0.5517 GB, free: 21.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.5278, allocations: 79.95 kB / 0.5518 GB, free: 21.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2845/0.8124, allocations: 91.03 MB / 0.6407 GB, free: 2.852 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.8124, allocations: 0 / 0.6407 GB, free: 2.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002765/0.8127, allocations: 83.98 kB / 0.6407 GB, free: 2.77 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1642 * Number of variables: 1642 Notification: Performance of Generate backend data structure: time 0.0198/0.8326, allocations: 4.4 MB / 0.645 GB, free: 14.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.8326, allocations: 8.031 kB / 0.645 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02933/0.862, allocations: 4.424 MB / 0.6494 GB, free: 9.852 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01997/0.882, allocations: 4.761 MB / 0.654 GB, free: 5.023 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004125/0.8824, allocations: 353.2 kB / 0.6543 GB, free: 4.676 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002461/0.8849, allocations: 459.8 kB / 0.6548 GB, free: 4.227 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02672/0.9116, allocations: 10.68 MB / 0.6652 GB, free: 8.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000337/0.912, allocations: 63.41 kB / 0.6653 GB, free: 8.457 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002157/0.9142, allocations: 219.9 kB / 0.6655 GB, free: 8.242 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001694/0.9159, allocations: 0.9877 MB / 0.6664 GB, free: 7.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01848/0.9344, allocations: 8.664 MB / 0.6749 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3044/1.239, allocations: 46.88 MB / 0.7207 GB, free: 106.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006283/1.245, allocations: 3.006 MB / 0.7236 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000449/1.246, allocations: 339.3 kB / 0.7239 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/1.246, allocations: 56.83 kB / 0.724 GB, free: 105.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 5.019e-06/1.246, allocations: 0 / 0.724 GB, free: 105.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=194): time 0.03969/1.285, allocations: 13.88 MB / 0.7376 GB, free: 102.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/1.286, allocations: 210.6 kB / 0.7378 GB, free: 102.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005143/1.291, allocations: 3.377 MB / 0.7411 GB, free: 102.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004297/1.291, allocations: 57.58 kB / 0.7411 GB, free: 102.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001725/1.293, allocations: 3.218 MB / 0.7443 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009338/1.294, allocations: 0.7363 MB / 0.745 GB, free: 100.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/1.294, allocations: 117.3 kB / 0.7451 GB, free: 100.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002704/1.294, allocations: 0.5603 MB / 0.7456 GB, free: 99.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002877/1.297, allocations: 2.122 MB / 0.7477 GB, free: 99.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004311/1.302, allocations: 5.763 MB / 0.7533 GB, free: 95.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004581/1.306, allocations: 3.422 MB / 0.7567 GB, free: 95.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-05/1.306, allocations: 36.69 kB / 0.7567 GB, free: 95.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01276/1.319, allocations: 7.876 MB / 0.7644 GB, free: 94.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.894e-05/1.319, allocations: 61.72 kB / 0.7645 GB, free: 94.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001483/1.319, allocations: 130.8 kB / 0.7646 GB, free: 94.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007335/1.32, allocations: 390.1 kB / 0.765 GB, free: 94.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004659/1.325, allocations: 1.428 MB / 0.7663 GB, free: 94.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/1.328, allocations: 3.038 MB / 0.7693 GB, free: 93.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005379/1.333, allocations: 350.1 kB / 0.7697 GB, free: 93.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001438/1.335, allocations: 372.3 kB / 0.77 GB, free: 93.12 MB / 490.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 () * Number of clocked 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.00641/1.341, allocations: 2.223 MB / 0.7722 GB, free: 92.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.342, allocations: 339.2 kB / 0.7725 GB, free: 92.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006178/1.349, allocations: 2.827 MB / 0.7753 GB, free: 92.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.173e-05/1.349, allocations: 23 kB / 0.7753 GB, free: 92.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.631e-05/1.349, allocations: 3.344 kB / 0.7753 GB, free: 92.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-05/1.349, allocations: 11.28 kB / 0.7753 GB, free: 92.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01829/1.367, allocations: 7.633 MB / 0.7828 GB, free: 89.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/1.367, allocations: 3.25 kB / 0.7828 GB, free: 89.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/1.369, allocations: 350.3 kB / 0.7831 GB, free: 89.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005149/1.369, allocations: 181.4 kB / 0.7833 GB, free: 89.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/1.369, allocations: 35.16 kB / 0.7833 GB, free: 89.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/1.372, allocations: 2.61 MB / 0.7858 GB, free: 87.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.372, allocations: 3.938 kB / 0.7858 GB, free: 87.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007214/1.379, allocations: 5.452 MB / 0.7912 GB, free: 85.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001883/1.381, allocations: 0.626 MB / 0.7918 GB, free: 84.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00085/1.382, allocations: 31.06 kB / 0.7918 GB, free: 84.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/1.384, allocations: 123.2 kB / 0.7919 GB, free: 84.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/1.384, allocations: 128 kB / 0.7921 GB, free: 84.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/1.384, allocations: 55.12 kB / 0.7921 GB, free: 84.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003545/1.388, allocations: 2.354 MB / 0.7944 GB, free: 84 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.388, allocations: 0 / 0.7944 GB, free: 84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005339/1.393, allocations: 0.9835 MB / 0.7954 GB, free: 83.88 MB / 490.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 () * Number of clocked 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.0004602/1.393, allocations: 167.6 kB / 0.7955 GB, free: 83.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008506/1.402, allocations: 5.11 MB / 0.8005 GB, free: 82.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.402, allocations: 0 / 0.8005 GB, free: 82.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002321/1.404, allocations: 1.641 MB / 0.8021 GB, free: 81.42 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/1.407, allocations: 379.2 kB / 0.8025 GB, free: 81.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/1.427, allocations: 11.17 MB / 0.8134 GB, free: 73.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006845/1.434, allocations: 3.536 MB / 0.8168 GB, free: 71.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00559/1.44, allocations: 1.946 MB / 0.8187 GB, free: 69.81 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008542/1.441, allocations: 253 kB / 0.819 GB, free: 69.58 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/1.441, allocations: 0 / 0.819 GB, free: 69.58 MB / 490.7 MB Notification: Performance of Templates: time 0.06171/1.503, allocations: 32.48 MB / 0.8507 GB, free: 48.14 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1)