Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.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.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01339/0.0134, allocations: 176.3 kB / 15.13 MB, free: 6.023 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.039/2.039, allocations: 194.5 MB / 210.3 MB, free: 7.598 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.001772/0.001772, allocations: 120 kB / 255.6 MB, free: 10.21 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.3128/0.3128, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004499, allocations: 10.94 kB / 406.3 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09761/0.09809, allocations: 54.88 MB / 461.2 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.06354/0.1617, allocations: 41.03 MB / 0.4904 GB, free: 10.01 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02641/0.1882, allocations: 8.891 MB / 0.4991 GB, free: 1.094 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007871/0.1961, allocations: 187.6 kB / 0.4993 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007203/0.2034, allocations: 2.003 MB / 0.5012 GB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02375/0.2272, allocations: 6.898 MB / 0.508 GB, free: 7.977 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003551/0.2308, allocations: 0.5149 MB / 0.5085 GB, free: 7.461 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.009337/0.2402, allocations: 4.898 MB / 0.5133 GB, free: 2.555 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008216/0.2484, allocations: 3.576 MB / 0.5167 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003461/0.2519, allocations: 1.346 MB / 0.5181 GB, free: 13.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004975/0.257, allocations: 2.134 MB / 0.5201 GB, free: 11.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.2582, allocations: 176 kB / 0.5203 GB, free: 11.26 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/0.2614, allocations: 0.8581 MB / 0.5212 GB, free: 10.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003448/0.2649, allocations: 1.827 MB / 0.5229 GB, free: 8.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001909/0.2668, allocations: 0.9516 MB / 0.5239 GB, free: 7.609 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.2773, allocations: 6.165 MB / 0.5299 GB, free: 1.426 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.2774, allocations: 4 kB / 0.5299 GB, free: 1.422 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.2774, allocations: 0 / 0.5299 GB, free: 1.422 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002689/0.2777, allocations: 0 / 0.5299 GB, free: 1.422 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: 1911 * Number of variables: 1911 Notification: Performance of Generate backend data structure: time 0.3097/0.5874, allocations: 4.381 MB / 0.5342 GB, free: 74.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.5874, allocations: 9.312 kB / 0.5342 GB, free: 74.29 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002818/0.5903, allocations: 0.8835 MB / 0.535 GB, free: 74.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02098/0.6113, allocations: 3.293 MB / 0.5383 GB, free: 73.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009032/0.6204, allocations: 2.812 MB / 0.541 GB, free: 72.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003815/0.6208, allocations: 260.4 kB / 0.5412 GB, free: 72.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002024/0.6229, allocations: 346 kB / 0.5416 GB, free: 72.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02893/0.6518, allocations: 12.65 MB / 0.5539 GB, free: 64.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001513/0.652, allocations: 35.64 kB / 0.554 GB, free: 64.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000827/0.6529, allocations: 168.7 kB / 0.5541 GB, free: 64.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007515/0.6604, allocations: 2.977 MB / 0.557 GB, free: 61.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02943/0.6899, allocations: 11.27 MB / 0.568 GB, free: 49.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07825/0.7682, allocations: 42.2 MB / 0.6093 GB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01409/0.7823, allocations: 4.7 MB / 0.6138 GB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005266/0.7877, allocations: 2.427 MB / 0.6162 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002354/0.7901, allocations: 1.327 MB / 0.6175 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.488e-05/0.7902, allocations: 52.56 kB / 0.6176 GB, free: 13.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=250): time 7.474e-06/0.7902, allocations: 0 / 0.6176 GB, free: 13.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=268): time 0.08146/0.8717, allocations: 19.5 MB / 0.6366 GB, free: 10.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.047e-05/0.8718, allocations: 111 kB / 0.6367 GB, free: 9.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006837/0.8787, allocations: 3.219 MB / 0.6399 GB, free: 6.684 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005765/0.8793, allocations: 61.7 kB / 0.6399 GB, free: 6.617 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003502/0.8828, allocations: 3.269 MB / 0.6431 GB, free: 3.301 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001682/0.8845, allocations: 0.979 MB / 0.6441 GB, free: 2.309 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006159/0.8852, allocations: 120 kB / 0.6442 GB, free: 2.191 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005567/0.8858, allocations: 0.5664 MB / 0.6447 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00664/0.8924, allocations: 2.464 MB / 0.6471 GB, free: 15.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01017/0.9026, allocations: 5.835 MB / 0.6528 GB, free: 7.645 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009414/0.9121, allocations: 3.767 MB / 0.6565 GB, free: 3.879 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/0.9123, allocations: 32 kB / 0.6565 GB, free: 3.848 MB / 426.7 MB Notification: Performance of matching and sorting (n=806) (initialization): time 0.02996/0.9422, allocations: 9.075 MB / 0.6654 GB, free: 10.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.9425, allocations: 56 kB / 0.6655 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002681/0.9427, allocations: 116 kB / 0.6656 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007659/0.9504, allocations: 1.07 MB / 0.6666 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01246/0.9629, allocations: 1.384 MB / 0.668 GB, free: 8.125 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/0.98, allocations: 5.142 MB / 0.673 GB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008657/0.9887, allocations: 327.8 kB / 0.6733 GB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001575/0.9904, allocations: 356 kB / 0.6736 GB, free: 2.191 MB / 442.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.008748/0.9991, allocations: 2.478 MB / 0.6761 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/1, allocations: 323.7 kB / 0.6764 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02129/1.022, allocations: 5.357 MB / 0.6816 GB, free: 9.957 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001551/1.022, allocations: 47.98 kB / 0.6816 GB, free: 9.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/1.022, allocations: 4 kB / 0.6816 GB, free: 9.906 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-05/1.022, allocations: 12.08 kB / 0.6817 GB, free: 9.895 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03876/1.061, allocations: 13.33 MB / 0.6947 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-05/1.061, allocations: 16.03 kB / 0.6947 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003613/1.064, allocations: 423.3 kB / 0.6951 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005137/1.07, allocations: 0.8979 MB / 0.696 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003073/1.07, allocations: 51.98 kB / 0.696 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/1.081, allocations: 4.503 MB / 0.7004 GB, free: 6.297 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.988e-05/1.081, allocations: 15.94 kB / 0.7004 GB, free: 6.281 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3549/1.435, allocations: 8.01 MB / 0.7083 GB, free: 148.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002909/1.438, allocations: 0.7341 MB / 0.709 GB, free: 148.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001051/1.44, allocations: 49.52 kB / 0.709 GB, free: 148.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002982/1.443, allocations: 153.4 kB / 0.7092 GB, free: 148.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007059/1.443, allocations: 163.7 kB / 0.7093 GB, free: 148.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002754/1.444, allocations: 80.47 kB / 0.7094 GB, free: 148.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005594/1.449, allocations: 1.969 MB / 0.7113 GB, free: 148.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.449, allocations: 1.094 kB / 0.7113 GB, free: 148.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007341/1.457, allocations: 1.11 MB / 0.7124 GB, free: 148.3 MB / 474.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.02229/1.479, allocations: 8.666 MB / 0.7209 GB, free: 145.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01294/1.492, allocations: 6.023 MB / 0.7268 GB, free: 143.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/1.492, allocations: 0 / 0.7268 GB, free: 143.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005083/1.497, allocations: 2.255 MB / 0.729 GB, free: 142.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003864/1.501, allocations: 412.5 kB / 0.7293 GB, free: 142.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07732/1.578, allocations: 36.21 MB / 0.7647 GB, free: 110.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007378/1.586, allocations: 3.923 MB / 0.7685 GB, free: 106.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01054/1.596, allocations: 2.177 MB / 0.7707 GB, free: 104.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007227/1.604, allocations: 2.198 MB / 0.7728 GB, free: 102.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.453e-06/1.604, allocations: 0 / 0.7728 GB, free: 102.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2782/1.882, allocations: 77.77 MB / 0.8488 GB, free: 24.3 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002853/1.882, allocations: 192 kB / 0.8489 GB, free: 24.07 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.906/7.788, allocations: 4 kB / 0.8489 GB, free: 24.06 MB / 474.7 MB