Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUSR",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.01433/0.01434, allocations: 176.5 kB / 15.13 MB, free: 6.031 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.092/2.092, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.00183/0.00183, allocations: 112.1 kB / 255.6 MB, free: 11.2 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.3023/0.3023, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004754, allocations: 10.34 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1006, allocations: 54.88 MB / 461.2 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.0691/0.1697, allocations: 41.34 MB / 0.4907 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02424/0.194, allocations: 8.483 MB / 0.499 GB, free: 1.324 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007207/0.2013, allocations: 183.6 kB / 0.4992 GB, free: 1.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006714/0.208, allocations: 1.956 MB / 0.5011 GB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02083/0.2289, allocations: 6.415 MB / 0.5074 GB, free: 8.738 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00401/0.233, allocations: 0.6587 MB / 0.508 GB, free: 8.082 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005654/0.2387, allocations: 3.098 MB / 0.511 GB, free: 4.977 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01133/0.2501, allocations: 5.214 MB / 0.5161 GB, free: 15.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002453/0.2526, allocations: 0.9416 MB / 0.517 GB, free: 14.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00351/0.2561, allocations: 1.46 MB / 0.5185 GB, free: 13.28 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008417/0.257, allocations: 132 kB / 0.5186 GB, free: 13.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002575/0.2596, allocations: 0.7217 MB / 0.5193 GB, free: 12.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002425/0.2621, allocations: 1.36 MB / 0.5206 GB, free: 11.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.2636, allocations: 0.6987 MB / 0.5213 GB, free: 10.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00799/0.2717, allocations: 5.034 MB / 0.5262 GB, free: 5.309 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2717, allocations: 0 / 0.5262 GB, free: 5.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.2717, allocations: 0 / 0.5262 GB, free: 5.309 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001988/0.2719, allocations: 0 / 0.5262 GB, free: 5.309 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: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01305/0.285, allocations: 3.619 MB / 0.5298 GB, free: 1.625 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.2851, allocations: 12.03 kB / 0.5298 GB, free: 1.613 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002196/0.2873, allocations: 0.6282 MB / 0.5304 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004599/0.2919, allocations: 0.5957 MB / 0.531 GB, free: 384 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3028/0.5948, allocations: 1.797 MB / 0.5327 GB, free: 74.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.5951, allocations: 236.2 kB / 0.5329 GB, free: 74.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/0.5964, allocations: 319 kB / 0.5332 GB, free: 74.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02894/0.6253, allocations: 9.196 MB / 0.5422 GB, free: 72.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.6255, allocations: 18.69 kB / 0.5422 GB, free: 72.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007958/0.6263, allocations: 140.7 kB / 0.5424 GB, free: 72.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004688/0.631, allocations: 1.585 MB / 0.5439 GB, free: 71.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02571/0.6568, allocations: 7.438 MB / 0.5512 GB, free: 67.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05/0.7068, allocations: 28.16 MB / 0.5787 GB, free: 38.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/0.7194, allocations: 2.333 MB / 0.581 GB, free: 36.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002148/0.7216, allocations: 1.135 MB / 0.5821 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01415/0.7357, allocations: 7.854 MB / 0.5897 GB, free: 27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.7358, allocations: 55.09 kB / 0.5898 GB, free: 26.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 6.332e-06/0.7358, allocations: 4 kB / 0.5898 GB, free: 26.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=103): time 0.03094/0.7668, allocations: 7.348 MB / 0.597 GB, free: 19.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.7669, allocations: 148.3 kB / 0.5971 GB, free: 19.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004269/0.7712, allocations: 2.619 MB / 0.5997 GB, free: 16.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002278/0.7715, allocations: 45.7 kB / 0.5997 GB, free: 16.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.773, allocations: 2.392 MB / 0.6021 GB, free: 14.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004075/0.7734, allocations: 418.5 kB / 0.6025 GB, free: 13.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.7736, allocations: 76 kB / 0.6025 GB, free: 13.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.7739, allocations: 474.4 kB / 0.603 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/0.7762, allocations: 1.108 MB / 0.6041 GB, free: 12.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003305/0.7796, allocations: 3.481 MB / 0.6075 GB, free: 7.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003491/0.7831, allocations: 1.876 MB / 0.6093 GB, free: 5.699 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.051e-05/0.7831, allocations: 27.94 kB / 0.6093 GB, free: 5.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=496) (initialization): time 0.008866/0.792, allocations: 4.477 MB / 0.6137 GB, free: 1.188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.85e-05/0.7921, allocations: 40 kB / 0.6137 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.901e-05/0.7922, allocations: 84 kB / 0.6138 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/0.7923, allocations: 128 kB / 0.6139 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004917/0.7973, allocations: 0.9397 MB / 0.6149 GB, free: 0 / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002158/0.7975, allocations: 167.8 kB / 0.615 GB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003225/0.8007, allocations: 187.9 kB / 0.6152 GB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003992/0.8012, allocations: 232 kB / 0.6154 GB, free: 15.42 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 40 (jointUSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[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 (496): * Single equations (assignments): 496 * 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.003425/0.8046, allocations: 1.597 MB / 0.617 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005191/0.8051, allocations: 233.9 kB / 0.6172 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003676/0.8088, allocations: 1.498 MB / 0.6187 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.8088, allocations: 8 kB / 0.6187 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.8089, allocations: 7.953 kB / 0.6187 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/0.8089, allocations: 3.984 kB / 0.6187 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.8229, allocations: 6.252 MB / 0.6248 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.478e-05/0.823, allocations: 16 kB / 0.6248 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/0.8246, allocations: 237 kB / 0.625 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.538e-05/0.8246, allocations: 24 kB / 0.625 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.841e-05/0.8247, allocations: 40.66 kB / 0.6251 GB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-05/0.8248, allocations: 39.8 kB / 0.6251 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.442e-05/0.8248, allocations: 27.94 kB / 0.6252 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003295/0.8281, allocations: 1.885 MB / 0.627 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007824/0.8289, allocations: 329.9 kB / 0.6273 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003912/0.8293, allocations: 43.98 kB / 0.6273 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.8307, allocations: 51.98 kB / 0.6274 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/0.8309, allocations: 128.1 kB / 0.6275 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.8311, allocations: 59.98 kB / 0.6276 GB, free: 2.387 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003568/0.8346, allocations: 1.676 MB / 0.6292 GB, free: 0.707 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.8347, allocations: 0 / 0.6292 GB, free: 0.707 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004374/0.8391, allocations: 0.6809 MB / 0.6299 GB, free: 32 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * 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 (128): * Single equations (assignments): 128 * 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.004113/0.8432, allocations: 2.515 MB / 0.6323 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006214/0.8495, allocations: 2.556 MB / 0.6348 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/0.8495, allocations: 0 / 0.6348 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.851, allocations: 0.6008 MB / 0.6354 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/0.8536, allocations: 319 kB / 0.6357 GB, free: 9.824 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05171/0.9053, allocations: 21.7 MB / 0.6569 GB, free: 1.555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004785/0.9101, allocations: 2.812 MB / 0.6597 GB, free: 14.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005014/0.9152, allocations: 1.047 MB / 0.6607 GB, free: 13.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003159/0.9184, allocations: 1.452 MB / 0.6621 GB, free: 12.21 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/0.9184, allocations: 0 / 0.6621 GB, free: 12.21 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4993/1.418, allocations: 50.41 MB / 0.7113 GB, free: 142.9 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/1.418, allocations: 176.5 kB / 0.7115 GB, free: 142.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.541/5.959, allocations: 0 / 0.7115 GB, free: 142.6 MB / 474.7 MB