Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Cylindrical",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.01526/0.01526, 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.924/1.924, 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.002916/0.002915, allocations: 106.8 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.4769/0.4769, allocations: 38.06 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005165, allocations: 11.98 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1165, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.3744/0.4909, allocations: 33.31 MB / 445 MB, free: 29.76 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0221/0.5131, allocations: 7.513 MB / 452.5 MB, free: 28.2 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008258/0.5214, allocations: 151.3 kB / 452.7 MB, free: 28.17 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005977/0.5274, allocations: 1.645 MB / 454.3 MB, free: 27.67 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02054/0.548, allocations: 5.677 MB / 460 MB, free: 25.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003395/0.5515, allocations: 482.2 kB / 460.5 MB, free: 25.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007345/0.5589, allocations: 4.319 MB / 464.8 MB, free: 24.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006901/0.5659, allocations: 3.052 MB / 467.8 MB, free: 22.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003228/0.5692, allocations: 1.148 MB / 469 MB, free: 22.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006188/0.5754, allocations: 1.869 MB / 470.9 MB, free: 21.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.5769, allocations: 149.6 kB / 471 MB, free: 21.92 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003717/0.5807, allocations: 0.833 MB / 471.8 MB, free: 21.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003245/0.584, allocations: 1.612 MB / 473.5 MB, free: 21.26 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002058/0.5861, allocations: 0.8341 MB / 474.3 MB, free: 20.65 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.5963, allocations: 5.4 MB / 479.7 MB, free: 17.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.5964, allocations: 0 / 479.7 MB, free: 17.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.5964, allocations: 1.281 kB / 479.7 MB, free: 17.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003207/0.5967, allocations: 0 / 479.7 MB, free: 17.51 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: 1680 * Number of variables: 1680 Notification: Performance of Generate backend data structure: time 0.01466/0.6114, allocations: 3.885 MB / 483.6 MB, free: 14.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.6115, allocations: 9.625 kB / 483.6 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003261/0.6147, allocations: 0.7788 MB / 484.4 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02155/0.6363, allocations: 3.215 MB / 487.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009028/0.6454, allocations: 2.569 MB / 490.1 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003263/0.6458, allocations: 219.7 kB / 490.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002158/0.648, allocations: 289 kB / 490.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03093/0.679, allocations: 11.33 MB / 0.4902 GB, free: 1.637 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001955/0.6792, allocations: 43.62 kB / 0.4902 GB, free: 1.594 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001774/0.681, allocations: 135.8 kB / 0.4904 GB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007804/0.6889, allocations: 2.648 MB / 0.493 GB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03708/0.726, allocations: 10.43 MB / 0.5031 GB, free: 4.359 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09256/0.8186, allocations: 37.41 MB / 0.5397 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01641/0.8351, allocations: 4.546 MB / 0.5441 GB, free: 9.227 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006379/0.8415, allocations: 2.396 MB / 0.5465 GB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002054/0.8436, allocations: 1.315 MB / 0.5477 GB, free: 5.297 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.568e-05/0.8438, allocations: 56.56 kB / 0.5478 GB, free: 5.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=242): time 7.384e-06/0.8438, allocations: 0 / 0.5478 GB, free: 5.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=254): time 0.0802/0.924, allocations: 17.61 MB / 0.565 GB, free: 3.551 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.9241, allocations: 73.41 kB / 0.5651 GB, free: 3.469 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007467/0.9316, allocations: 2.76 MB / 0.5678 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006865/0.9324, allocations: 57.7 kB / 0.5678 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003324/0.9357, allocations: 2.841 MB / 0.5706 GB, free: 13.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001948/0.9377, allocations: 0.9134 MB / 0.5715 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008447/0.9386, allocations: 104 kB / 0.5716 GB, free: 12.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006661/0.9393, allocations: 0.5453 MB / 0.5721 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006956/0.9463, allocations: 2.302 MB / 0.5744 GB, free: 9.863 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01004/0.9564, allocations: 5.257 MB / 0.5795 GB, free: 3.156 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3094/1.266, allocations: 3.468 MB / 0.5829 GB, free: 124.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/1.266, allocations: 29.59 kB / 0.5829 GB, free: 124.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=723) (initialization): time 0.02667/1.293, allocations: 8.294 MB / 0.591 GB, free: 123.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.242e-05/1.293, allocations: 54.83 kB / 0.5911 GB, free: 123.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/1.293, allocations: 100.5 kB / 0.5912 GB, free: 123.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005073/1.298, allocations: 0.9551 MB / 0.5921 GB, free: 123.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008032/1.306, allocations: 1.237 MB / 0.5933 GB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/1.316, allocations: 4.805 MB / 0.598 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005857/1.322, allocations: 301.7 kB / 0.5983 GB, free: 121 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00138/1.324, allocations: 312.9 kB / 0.5986 GB, free: 121 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 30 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (662): * Single equations (assignments): 655 * 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 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006796/1.331, allocations: 2.188 MB / 0.6007 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007656/1.331, allocations: 279.8 kB / 0.601 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/1.346, allocations: 5.119 MB / 0.606 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001153/1.347, allocations: 48.05 kB / 0.606 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/1.347, allocations: 3.156 kB / 0.606 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.948e-05/1.347, allocations: 14.44 kB / 0.606 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03511/1.382, allocations: 11.93 MB / 0.6177 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/1.382, allocations: 11.72 kB / 0.6177 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003274/1.385, allocations: 394.9 kB / 0.6181 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004412/1.39, allocations: 0.7774 MB / 0.6188 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003585/1.39, allocations: 50.5 kB / 0.6189 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008452/1.398, allocations: 4.092 MB / 0.6229 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/1.398, allocations: 16.47 kB / 0.6229 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01978/1.418, allocations: 7.594 MB / 0.6303 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002597/1.421, allocations: 0.6807 MB / 0.631 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005641/1.421, allocations: 47.56 kB / 0.631 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00221/1.424, allocations: 151.6 kB / 0.6312 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004532/1.424, allocations: 152.2 kB / 0.6313 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002378/1.424, allocations: 72.61 kB / 0.6314 GB, free: 107.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003441/1.428, allocations: 1.687 MB / 0.633 GB, free: 106.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.92e-07/1.428, allocations: 7.938 kB / 0.633 GB, free: 106.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006972/1.435, allocations: 0.9861 MB / 0.634 GB, free: 105.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01851/1.453, allocations: 8.26 MB / 0.6421 GB, free: 97.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01219/1.466, allocations: 5.607 MB / 0.6475 GB, free: 92.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.466, allocations: 0 / 0.6475 GB, free: 92.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004724/1.47, allocations: 2.148 MB / 0.6496 GB, free: 91.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003232/1.474, allocations: 376.8 kB / 0.65 GB, free: 90.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08531/1.559, allocations: 31.71 MB / 0.681 GB, free: 56.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006579/1.566, allocations: 3.519 MB / 0.6844 GB, free: 52.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008033/1.574, allocations: 1.993 MB / 0.6863 GB, free: 50.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005357/1.579, allocations: 1.866 MB / 0.6882 GB, free: 48.98 MB / 426.7 MB Notification: Performance of SimCode: time 3.166e-06/1.579, allocations: 0 / 0.6882 GB, free: 48.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5169/2.096, allocations: 69.15 MB / 0.7557 GB, free: 124.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003133/2.097, allocations: 204.5 kB / 0.7559 GB, free: 123.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.788/6.885, allocations: 0 / 0.7559 GB, free: 123.9 MB / 442.7 MB