Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.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.Planar,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Planar",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.01039/0.01039, allocations: 162 kB / 15.12 MB, free: 6.027 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.929/1.929, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001783/0.001782, allocations: 113.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.528/0.528, allocations: 38.05 MB / 303.7 MB, free: 42.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004643, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1076, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.3245/0.4322, allocations: 41 MB / 452.7 MB, free: 28.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02307/0.4553, allocations: 8.85 MB / 461.6 MB, free: 22.36 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008375/0.4637, allocations: 184.4 kB / 461.7 MB, free: 22.33 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006749/0.4705, allocations: 2.015 MB / 463.7 MB, free: 21.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02089/0.4915, allocations: 6.881 MB / 470.6 MB, free: 18.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003375/0.4949, allocations: 0.538 MB / 471.2 MB, free: 18.56 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00795/0.5029, allocations: 4.884 MB / 476.1 MB, free: 16.85 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006898/0.5098, allocations: 3.597 MB / 479.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003013/0.5129, allocations: 1.347 MB / 481 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004681/0.5176, allocations: 2.13 MB / 483.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001047/0.5187, allocations: 173.9 kB / 483.3 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.5218, allocations: 0.8495 MB / 484.1 MB, free: 13.51 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002885/0.5247, allocations: 1.823 MB / 486 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001772/0.5265, allocations: 0.9489 MB / 486.9 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009156/0.5357, allocations: 6.164 MB / 493.1 MB, free: 7.707 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.5358, allocations: 1.625 kB / 493.1 MB, free: 7.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5358, allocations: 0 / 493.1 MB, free: 7.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002896/0.5361, allocations: 0 / 493.1 MB, free: 7.707 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: 1910 * Number of variables: 1910 Notification: Performance of Generate backend data structure: time 0.01336/0.5494, allocations: 4.395 MB / 497.5 MB, free: 4.617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.5495, allocations: 9.406 kB / 497.5 MB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00257/0.5521, allocations: 0.8875 MB / 498.4 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01975/0.5719, allocations: 3.293 MB / 0.4899 GB, free: 2.328 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008497/0.5804, allocations: 2.811 MB / 0.4927 GB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/0.5807, allocations: 258.5 kB / 0.4929 GB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/0.5821, allocations: 347.7 kB / 0.4932 GB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03147/0.6135, allocations: 12.66 MB / 0.5056 GB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/0.6138, allocations: 31.69 kB / 0.5056 GB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001295/0.6151, allocations: 159.8 kB / 0.5058 GB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008876/0.624, allocations: 2.969 MB / 0.5087 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03408/0.6581, allocations: 11.28 MB / 0.5197 GB, free: 3.316 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09138/0.7495, allocations: 42.2 MB / 0.5609 GB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01578/0.7654, allocations: 4.706 MB / 0.5655 GB, free: 3.047 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006418/0.7718, allocations: 2.428 MB / 0.5679 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002838/0.7747, allocations: 1.323 MB / 0.5692 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.253e-05/0.7749, allocations: 56.56 kB / 0.5692 GB, free: 15.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 1.081e-05/0.7749, allocations: 3.938 kB / 0.5692 GB, free: 15 MB / 426.7 MB Notification: Performance of matching and sorting (n=268): time 0.3658/1.141, allocations: 19.48 MB / 0.5882 GB, free: 125.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/1.141, allocations: 101.6 kB / 0.5883 GB, free: 125.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006839/1.148, allocations: 3.225 MB / 0.5915 GB, free: 124.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005718/1.148, allocations: 67.33 kB / 0.5915 GB, free: 124.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002601/1.151, allocations: 3.264 MB / 0.5947 GB, free: 122.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001448/1.152, allocations: 0.9815 MB / 0.5957 GB, free: 121.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005949/1.153, allocations: 118.5 kB / 0.5958 GB, free: 121.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003975/1.153, allocations: 0.5664 MB / 0.5964 GB, free: 121.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005827/1.159, allocations: 2.458 MB / 0.5988 GB, free: 120.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008736/1.168, allocations: 5.84 MB / 0.6045 GB, free: 115.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00802/1.176, allocations: 3.766 MB / 0.6081 GB, free: 113.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.975e-05/1.176, allocations: 32.66 kB / 0.6082 GB, free: 113.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=806) (initialization): time 0.0248/1.201, allocations: 9.079 MB / 0.617 GB, free: 110.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/1.201, allocations: 59.39 kB / 0.6171 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000225/1.202, allocations: 117.3 kB / 0.6172 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005779/1.207, allocations: 1.074 MB / 0.6183 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008774/1.216, allocations: 1.386 MB / 0.6196 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/1.227, allocations: 5.132 MB / 0.6246 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006064/1.233, allocations: 325.5 kB / 0.6249 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/1.235, allocations: 353.8 kB / 0.6253 GB, free: 107.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 39 (axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[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 (744): * Single equations (assignments): 737 * Array equations: 6 * 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 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006854/1.242, allocations: 2.478 MB / 0.6277 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000861/1.243, allocations: 317 kB / 0.628 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/1.257, allocations: 5.364 MB / 0.6332 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001102/1.258, allocations: 53.97 kB / 0.6333 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.022e-05/1.258, allocations: 3.75 kB / 0.6333 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.666e-05/1.258, allocations: 10.78 kB / 0.6333 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03464/1.292, allocations: 13.31 MB / 0.6463 GB, free: 98.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.831e-05/1.292, allocations: 12.19 kB / 0.6463 GB, free: 98.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003548/1.296, allocations: 430.2 kB / 0.6467 GB, free: 97.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004821/1.301, allocations: 0.8926 MB / 0.6476 GB, free: 97.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004257/1.301, allocations: 51.38 kB / 0.6476 GB, free: 97.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008524/1.31, allocations: 4.501 MB / 0.652 GB, free: 92.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/1.31, allocations: 23.88 kB / 0.6521 GB, free: 92.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01808/1.328, allocations: 8.011 MB / 0.6599 GB, free: 84.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002556/1.331, allocations: 0.7274 MB / 0.6606 GB, free: 83.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006887/1.331, allocations: 56.61 kB / 0.6606 GB, free: 83.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002742/1.334, allocations: 155.8 kB / 0.6608 GB, free: 83.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005843/1.335, allocations: 161.6 kB / 0.6609 GB, free: 83.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/1.335, allocations: 76.84 kB / 0.661 GB, free: 83.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004351/1.339, allocations: 1.978 MB / 0.663 GB, free: 81.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.339, allocations: 0 / 0.663 GB, free: 81.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007766/1.347, allocations: 1.106 MB / 0.664 GB, free: 80.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (209): * Single equations (assignments): 202 * Array equations: 6 * 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 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01896/1.366, allocations: 8.675 MB / 0.6725 GB, free: 71.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01263/1.379, allocations: 6.022 MB / 0.6784 GB, free: 65.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/1.379, allocations: 0 / 0.6784 GB, free: 65.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00472/1.384, allocations: 2.253 MB / 0.6806 GB, free: 62.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003944/1.388, allocations: 428.4 kB / 0.681 GB, free: 62.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07816/1.466, allocations: 36.2 MB / 0.7163 GB, free: 23.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007208/1.473, allocations: 3.916 MB / 0.7202 GB, free: 19.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008408/1.481, allocations: 2.174 MB / 0.7223 GB, free: 16.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004895/1.486, allocations: 2.198 MB / 0.7244 GB, free: 14.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/1.486, allocations: 0 / 0.7244 GB, free: 14.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4779/1.964, allocations: 77.76 MB / 0.8004 GB, free: 87.16 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/1.965, allocations: 200 kB / 0.8006 GB, free: 86.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.449/7.414, allocations: 0 / 0.8006 GB, free: 86.91 MB / 426.7 MB