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.001698/0.001698, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.524/1.524, allocations: 194.3 MB / 202.4 MB, free: 8.539 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.00217/0.00217, allocations: 110.8 kB / 247.4 MB, free: 6.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1947/0.1947, allocations: 39.95 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.352e-05/1.354e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 54.88 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3967/0.5124, allocations: 103.1 MB / 0.5384 GB, free: 13.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.5126, allocations: 79.02 kB / 0.5385 GB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2391/0.7518, allocations: 89.16 MB / 0.6255 GB, free: 11.72 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.7519, allocations: 0 / 0.6255 GB, free: 11.72 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003061/0.7522, allocations: 84 kB / 0.6256 GB, free: 11.64 MB / 442.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.01658/0.7688, allocations: 4.14 MB / 0.6297 GB, free: 7.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.7688, allocations: 8.031 kB / 0.6297 GB, free: 7.422 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01929/0.7881, allocations: 4.436 MB / 0.634 GB, free: 2.973 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01424/0.8024, allocations: 4.73 MB / 0.6386 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/0.8028, allocations: 148 kB / 0.6388 GB, free: 14.03 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002715/0.8056, allocations: 271.9 kB / 0.639 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01401/0.8196, allocations: 6.304 MB / 0.6452 GB, free: 7.453 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02368/0.8433, allocations: 9.714 MB / 0.6547 GB, free: 12.71 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001852/0.8435, allocations: 59.41 kB / 0.6547 GB, free: 12.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000699/0.8442, allocations: 32 kB / 0.6548 GB, free: 12.62 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001379/0.8456, allocations: 0.9954 MB / 0.6557 GB, free: 11.63 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3144/1.16, allocations: 44.73 MB / 0.6994 GB, free: 81.78 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003589/1.164, allocations: 2.706 MB / 0.7021 GB, free: 81.12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/1.165, allocations: 1.539 MB / 0.7036 GB, free: 81.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003875/1.166, allocations: 335.4 kB / 0.7039 GB, free: 80.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/1.166, allocations: 56.28 kB / 0.7039 GB, free: 80.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=176): time 3.997e-06/1.166, allocations: 0 / 0.7039 GB, free: 80.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=194): time 0.02069/1.187, allocations: 12.36 MB / 0.716 GB, free: 77.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/1.187, allocations: 199.5 kB / 0.7162 GB, free: 77.58 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003914/1.191, allocations: 2.958 MB / 0.7191 GB, free: 77.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002544/1.191, allocations: 25.7 kB / 0.7191 GB, free: 77.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001609/1.192, allocations: 3.283 MB / 0.7223 GB, free: 75.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006434/1.193, allocations: 0.7247 MB / 0.723 GB, free: 75.17 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/1.193, allocations: 3.938 kB / 0.723 GB, free: 75.17 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002617/1.194, allocations: 0.561 MB / 0.7236 GB, free: 74.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/1.196, allocations: 1.934 MB / 0.7255 GB, free: 74.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003926/1.2, allocations: 5.774 MB / 0.7311 GB, free: 69.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003907/1.204, allocations: 3.309 MB / 0.7343 GB, free: 69.37 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-05/1.204, allocations: 40.16 kB / 0.7344 GB, free: 69.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.01006/1.214, allocations: 7.027 MB / 0.7412 GB, free: 67.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.804e-05/1.214, allocations: 67.88 kB / 0.7413 GB, free: 67.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001406/1.214, allocations: 138.3 kB / 0.7414 GB, free: 67.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006872/1.215, allocations: 389 kB / 0.7418 GB, free: 67.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004356/1.219, allocations: 1.491 MB / 0.7433 GB, free: 67.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/1.222, allocations: 2.907 MB / 0.7461 GB, free: 65.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00548/1.227, allocations: 239.9 kB / 0.7463 GB, free: 65.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001221/1.229, allocations: 385 kB / 0.7467 GB, free: 65.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * 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 (780): * Single equations (assignments): 776 * 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.001084/1.23, allocations: 446.5 kB / 0.7471 GB, free: 64.65 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006352/1.23, allocations: 314.5 kB / 0.7474 GB, free: 64.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003546/1.234, allocations: 2.492 MB / 0.7498 GB, free: 63.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.86e-05/1.234, allocations: 25.36 kB / 0.7499 GB, free: 63.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.234, allocations: 4.5 kB / 0.7499 GB, free: 63.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/1.234, allocations: 7.125 kB / 0.7499 GB, free: 63.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/1.245, allocations: 6.525 MB / 0.7563 GB, free: 61.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/1.245, allocations: 4 kB / 0.7563 GB, free: 61.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/1.246, allocations: 344.7 kB / 0.7566 GB, free: 61.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/1.247, allocations: 191.2 kB / 0.7568 GB, free: 61.08 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/1.247, allocations: 14.06 kB / 0.7568 GB, free: 61.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/1.249, allocations: 2.449 MB / 0.7592 GB, free: 59.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.249, allocations: 0 / 0.7592 GB, free: 59.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005927/1.255, allocations: 5.016 MB / 0.7641 GB, free: 57.11 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/1.256, allocations: 0.5929 MB / 0.7647 GB, free: 56.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003268/1.256, allocations: 3.953 kB / 0.7647 GB, free: 56.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.258, allocations: 95.22 kB / 0.7647 GB, free: 56.74 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/1.258, allocations: 123 kB / 0.7649 GB, free: 56.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/1.258, allocations: 58.11 kB / 0.7649 GB, free: 56.71 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002699/1.261, allocations: 1.967 MB / 0.7668 GB, free: 55.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.261, allocations: 4 kB / 0.7668 GB, free: 55.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005024/1.266, allocations: 0.8487 MB / 0.7677 GB, free: 55.98 MB / 474.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.0003969/1.266, allocations: 141.6 kB / 0.7678 GB, free: 55.87 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007636/1.274, allocations: 4.67 MB / 0.7724 GB, free: 52.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/1.274, allocations: 0 / 0.7724 GB, free: 52.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002882/1.277, allocations: 1.48 MB / 0.7738 GB, free: 51.38 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/1.28, allocations: 307.7 kB / 0.7741 GB, free: 51.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/1.298, allocations: 7.596 MB / 0.7815 GB, free: 44.35 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004902/1.303, allocations: 3.534 MB / 0.785 GB, free: 41.66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007255/1.311, allocations: 2.007 MB / 0.7869 GB, free: 40.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/1.312, allocations: 241.1 kB / 0.7872 GB, free: 40.17 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/1.312, allocations: 0 / 0.7872 GB, free: 40.17 MB / 474.7 MB Notification: Performance of Templates: time 0.05675/1.369, allocations: 28.54 MB / 0.815 GB, free: 19.98 MB / 474.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)