Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01039/0.0104, allocations: 175.1 kB / 15.12 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.924/1.924, allocations: 194.5 MB / 210.3 MB, free: 7.805 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002027/0.002027, allocations: 120.6 kB / 255.6 MB, free: 10.42 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2501/0.2501, allocations: 40.01 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004862, allocations: 11.69 kB / 406.3 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1015, allocations: 54.87 MB / 461.1 MB, free: 3.254 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5112/0.6128, allocations: 103.9 MB / 0.5518 GB, free: 21.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.6132, allocations: 77.56 kB / 0.5519 GB, free: 21.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3936/1.007, allocations: 91.05 MB / 0.6408 GB, free: 2.809 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.065e-06/1.007, allocations: 0 / 0.6408 GB, free: 2.809 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002815/1.007, allocations: 88 kB / 0.6409 GB, free: 2.723 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.01907/1.026, allocations: 4.385 MB / 0.6451 GB, free: 14.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/1.026, allocations: 8.031 kB / 0.6451 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004221/1.031, allocations: 0.836 MB / 0.646 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03479/1.065, allocations: 4.424 MB / 0.6503 GB, free: 8.973 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01995/1.085, allocations: 4.761 MB / 0.6549 GB, free: 4.145 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005917/1.086, allocations: 349.2 kB / 0.6553 GB, free: 3.801 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002873/1.089, allocations: 463.8 kB / 0.6557 GB, free: 3.348 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03438/1.123, allocations: 10.67 MB / 0.6661 GB, free: 7.648 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003668/1.124, allocations: 67.39 kB / 0.6662 GB, free: 7.582 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002469/1.126, allocations: 223.8 kB / 0.6664 GB, free: 7.363 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002494/1.129, allocations: 0.9838 MB / 0.6674 GB, free: 6.375 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02722/1.156, allocations: 8.668 MB / 0.6758 GB, free: 13.68 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4223/1.578, allocations: 46.87 MB / 0.7216 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/1.589, allocations: 3.006 MB / 0.7245 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006518/1.589, allocations: 338.2 kB / 0.7249 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/1.59, allocations: 56.44 kB / 0.7249 GB, free: 103.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 7.664e-06/1.59, allocations: 0.6094 kB / 0.7249 GB, free: 103.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=194): time 0.05775/1.647, allocations: 13.89 MB / 0.7385 GB, free: 100.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.41e-05/1.647, allocations: 201.7 kB / 0.7387 GB, free: 100.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008507/1.656, allocations: 3.378 MB / 0.742 GB, free: 100.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004949/1.657, allocations: 49.48 kB / 0.742 GB, free: 100.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003057/1.66, allocations: 3.222 MB / 0.7452 GB, free: 98.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001197/1.661, allocations: 0.741 MB / 0.7459 GB, free: 98.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000951/1.662, allocations: 117.4 kB / 0.746 GB, free: 98.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006247/1.662, allocations: 0.5531 MB / 0.7465 GB, free: 98.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006047/1.669, allocations: 2.124 MB / 0.7486 GB, free: 98.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009117/1.678, allocations: 5.774 MB / 0.7543 GB, free: 93.31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008799/1.687, allocations: 3.411 MB / 0.7576 GB, free: 93.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001618/1.687, allocations: 39.22 kB / 0.7576 GB, free: 93.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02204/1.709, allocations: 7.874 MB / 0.7653 GB, free: 92.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/1.709, allocations: 63.53 kB / 0.7654 GB, free: 92.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002174/1.709, allocations: 132.2 kB / 0.7655 GB, free: 92.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/1.711, allocations: 389.6 kB / 0.7659 GB, free: 92.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009046/1.72, allocations: 1.424 MB / 0.7673 GB, free: 92.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005105/1.725, allocations: 3.048 MB / 0.7702 GB, free: 91.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006863/1.732, allocations: 348 kB / 0.7706 GB, free: 91.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/1.733, allocations: 370.7 kB / 0.7709 GB, free: 91.34 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.006148/1.74, allocations: 2.223 MB / 0.7731 GB, free: 91.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009324/1.74, allocations: 341.4 kB / 0.7734 GB, free: 90.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009258/1.75, allocations: 2.815 MB / 0.7762 GB, free: 90.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.935e-05/1.75, allocations: 20.88 kB / 0.7762 GB, free: 90.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/1.75, allocations: 3.75 kB / 0.7762 GB, free: 90.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.562e-05/1.75, allocations: 14.53 kB / 0.7762 GB, free: 90.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0248/1.775, allocations: 7.649 MB / 0.7837 GB, free: 88.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/1.775, allocations: 0 / 0.7837 GB, free: 88.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003471/1.778, allocations: 351.4 kB / 0.784 GB, free: 88.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009378/1.779, allocations: 183.2 kB / 0.7842 GB, free: 88.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000459/1.78, allocations: 37.48 kB / 0.7842 GB, free: 88.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004262/1.784, allocations: 2.602 MB / 0.7868 GB, free: 86.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.784, allocations: 0 / 0.7868 GB, free: 86.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.798, allocations: 5.457 MB / 0.7921 GB, free: 84.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/1.801, allocations: 0.6274 MB / 0.7927 GB, free: 83.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/1.802, allocations: 32.8 kB / 0.7927 GB, free: 83.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003067/1.805, allocations: 119.3 kB / 0.7928 GB, free: 83.65 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000696/1.806, allocations: 129.8 kB / 0.793 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002272/1.806, allocations: 53.48 kB / 0.793 GB, free: 83.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005947/1.812, allocations: 2.355 MB / 0.7953 GB, free: 82.83 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.273e-06/1.812, allocations: 0 / 0.7953 GB, free: 82.83 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007162/1.819, allocations: 0.9903 MB / 0.7963 GB, free: 82.71 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.01432/1.833, allocations: 6.269 MB / 0.8024 GB, free: 79.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01273/1.846, allocations: 5.1 MB / 0.8074 GB, free: 78.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.846, allocations: 3.875 kB / 0.8074 GB, free: 78.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004106/1.85, allocations: 1.633 MB / 0.809 GB, free: 76.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00327/1.854, allocations: 384.3 kB / 0.8094 GB, free: 76.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4617/2.315, allocations: 122.3 MB / 0.9288 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008983/2.324, allocations: 3.546 MB / 0.9322 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01012/2.335, allocations: 1.939 MB / 0.9341 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005663/2.34, allocations: 1.995 MB / 0.9361 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.412e-06/2.34, allocations: 0 / 0.9361 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1851/2.526, allocations: 74.36 MB / 1.009 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/2.526, allocations: 204 kB / 1.009 GB, free: 93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.366/7.892, allocations: 8 kB / 1.009 GB, free: 92.99 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat