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.01539/0.01539, allocations: 176.3 kB / 15.13 MB, free: 5.949 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 2.074/2.074, allocations: 194.5 MB / 210.3 MB, free: 7.602 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.001827/0.001826, allocations: 108.1 kB / 255.6 MB, free: 10.22 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.277/0.277, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005038, allocations: 15.38 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1078, allocations: 54.88 MB / 461.2 MB, free: 3.176 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.07135/0.1793, allocations: 46.18 MB / 0.4954 GB, free: 4.859 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03074/0.2101, allocations: 10.22 MB / 0.5054 GB, free: 10.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009178/0.2193, allocations: 203.6 kB / 0.5056 GB, free: 10.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007942/0.2273, allocations: 2.24 MB / 0.5078 GB, free: 8.164 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02677/0.2541, allocations: 7.8 MB / 0.5154 GB, free: 344 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004348/0.2585, allocations: 0.6047 MB / 0.516 GB, free: 15.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03429/0.2929, allocations: 15.7 MB / 0.5313 GB, free: 0 / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009933/0.6273, allocations: 4.362 MB / 0.5356 GB, free: 16.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003948/0.6313, allocations: 1.228 MB / 0.5368 GB, free: 16.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005327/0.6367, allocations: 2.032 MB / 0.5388 GB, free: 16.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.638, allocations: 159.2 kB / 0.5389 GB, free: 16.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004076/0.6421, allocations: 0.9928 MB / 0.5399 GB, free: 16.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003776/0.646, allocations: 1.775 MB / 0.5416 GB, free: 16.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002391/0.6484, allocations: 0.8842 MB / 0.5425 GB, free: 16.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.6594, allocations: 6.233 MB / 0.5486 GB, free: 15.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.6594, allocations: 0 / 0.5486 GB, free: 15.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.6595, allocations: 0 / 0.5486 GB, free: 15.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003406/0.6598, allocations: 0 / 0.5486 GB, free: 15.79 MB / 378.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.01822/0.678, allocations: 4.249 MB / 0.5527 GB, free: 13.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.6781, allocations: 8.281 kB / 0.5527 GB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00348/0.6816, allocations: 0.7776 MB / 0.5535 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1766/0.8582, allocations: 7.321 MB / 0.5607 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/0.8692, allocations: 3.056 MB / 0.5636 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003002/0.8696, allocations: 258.6 kB / 0.5639 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002234/0.8718, allocations: 328.5 kB / 0.5642 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02674/0.8986, allocations: 10.39 MB / 0.5743 GB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001955/0.8988, allocations: 43.41 kB / 0.5744 GB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00142/0.9003, allocations: 162.5 kB / 0.5745 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005119/0.9054, allocations: 2.033 MB / 0.5765 GB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02457/0.93, allocations: 8.587 MB / 0.5849 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09102/1.021, allocations: 38.35 MB / 0.6224 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01461/1.036, allocations: 3.01 MB / 0.6253 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006096/1.042, allocations: 1.682 MB / 0.627 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008676/1.043, allocations: 345.4 kB / 0.6273 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.102e-05/1.043, allocations: 49.78 kB / 0.6273 GB, free: 10.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 7.454e-06/1.043, allocations: 0 / 0.6273 GB, free: 10.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=194): time 0.09171/1.135, allocations: 14.17 MB / 0.6412 GB, free: 12.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/1.135, allocations: 201.2 kB / 0.6414 GB, free: 12.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00945/1.144, allocations: 3.805 MB / 0.6451 GB, free: 8.219 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005718/1.145, allocations: 53.7 kB / 0.6451 GB, free: 8.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003942/1.149, allocations: 3.203 MB / 0.6482 GB, free: 4.969 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001496/1.151, allocations: 0.7319 MB / 0.649 GB, free: 4.242 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008236/1.151, allocations: 120 kB / 0.6491 GB, free: 4.125 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005486/1.152, allocations: 0.5542 MB / 0.6496 GB, free: 3.562 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006992/1.159, allocations: 2.147 MB / 0.6517 GB, free: 1.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01136/1.17, allocations: 5.811 MB / 0.6574 GB, free: 9.828 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009962/1.18, allocations: 3.448 MB / 0.6608 GB, free: 6.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/1.181, allocations: 36 kB / 0.6608 GB, free: 6.465 MB / 458.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02578/1.206, allocations: 7.958 MB / 0.6686 GB, free: 15.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/1.207, allocations: 60.22 kB / 0.6686 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002455/1.207, allocations: 134.7 kB / 0.6687 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/1.209, allocations: 456 kB / 0.6692 GB, free: 14.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009817/1.219, allocations: 1.424 MB / 0.6706 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006717/1.226, allocations: 3.354 MB / 0.6738 GB, free: 9.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00706/1.233, allocations: 359.6 kB / 0.6742 GB, free: 9.559 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001603/1.234, allocations: 370.5 kB / 0.6745 GB, free: 9.199 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * 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 (742): * Single equations (assignments): 738 * 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.007334/1.242, allocations: 2.233 MB / 0.6767 GB, free: 6.988 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.243, allocations: 339.5 kB / 0.677 GB, free: 6.652 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/1.253, allocations: 2.921 MB / 0.6799 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.377e-05/1.253, allocations: 20 kB / 0.6799 GB, free: 3.691 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/1.253, allocations: 4 kB / 0.6799 GB, free: 3.688 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.675e-05/1.253, allocations: 11.97 kB / 0.6799 GB, free: 3.676 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02709/1.28, allocations: 7.825 MB / 0.6876 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/1.28, allocations: 0 / 0.6876 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003721/1.284, allocations: 355.5 kB / 0.6879 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/1.285, allocations: 250.5 kB / 0.6882 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004501/1.286, allocations: 39.98 kB / 0.6882 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005739/1.292, allocations: 2.915 MB / 0.691 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.292, allocations: 0 / 0.691 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/1.309, allocations: 5.531 MB / 0.6964 GB, free: 2.602 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003109/1.312, allocations: 0.637 MB / 0.6971 GB, free: 1.941 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/1.313, allocations: 28 kB / 0.6971 GB, free: 1.914 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00362/1.317, allocations: 133.6 kB / 0.6972 GB, free: 1.785 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008677/1.318, allocations: 129.1 kB / 0.6973 GB, free: 1.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/1.318, allocations: 55.66 kB / 0.6974 GB, free: 1.609 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007081/1.325, allocations: 2.369 MB / 0.6997 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.102e-06/1.325, allocations: 4 kB / 0.6997 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007786/1.333, allocations: 0.9844 MB / 0.7007 GB, free: 14.27 MB / 0.4948 GB 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.01795/1.351, allocations: 6.173 MB / 0.7067 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01506/1.366, allocations: 5.16 MB / 0.7117 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.366, allocations: 2.078 kB / 0.7117 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005006/1.371, allocations: 1.666 MB / 0.7134 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/1.375, allocations: 417 kB / 0.7138 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4423/1.818, allocations: 33.87 MB / 0.7468 GB, free: 171.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008593/1.826, allocations: 3.54 MB / 0.7503 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009254/1.836, allocations: 1.937 MB / 0.7522 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005028/1.841, allocations: 1.973 MB / 0.7541 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.703e-06/1.841, allocations: 4 kB / 0.7541 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1721/2.013, allocations: 74.96 MB / 0.8273 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/2.013, allocations: 212 kB / 0.8275 GB, free: 91.08 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.573/7.586, allocations: 0 / 0.8275 GB, free: 91.08 MB / 0.4948 GB