Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01418/0.01418, allocations: 162.1 kB / 15.11 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.842/1.842, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001755/0.001755, allocations: 105.9 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4382/0.4382, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.0004641, allocations: 8 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1063, allocations: 48.72 MB / 411.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3341/0.4405, allocations: 46.15 MB / 457.9 MB, free: 24.69 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03048/0.471, allocations: 10.19 MB / 468 MB, free: 17.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01197/0.4831, allocations: 205.8 kB / 468.2 MB, free: 17.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.4932, allocations: 2.251 MB / 470.5 MB, free: 16.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03194/0.5252, allocations: 7.784 MB / 478.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005505/0.5307, allocations: 0.6147 MB / 478.9 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.03311/0.5639, allocations: 15.72 MB / 494.6 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008505/0.5725, allocations: 4.367 MB / 499 MB, free: 4.332 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.5755, allocations: 1.231 MB / 0.4885 GB, free: 3.707 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004229/0.5798, allocations: 2.043 MB / 0.4905 GB, free: 1.883 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.581, allocations: 160 kB / 0.4906 GB, free: 1.727 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003214/0.5842, allocations: 0.983 MB / 0.4916 GB, free: 0.7422 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002812/0.5871, allocations: 1.773 MB / 0.4933 GB, free: 14.96 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.5886, allocations: 0.8855 MB / 0.4942 GB, free: 14.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.599, allocations: 6.245 MB / 0.5003 GB, free: 7.812 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.5991, allocations: 0 / 0.5003 GB, free: 7.812 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.33e-06/0.5991, allocations: 0 / 0.5003 GB, free: 7.812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002267/0.5994, allocations: 3.938 kB / 0.5003 GB, free: 7.809 MB / 346.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.01604/0.6154, allocations: 4.259 MB / 0.5045 GB, free: 3.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.6155, allocations: 12.03 kB / 0.5045 GB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002543/0.618, allocations: 0.7774 MB / 0.5052 GB, free: 2.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1855/0.8036, allocations: 7.316 MB / 0.5124 GB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01625/0.8199, allocations: 3.054 MB / 0.5154 GB, free: 8.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003119/0.8203, allocations: 250.4 kB / 0.5156 GB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001404/0.8217, allocations: 336.8 kB / 0.5159 GB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02746/0.8491, allocations: 10.38 MB / 0.5261 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001754/0.8494, allocations: 51.56 kB / 0.5261 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008495/0.8502, allocations: 159.8 kB / 0.5263 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005598/0.8558, allocations: 2.034 MB / 0.5282 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02666/0.8825, allocations: 8.588 MB / 0.5366 GB, free: 1.742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07998/0.9626, allocations: 38.35 MB / 0.5741 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/0.9732, allocations: 2.998 MB / 0.577 GB, free: 7.145 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004907/0.9782, allocations: 1.681 MB / 0.5786 GB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007014/0.9789, allocations: 340.4 kB / 0.579 GB, free: 5.062 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.868e-05/0.979, allocations: 59.81 kB / 0.579 GB, free: 4.996 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 6.983e-06/0.979, allocations: 0 / 0.579 GB, free: 4.996 MB / 426.7 MB Notification: Performance of matching and sorting (n=194): time 0.3306/1.31, allocations: 14.17 MB / 0.5929 GB, free: 124.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/1.31, allocations: 201.7 kB / 0.5931 GB, free: 124.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006805/1.317, allocations: 3.821 MB / 0.5968 GB, free: 123.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004422/1.317, allocations: 51.8 kB / 0.5968 GB, free: 123.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002481/1.32, allocations: 3.205 MB / 0.6 GB, free: 121.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001084/1.321, allocations: 0.7359 MB / 0.6007 GB, free: 120.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004566/1.321, allocations: 122.8 kB / 0.6008 GB, free: 120.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004149/1.322, allocations: 0.5564 MB / 0.6013 GB, free: 120.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005519/1.327, allocations: 2.144 MB / 0.6034 GB, free: 119.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007625/1.335, allocations: 5.818 MB / 0.6091 GB, free: 114 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008075/1.343, allocations: 3.436 MB / 0.6125 GB, free: 112.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001184/1.343, allocations: 37.47 kB / 0.6125 GB, free: 112.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.023/1.366, allocations: 7.963 MB / 0.6203 GB, free: 109.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/1.366, allocations: 60.22 kB / 0.6203 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002625/1.367, allocations: 129.3 kB / 0.6205 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/1.368, allocations: 462.4 kB / 0.6209 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009399/1.378, allocations: 1.429 MB / 0.6223 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006042/1.384, allocations: 3.336 MB / 0.6256 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006734/1.391, allocations: 370.6 kB / 0.6259 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/1.392, allocations: 367.2 kB / 0.6263 GB, free: 107.2 MB / 426.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.00626/1.398, allocations: 2.225 MB / 0.6284 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/1.399, allocations: 338.2 kB / 0.6288 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009539/1.409, allocations: 2.93 MB / 0.6316 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.474e-05/1.409, allocations: 23.44 kB / 0.6316 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/1.409, allocations: 3.969 kB / 0.6317 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.331e-05/1.409, allocations: 8.672 kB / 0.6317 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02289/1.432, allocations: 7.829 MB / 0.6393 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/1.432, allocations: 0 / 0.6393 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003274/1.435, allocations: 354.9 kB / 0.6396 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/1.437, allocations: 261.4 kB / 0.6399 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002724/1.437, allocations: 36.52 kB / 0.6399 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004614/1.442, allocations: 2.918 MB / 0.6428 GB, free: 99.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.442, allocations: 1.812 kB / 0.6428 GB, free: 99.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/1.455, allocations: 5.535 MB / 0.6482 GB, free: 95.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002258/1.457, allocations: 0.6387 MB / 0.6488 GB, free: 94.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007811/1.458, allocations: 31.59 kB / 0.6488 GB, free: 94.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002818/1.46, allocations: 125.4 kB / 0.649 GB, free: 94.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005106/1.461, allocations: 129.8 kB / 0.6491 GB, free: 94.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/1.461, allocations: 59.59 kB / 0.6491 GB, free: 94.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005366/1.467, allocations: 2.376 MB / 0.6515 GB, free: 92.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.467, allocations: 0 / 0.6515 GB, free: 92.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007109/1.474, allocations: 0.9948 MB / 0.6524 GB, free: 91.57 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 () * 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.01624/1.49, allocations: 6.166 MB / 0.6585 GB, free: 85.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01256/1.503, allocations: 5.155 MB / 0.6635 GB, free: 80.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.503, allocations: 4 kB / 0.6635 GB, free: 80.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004218/1.507, allocations: 1.661 MB / 0.6651 GB, free: 78.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004206/1.511, allocations: 420.8 kB / 0.6655 GB, free: 78.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08072/1.592, allocations: 33.91 MB / 0.6986 GB, free: 40.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006568/1.599, allocations: 3.545 MB / 0.7021 GB, free: 37.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008587/1.607, allocations: 1.943 MB / 0.704 GB, free: 35.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004537/1.612, allocations: 1.975 MB / 0.7059 GB, free: 33.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/1.612, allocations: 0 / 0.7059 GB, free: 33.41 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5037/2.116, allocations: 74.94 MB / 0.7791 GB, free: 107.5 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/2.116, allocations: 218.8 kB / 0.7793 GB, free: 107.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.461/7.577, allocations: 0 / 0.7793 GB, free: 107.3 MB / 426.7 MB