Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Universal",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.01216/0.01217, allocations: 163.8 kB / 15.12 MB, free: 5.965 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.831/1.831, allocations: 170.8 MB / 186.7 MB, free: 1.105 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.001807/0.001807, allocations: 110.7 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.4709/0.4709, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004882, allocations: 12 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1241, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.3372/0.4614, allocations: 36.61 MB / 448.3 MB, free: 29.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02289/0.4844, allocations: 8.11 MB / 456.4 MB, free: 25.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008344/0.4928, allocations: 166 kB / 456.6 MB, free: 25.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006701/0.4995, allocations: 1.826 MB / 458.4 MB, free: 25.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02421/0.5238, allocations: 6.214 MB / 464.6 MB, free: 22.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004336/0.5282, allocations: 484.9 kB / 465.1 MB, free: 22.53 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009913/0.5382, allocations: 4.474 MB / 469.6 MB, free: 20.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009769/0.548, allocations: 3.189 MB / 472.8 MB, free: 19.74 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004224/0.5523, allocations: 1.188 MB / 473.9 MB, free: 19.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005802/0.5582, allocations: 1.898 MB / 475.8 MB, free: 18.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001614/0.5598, allocations: 155.2 kB / 476 MB, free: 18.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004381/0.5643, allocations: 0.8265 MB / 476.8 MB, free: 18.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004063/0.5684, allocations: 1.679 MB / 478.5 MB, free: 17.96 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002504/0.571, allocations: 0.8722 MB / 479.4 MB, free: 17.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.5829, allocations: 5.632 MB / 485 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.583, allocations: 8 kB / 485 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.583, allocations: 0 / 485 MB, free: 13.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002977/0.5833, allocations: 0 / 485 MB, free: 13.55 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: 1761 * Number of variables: 1761 Notification: Performance of Generate backend data structure: time 0.01756/0.6009, allocations: 4.133 MB / 489.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.601, allocations: 9.062 kB / 489.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003321/0.6043, allocations: 0.8179 MB / 490 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02122/0.6256, allocations: 3.231 MB / 493.2 MB, free: 8.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008753/0.6344, allocations: 2.613 MB / 495.8 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003381/0.6348, allocations: 234.7 kB / 496 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002027/0.6368, allocations: 320 kB / 496.4 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03089/0.6678, allocations: 12.12 MB / 0.4966 GB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/0.668, allocations: 39.61 kB / 0.4966 GB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001468/0.6695, allocations: 139.8 kB / 0.4967 GB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007852/0.6774, allocations: 2.726 MB / 0.4994 GB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03674/0.7141, allocations: 11.33 MB / 0.5104 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0965/0.8107, allocations: 41.04 MB / 0.5505 GB, free: 2.785 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02113/0.8319, allocations: 6.059 MB / 0.5564 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00739/0.8393, allocations: 3.002 MB / 0.5594 GB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002953/0.8424, allocations: 1.895 MB / 0.5612 GB, free: 7.258 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.937e-05/0.8425, allocations: 52.56 kB / 0.5613 GB, free: 7.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=262): time 7.374e-06/0.8425, allocations: 4 kB / 0.5613 GB, free: 7.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=283): time 0.09007/0.9326, allocations: 20.11 MB / 0.5809 GB, free: 2.902 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.9327, allocations: 77.41 kB / 0.581 GB, free: 2.816 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2898/1.223, allocations: 3.01 MB / 0.5839 GB, free: 128.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008394/1.223, allocations: 66.23 kB / 0.584 GB, free: 128.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002906/1.226, allocations: 2.993 MB / 0.5869 GB, free: 127.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001909/1.228, allocations: 1.023 MB / 0.5879 GB, free: 126.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/1.229, allocations: 117.8 kB / 0.588 GB, free: 126.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007221/1.23, allocations: 0.5577 MB / 0.5886 GB, free: 126.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008673/1.239, allocations: 2.825 MB / 0.5913 GB, free: 126.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0101/1.249, allocations: 6.015 MB / 0.5972 GB, free: 121.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009874/1.259, allocations: 4.098 MB / 0.6012 GB, free: 119.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001755/1.259, allocations: 32.75 kB / 0.6012 GB, free: 119.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.0303/1.29, allocations: 9.99 MB / 0.611 GB, free: 116.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/1.29, allocations: 51.56 kB / 0.611 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002113/1.29, allocations: 109.6 kB / 0.6112 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006788/1.297, allocations: 1.371 MB / 0.6125 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009202/1.306, allocations: 1.375 MB / 0.6138 GB, free: 115.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01694/1.323, allocations: 7.486 MB / 0.6211 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007008/1.33, allocations: 367.8 kB / 0.6215 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001689/1.332, allocations: 344.2 kB / 0.6218 GB, free: 112.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 504 * Number of states: 0 () * Number of discrete variables: 27 (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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[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 (721): * Single equations (assignments): 714 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0076/1.339, allocations: 2.297 MB / 0.6241 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008819/1.34, allocations: 306.8 kB / 0.6244 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02032/1.361, allocations: 6.608 MB / 0.6308 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001082/1.361, allocations: 50.78 kB / 0.6309 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/1.361, allocations: 4.609 kB / 0.6309 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.716e-05/1.361, allocations: 11.02 kB / 0.6309 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04051/1.401, allocations: 14 MB / 0.6445 GB, free: 99.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.955e-05/1.402, allocations: 4 kB / 0.6445 GB, free: 99.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004139/1.406, allocations: 454.5 kB / 0.645 GB, free: 99.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005901/1.412, allocations: 1.213 MB / 0.6462 GB, free: 98.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007214/1.412, allocations: 52.94 kB / 0.6462 GB, free: 98.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/1.425, allocations: 6.511 MB / 0.6526 GB, free: 92.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/1.425, allocations: 13.02 kB / 0.6526 GB, free: 92.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02394/1.449, allocations: 9.825 MB / 0.6622 GB, free: 82.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003243/1.453, allocations: 0.8172 MB / 0.663 GB, free: 81.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009872/1.454, allocations: 52.92 kB / 0.663 GB, free: 81.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003514/1.457, allocations: 188.7 kB / 0.6632 GB, free: 81.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009544/1.458, allocations: 170.3 kB / 0.6634 GB, free: 80.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003243/1.459, allocations: 78.64 kB / 0.6634 GB, free: 80.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004123/1.463, allocations: 1.847 MB / 0.6653 GB, free: 78.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.002e-06/1.463, allocations: 0 / 0.6653 GB, free: 78.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007845/1.471, allocations: 1.125 MB / 0.6663 GB, free: 77.83 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * 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,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02721/1.498, allocations: 10.49 MB / 0.6766 GB, free: 67.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02184/1.52, allocations: 6.855 MB / 0.6833 GB, free: 60.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/1.52, allocations: 4 kB / 0.6833 GB, free: 60.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00952/1.529, allocations: 2.847 MB / 0.6861 GB, free: 57.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005082/1.535, allocations: 402.8 kB / 0.6865 GB, free: 57.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0869/1.621, allocations: 36.26 MB / 0.7219 GB, free: 18.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006554/1.628, allocations: 3.674 MB / 0.7255 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008646/1.637, allocations: 2.195 MB / 0.7276 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005077/1.642, allocations: 2.077 MB / 0.7296 GB, free: 10.04 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/1.642, allocations: 0 / 0.7296 GB, free: 10.04 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4638/2.106, allocations: 79.07 MB / 0.8068 GB, free: 83.14 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/2.106, allocations: 199.6 kB / 0.807 GB, free: 82.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.346/7.452, allocations: 0 / 0.807 GB, free: 82.9 MB / 426.7 MB