Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointSSP",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.0129/0.0129, 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 1.96/1.96, 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.001779/0.001779, allocations: 120 kB / 255.6 MB, free: 10.22 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.2802/0.2802, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004745, allocations: 14.69 kB / 406.3 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1118, allocations: 54.88 MB / 461.2 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.04635/0.1582, allocations: 30.14 MB / 491.3 MB, free: 4.953 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01947/0.1778, allocations: 6.427 MB / 497.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005886/0.1837, allocations: 131.7 kB / 497.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005435/0.1892, allocations: 1.431 MB / 499.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0196/0.2088, allocations: 4.649 MB / 0.4921 GB, free: 8.27 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003844/0.2153, allocations: 403.3 kB / 0.4925 GB, free: 7.875 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005351/0.2207, allocations: 2.158 MB / 0.4946 GB, free: 5.715 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03217/0.2529, allocations: 4.048 MB / 0.4986 GB, free: 1.609 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/0.2553, allocations: 0.6497 MB / 0.4992 GB, free: 0.957 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008727/0.2641, allocations: 1.036 MB / 0.5002 GB, free: 15.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005922/0.2648, allocations: 92 kB / 0.5003 GB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.2669, allocations: 0.5305 MB / 0.5008 GB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008749/0.2757, allocations: 0.9701 MB / 0.5018 GB, free: 14.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.2771, allocations: 0.5158 MB / 0.5023 GB, free: 13.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007912/0.285, allocations: 3.694 MB / 0.5059 GB, free: 10.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2851, allocations: 0 / 0.5059 GB, free: 10.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.2851, allocations: 0 / 0.5059 GB, free: 10.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001479/0.2853, allocations: 0 / 0.5059 GB, free: 10.1 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.009828/0.2951, allocations: 2.423 MB / 0.5082 GB, free: 7.613 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.372e-05/0.2952, allocations: 12.03 kB / 0.5083 GB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001838/0.2971, allocations: 456.8 kB / 0.5087 GB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/0.3, allocations: 355.9 kB / 0.509 GB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005079/0.3051, allocations: 1.234 MB / 0.5102 GB, free: 5.508 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002926/0.3055, allocations: 172.5 kB / 0.5104 GB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/0.3066, allocations: 235.9 kB / 0.5106 GB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02542/0.332, allocations: 6.008 MB / 0.5165 GB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/0.3322, allocations: 19.86 kB / 0.5165 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005096/0.3327, allocations: 99.94 kB / 0.5166 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003539/0.3363, allocations: 0.9613 MB / 0.5175 GB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01809/0.3544, allocations: 4.484 MB / 0.5219 GB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3468/0.7013, allocations: 18.57 MB / 0.5401 GB, free: 63.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007546/0.7089, allocations: 1.347 MB / 0.5414 GB, free: 63.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.7101, allocations: 420.1 kB / 0.5418 GB, free: 63.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002382/0.7125, allocations: 2.056 MB / 0.5438 GB, free: 61.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/0.7126, allocations: 46.86 kB / 0.5438 GB, free: 61.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 3.687e-06/0.7127, allocations: 0 / 0.5438 GB, free: 61.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.04096/0.7536, allocations: 6.084 MB / 0.5498 GB, free: 60.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.7537, allocations: 93.77 kB / 0.5499 GB, free: 60.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003994/0.7577, allocations: 1.798 MB / 0.5516 GB, free: 59.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000212/0.758, allocations: 45.64 kB / 0.5517 GB, free: 59.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.7592, allocations: 1.625 MB / 0.5532 GB, free: 58.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004811/0.7597, allocations: 434.7 kB / 0.5537 GB, free: 57.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.7599, allocations: 55.88 kB / 0.5537 GB, free: 57.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.7601, allocations: 423 kB / 0.5541 GB, free: 57.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00194/0.762, allocations: 0.7988 MB / 0.5549 GB, free: 57.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0027/0.7647, allocations: 2.337 MB / 0.5572 GB, free: 54.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.7679, allocations: 1.347 MB / 0.5585 GB, free: 53.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-05/0.768, allocations: 14 kB / 0.5585 GB, free: 53.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.007876/0.7759, allocations: 3.139 MB / 0.5616 GB, free: 52.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/0.776, allocations: 26.22 kB / 0.5616 GB, free: 52.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.303e-05/0.7761, allocations: 56.25 kB / 0.5617 GB, free: 52.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001052/0.7762, allocations: 78.38 kB / 0.5617 GB, free: 52.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00382/0.7801, allocations: 0.6429 MB / 0.5624 GB, free: 52.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.961e-05/0.7802, allocations: 106.5 kB / 0.5625 GB, free: 52.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/0.7828, allocations: 120.5 kB / 0.5626 GB, free: 52.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003397/0.7831, allocations: 158.2 kB / 0.5627 GB, free: 52.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (359): * Single equations (assignments): 359 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002611/0.7858, allocations: 1.188 MB / 0.5639 GB, free: 51.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/0.7862, allocations: 177.7 kB / 0.5641 GB, free: 50.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003767/0.79, allocations: 1.324 MB / 0.5653 GB, free: 49.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-05/0.7901, allocations: 12 kB / 0.5654 GB, free: 49.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.7901, allocations: 0 / 0.5654 GB, free: 49.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.783e-05/0.7902, allocations: 7.969 kB / 0.5654 GB, free: 49.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01969/0.8099, allocations: 6.862 MB / 0.5721 GB, free: 42.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.771e-05/0.81, allocations: 24 kB / 0.5721 GB, free: 42.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.8113, allocations: 215.6 kB / 0.5723 GB, free: 42.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.408e-05/0.8113, allocations: 32 kB / 0.5723 GB, free: 41.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.244e-05/0.8114, allocations: 51.94 kB / 0.5724 GB, free: 41.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.943e-05/0.8115, allocations: 43.8 kB / 0.5724 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.257e-05/0.8115, allocations: 36.25 kB / 0.5724 GB, free: 41.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/0.8143, allocations: 1.776 MB / 0.5742 GB, free: 39.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007131/0.8151, allocations: 274.8 kB / 0.5744 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003456/0.8155, allocations: 56.47 kB / 0.5745 GB, free: 39.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.8168, allocations: 40 kB / 0.5745 GB, free: 39.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/0.8171, allocations: 139.5 kB / 0.5747 GB, free: 39.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.511e-05/0.8172, allocations: 56.88 kB / 0.5747 GB, free: 39.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002627/0.8199, allocations: 1.212 MB / 0.5759 GB, free: 37.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.8199, allocations: 0 / 0.5759 GB, free: 37.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00375/0.8237, allocations: 0.4917 MB / 0.5764 GB, free: 37.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 97 * Number of states: 0 () * 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 (116): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003783/0.8275, allocations: 2.414 MB / 0.5787 GB, free: 34.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004527/0.8321, allocations: 1.856 MB / 0.5806 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-05/0.8322, allocations: 4 kB / 0.5806 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.8335, allocations: 0.5117 MB / 0.5811 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/0.8364, allocations: 275.1 kB / 0.5813 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04021/0.8767, allocations: 15.79 MB / 0.5967 GB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003115/0.8799, allocations: 2.244 MB / 0.5989 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003366/0.8833, allocations: 0.7195 MB / 0.5996 GB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002031/0.8854, allocations: 1.038 MB / 0.6007 GB, free: 10.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.293e-06/0.8854, allocations: 3.938 kB / 0.6007 GB, free: 10.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/0.9868, allocations: 37.41 MB / 0.6372 GB, free: 5.195 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/0.9871, allocations: 175.3 kB / 0.6374 GB, free: 4.957 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.997/4.984, allocations: 0 / 0.6374 GB, free: 4.957 MB / 410.7 MB