Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.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.Joints.FreeMotion,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotion",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.01382/0.01382, allocations: 163.6 kB / 15.12 MB, free: 5.953 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.642/1.642, allocations: 170.8 MB / 186.7 MB, free: 1.113 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.001662/0.001661, allocations: 94.84 kB / 226.2 MB, free: 10.1 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.4351/0.4351, allocations: 38.06 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004481, allocations: 8 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1128, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.4094/0.5223, allocations: 25.73 MB / 437.4 MB, free: 30.27 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01744/0.5398, allocations: 6.274 MB / 443.7 MB, free: 29.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005698/0.5455, allocations: 117.2 kB / 443.8 MB, free: 29.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004433/0.55, allocations: 1.274 MB / 445.1 MB, free: 29.4 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01572/0.5658, allocations: 4.598 MB / 449.7 MB, free: 28.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.5683, allocations: 440.9 kB / 450.1 MB, free: 28.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007008/0.5753, allocations: 4.382 MB / 454.5 MB, free: 27.95 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00436/0.5797, allocations: 2.214 MB / 456.7 MB, free: 27.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002534/0.5823, allocations: 1.055 MB / 457.8 MB, free: 27.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003656/0.586, allocations: 1.746 MB / 459.5 MB, free: 27.15 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001085/0.5872, allocations: 133.2 kB / 459.7 MB, free: 27.15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003715/0.591, allocations: 0.8929 MB / 460.5 MB, free: 27.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002893/0.5939, allocations: 1.569 MB / 462.1 MB, free: 26.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001744/0.5957, allocations: 0.7676 MB / 462.9 MB, free: 26.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007949/0.6037, allocations: 4.901 MB / 467.8 MB, free: 25.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.6037, allocations: 4 kB / 467.8 MB, free: 25.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6038, allocations: 0 / 467.8 MB, free: 25.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002343/0.604, allocations: 0 / 467.8 MB, free: 25.16 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.009963/0.614, allocations: 3.621 MB / 471.4 MB, free: 22.6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.614, allocations: 9.625 kB / 471.4 MB, free: 22.6 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002199/0.6163, allocations: 0.7205 MB / 472.1 MB, free: 22.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02124/0.6375, allocations: 3.259 MB / 475.4 MB, free: 20.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008624/0.6462, allocations: 2.831 MB / 478.2 MB, free: 18.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002962/0.6466, allocations: 188 kB / 478.4 MB, free: 18.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002131/0.6487, allocations: 344.4 kB / 478.7 MB, free: 18.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02552/0.6743, allocations: 10.76 MB / 489.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001363/0.6745, allocations: 28.09 kB / 489.5 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007544/0.6752, allocations: 121.1 kB / 489.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006592/0.6818, allocations: 2.557 MB / 492.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02744/0.7094, allocations: 10.25 MB / 0.4907 GB, free: 320 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09974/0.8091, allocations: 35.74 MB / 0.5256 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01455/0.8238, allocations: 4.426 MB / 0.5299 GB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005987/0.8298, allocations: 2.201 MB / 0.5321 GB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002176/0.8321, allocations: 1.313 MB / 0.5333 GB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.483e-05/0.8322, allocations: 56.5 kB / 0.5334 GB, free: 3.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=245): time 7.895e-06/0.8323, allocations: 0 / 0.5334 GB, free: 3.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=261): time 0.08681/0.9191, allocations: 17.05 MB / 0.55 GB, free: 2.312 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002452/0.9216, allocations: 1.535 MB / 0.5515 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00938/0.931, allocations: 2.747 MB / 0.5542 GB, free: 13.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007515/0.9318, allocations: 57.7 kB / 0.5543 GB, free: 13.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00416/0.936, allocations: 2.731 MB / 0.5569 GB, free: 11.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002398/0.9385, allocations: 0.9576 MB / 0.5579 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/0.9397, allocations: 112.1 kB / 0.558 GB, free: 10 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0009579/0.9407, allocations: 0.5498 MB / 0.5585 GB, free: 9.445 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009642/0.9504, allocations: 2.424 MB / 0.5609 GB, free: 7.016 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01371/0.9642, allocations: 5.444 MB / 0.5662 GB, free: 100 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/0.9762, allocations: 3.626 MB / 0.5697 GB, free: 12.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/0.9763, allocations: 28 kB / 0.5698 GB, free: 12.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.03131/1.008, allocations: 8.831 MB / 0.5784 GB, free: 3.594 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/1.008, allocations: 53.41 kB / 0.5784 GB, free: 3.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3149/1.323, allocations: 3.948 MB / 0.5823 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01133/1.334, allocations: 1.294 MB / 0.5836 GB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01108/1.345, allocations: 1.291 MB / 0.5848 GB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008788/1.354, allocations: 4.114 MB / 0.5888 GB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007389/1.362, allocations: 397.5 kB / 0.5892 GB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/1.363, allocations: 326.1 kB / 0.5895 GB, free: 120.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (689): * Single equations (assignments): 677 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.005769/1.369, allocations: 2.106 MB / 0.5916 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007784/1.369, allocations: 278.4 kB / 0.5919 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01786/1.387, allocations: 5.438 MB / 0.5972 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01581/1.403, allocations: 4.678 MB / 0.6017 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/1.403, allocations: 3.156 kB / 0.6017 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.173e-05/1.403, allocations: 10.59 kB / 0.6018 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05658/1.46, allocations: 14.71 MB / 0.6161 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.842e-05/1.46, allocations: 9.594 kB / 0.6161 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003907/1.464, allocations: 428.4 kB / 0.6165 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008353/1.472, allocations: 1.247 MB / 0.6178 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006287/1.473, allocations: 72.22 kB / 0.6178 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006835/1.48, allocations: 4.447 MB / 0.6222 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001178/1.481, allocations: 1.472 MB / 0.6236 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02155/1.503, allocations: 8.133 MB / 0.6315 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000905/1.504, allocations: 339.9 kB / 0.6319 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007312/1.504, allocations: 58.91 kB / 0.6319 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002648/1.507, allocations: 197.6 kB / 0.6321 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005201/1.508, allocations: 171 kB / 0.6323 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/1.508, allocations: 78.33 kB / 0.6324 GB, free: 105.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003262/1.511, allocations: 1.682 MB / 0.634 GB, free: 104.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.511, allocations: 0 / 0.634 GB, free: 104.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006152/1.517, allocations: 1.046 MB / 0.635 GB, free: 104.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02782/1.545, allocations: 8.681 MB / 0.6435 GB, free: 96.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01552/1.561, allocations: 6.427 MB / 0.6498 GB, free: 89.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/1.561, allocations: 0 / 0.6498 GB, free: 89.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007934/1.569, allocations: 2.892 MB / 0.6526 GB, free: 86.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/1.572, allocations: 391.3 kB / 0.653 GB, free: 86.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07135/1.644, allocations: 32.67 MB / 0.6849 GB, free: 51.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005357/1.649, allocations: 3.383 MB / 0.6882 GB, free: 47.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008004/1.657, allocations: 2.103 MB / 0.6902 GB, free: 45.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004024/1.661, allocations: 1.796 MB / 0.692 GB, free: 43.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/1.661, allocations: 4 kB / 0.692 GB, free: 43.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4846/2.146, allocations: 69.89 MB / 0.7602 GB, free: 126.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/2.146, allocations: 215.3 kB / 0.7604 GB, free: 126.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.211/7.358, allocations: 0 / 0.7604 GB, free: 126.1 MB / 442.7 MB