Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Revolute",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.01494/0.01495, allocations: 161.1 kB / 15.11 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.875/1.875, 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.001767/0.001767, allocations: 102.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.457/0.457, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004826, allocations: 15.98 kB / 363 MB, free: 5.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1015, allocations: 48.71 MB / 411.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.4204/0.522, allocations: 26.12 MB / 437.8 MB, free: 30.28 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01762/0.5397, allocations: 6.209 MB / 444 MB, free: 29.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00672/0.5465, allocations: 117.4 kB / 444.2 MB, free: 29.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004705/0.5512, allocations: 1.291 MB / 445.4 MB, free: 29.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01828/0.5696, allocations: 4.562 MB / 450 MB, free: 28.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003864/0.5735, allocations: 424.9 kB / 450.4 MB, free: 28.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01179/0.5854, allocations: 3.97 MB / 454.4 MB, free: 27.9 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007042/0.5925, allocations: 2.271 MB / 456.7 MB, free: 27.6 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003306/0.5959, allocations: 1.035 MB / 457.7 MB, free: 27.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004987/0.6009, allocations: 1.693 MB / 459.4 MB, free: 27.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001371/0.6024, allocations: 139.8 kB / 459.5 MB, free: 27.15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00437/0.6068, allocations: 0.8158 MB / 460.3 MB, free: 27.12 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003835/0.6107, allocations: 1.488 MB / 461.8 MB, free: 26.94 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002202/0.613, allocations: 0.7585 MB / 462.6 MB, free: 26.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.011/0.6241, allocations: 4.833 MB / 467.4 MB, free: 25.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.6241, allocations: 0 / 467.4 MB, free: 25.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6242, allocations: 0 / 467.4 MB, free: 25.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002774/0.6244, allocations: 0 / 467.4 MB, free: 25.3 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: 1567 * Number of variables: 1567 Notification: Performance of Generate backend data structure: time 0.01147/0.6359, allocations: 3.552 MB / 471 MB, free: 22.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.636, allocations: 12.91 kB / 471 MB, free: 22.79 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002433/0.6385, allocations: 0.7315 MB / 471.7 MB, free: 22.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02037/0.6589, allocations: 3.172 MB / 474.9 MB, free: 20.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007396/0.6663, allocations: 2.329 MB / 477.2 MB, free: 19.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/0.6667, allocations: 196.6 kB / 477.4 MB, free: 19.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001641/0.6683, allocations: 251.6 kB / 477.7 MB, free: 19.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02748/0.6959, allocations: 10.7 MB / 488.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001723/0.6961, allocations: 29.06 kB / 488.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001386/0.6975, allocations: 126.9 kB / 488.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007152/0.7047, allocations: 2.577 MB / 491.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02767/0.7324, allocations: 9.981 MB / 0.4893 GB, free: 1.758 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08486/0.8173, allocations: 35.16 MB / 0.5237 GB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01805/0.8354, allocations: 5.169 MB / 0.5287 GB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005944/0.8414, allocations: 2.291 MB / 0.5309 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003651/0.8452, allocations: 1.889 MB / 0.5328 GB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.8453, allocations: 48.56 kB / 0.5328 GB, free: 3.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=229): time 8.436e-06/0.8454, allocations: 0 / 0.5328 GB, free: 3.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=235): time 0.08216/0.9275, allocations: 14 MB / 0.5465 GB, free: 5.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/0.9277, allocations: 73.41 kB / 0.5466 GB, free: 5.844 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007034/0.9347, allocations: 2.64 MB / 0.5492 GB, free: 3.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006324/0.9354, allocations: 57.7 kB / 0.5492 GB, free: 3.121 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002985/0.9384, allocations: 2.69 MB / 0.5518 GB, free: 436 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001693/0.9402, allocations: 0.8516 MB / 0.5527 GB, free: 15.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007499/0.941, allocations: 100 kB / 0.5528 GB, free: 15.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006185/0.9416, allocations: 0.5371 MB / 0.5533 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006379/0.948, allocations: 2.189 MB / 0.5554 GB, free: 12.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009644/0.9577, allocations: 5.076 MB / 0.5604 GB, free: 6.242 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009133/0.9669, allocations: 3.33 MB / 0.5636 GB, free: 2.906 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001426/0.9671, allocations: 28 kB / 0.5637 GB, free: 2.879 MB / 410.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.02504/0.9922, allocations: 7.866 MB / 0.5713 GB, free: 11.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.9923, allocations: 48 kB / 0.5714 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000184/0.9925, allocations: 104 kB / 0.5715 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004407/0.9969, allocations: 0.8019 MB / 0.5723 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008009/1.005, allocations: 1.193 MB / 0.5734 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009704/1.015, allocations: 4.206 MB / 0.5775 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005747/1.021, allocations: 291.8 kB / 0.5778 GB, free: 4.238 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001406/1.022, allocations: 304 kB / 0.5781 GB, free: 3.941 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 24 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (637): * Single equations (assignments): 630 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006447/1.029, allocations: 2.054 MB / 0.5801 GB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007508/1.029, allocations: 264.5 kB / 0.5804 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.308/1.337, allocations: 4.701 MB / 0.585 GB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001341/1.338, allocations: 45.42 kB / 0.585 GB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.832e-05/1.338, allocations: 3 kB / 0.585 GB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.806e-05/1.338, allocations: 9.203 kB / 0.585 GB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03295/1.371, allocations: 10.58 MB / 0.5954 GB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-05/1.371, allocations: 6.656 kB / 0.5954 GB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003344/1.374, allocations: 361.6 kB / 0.5957 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003734/1.378, allocations: 0.6576 MB / 0.5963 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005689/1.378, allocations: 44.55 kB / 0.5964 GB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007453/1.386, allocations: 3.659 MB / 0.6 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/1.386, allocations: 11.34 kB / 0.6 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01912/1.405, allocations: 7.109 MB / 0.6069 GB, free: 118 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002748/1.408, allocations: 0.6448 MB / 0.6075 GB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001175/1.409, allocations: 43.59 kB / 0.6076 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00294/1.412, allocations: 140.5 kB / 0.6077 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008001/1.413, allocations: 133.5 kB / 0.6078 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000315/1.413, allocations: 66.59 kB / 0.6079 GB, free: 117.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004773/1.418, allocations: 1.606 MB / 0.6095 GB, free: 117.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.81e-07/1.418, allocations: 3.969 kB / 0.6095 GB, free: 117.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006954/1.425, allocations: 0.9347 MB / 0.6104 GB, free: 117 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02064/1.446, allocations: 7.761 MB / 0.618 GB, free: 113.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01269/1.459, allocations: 5.33 MB / 0.6232 GB, free: 112.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/1.459, allocations: 3.938 kB / 0.6232 GB, free: 112.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005124/1.464, allocations: 2.012 MB / 0.6252 GB, free: 111.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00468/1.469, allocations: 346.6 kB / 0.6255 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07359/1.542, allocations: 29.41 MB / 0.6542 GB, free: 83.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007632/1.55, allocations: 3.299 MB / 0.6574 GB, free: 80.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008676/1.559, allocations: 1.961 MB / 0.6593 GB, free: 78.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004794/1.563, allocations: 1.753 MB / 0.6611 GB, free: 76.94 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/1.564, allocations: 0 / 0.6611 GB, free: 76.94 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.156/1.72, allocations: 64.06 MB / 0.7236 GB, free: 12.91 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/1.72, allocations: 198.3 kB / 0.7238 GB, free: 12.67 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.024/6.744, allocations: 4.062 kB / 0.7238 GB, free: 12.67 MB / 426.7 MB