Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUSP",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.009804/0.00981, allocations: 176.7 kB / 15.13 MB, free: 6.02 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.048/2.048, allocations: 194.5 MB / 210.3 MB, free: 7.594 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.001753/0.001753, allocations: 112.1 kB / 255.6 MB, free: 10.21 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.2561/0.2561, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004726, allocations: 10.38 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1024, allocations: 54.88 MB / 461.2 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.06317/0.1657, allocations: 41.31 MB / 0.4907 GB, free: 9.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02455/0.1903, allocations: 8.315 MB / 0.4988 GB, free: 1.426 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007824/0.1982, allocations: 187.6 kB / 0.499 GB, free: 1.242 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007007/0.2052, allocations: 1.968 MB / 0.5009 GB, free: 15.26 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02178/0.2271, allocations: 6.407 MB / 0.5072 GB, free: 8.828 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00373/0.2308, allocations: 0.5187 MB / 0.5077 GB, free: 8.309 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006055/0.2369, allocations: 3.031 MB / 0.5106 GB, free: 5.273 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.013/0.25, allocations: 5.202 MB / 0.5157 GB, free: 0 / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.2525, allocations: 0.9105 MB / 0.5166 GB, free: 15.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003703/0.2563, allocations: 1.433 MB / 0.518 GB, free: 13.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007507/0.2571, allocations: 128 kB / 0.5181 GB, free: 13.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.2592, allocations: 0.5618 MB / 0.5187 GB, free: 12.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002391/0.2616, allocations: 1.36 MB / 0.52 GB, free: 11.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.2629, allocations: 0.6987 MB / 0.5207 GB, free: 10.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009196/0.2721, allocations: 4.909 MB / 0.5255 GB, free: 5.965 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.2722, allocations: 0 / 0.5255 GB, free: 5.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.2722, allocations: 4 kB / 0.5255 GB, free: 5.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002235/0.2724, allocations: 0 / 0.5255 GB, free: 5.961 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: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.01307/0.2855, allocations: 3.454 MB / 0.5289 GB, free: 2.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.2856, allocations: 8.031 kB / 0.5289 GB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001963/0.2876, allocations: 0.624 MB / 0.5295 GB, free: 1.805 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006989/0.2946, allocations: 0.5841 MB / 0.53 GB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3646/0.6593, allocations: 1.775 MB / 0.5318 GB, free: 75.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/0.6596, allocations: 233.6 kB / 0.532 GB, free: 75.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/0.6608, allocations: 313.7 kB / 0.5323 GB, free: 75.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02656/0.6874, allocations: 8.648 MB / 0.5407 GB, free: 72.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/0.6875, allocations: 14.75 kB / 0.5408 GB, free: 72.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007859/0.6883, allocations: 137.9 kB / 0.5409 GB, free: 72.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004757/0.6931, allocations: 1.562 MB / 0.5424 GB, free: 72.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/0.7162, allocations: 6.659 MB / 0.5489 GB, free: 69.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04552/0.7618, allocations: 26.5 MB / 0.5748 GB, free: 42.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009982/0.7718, allocations: 1.956 MB / 0.5767 GB, free: 40.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.7737, allocations: 0.8661 MB / 0.5775 GB, free: 40 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/0.7856, allocations: 6.47 MB / 0.5839 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.7857, allocations: 51.2 kB / 0.5839 GB, free: 32.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 3.997e-06/0.7857, allocations: 0 / 0.5839 GB, free: 32.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=102): time 0.02586/0.8116, allocations: 6.309 MB / 0.5901 GB, free: 26.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.8117, allocations: 145.4 kB / 0.5902 GB, free: 26.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003997/0.8157, allocations: 2.469 MB / 0.5926 GB, free: 23.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000181/0.8159, allocations: 41.7 kB / 0.5927 GB, free: 23.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001614/0.8175, allocations: 2.382 MB / 0.595 GB, free: 21.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004328/0.818, allocations: 414 kB / 0.5954 GB, free: 21.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.8183, allocations: 76 kB / 0.5955 GB, free: 21.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.8185, allocations: 462 kB / 0.5959 GB, free: 20.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/0.8207, allocations: 0.9443 MB / 0.5968 GB, free: 19.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003556/0.8243, allocations: 3.236 MB / 0.6 GB, free: 15.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/0.8281, allocations: 1.689 MB / 0.6016 GB, free: 13.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.418e-05/0.8282, allocations: 24 kB / 0.6017 GB, free: 13.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01005/0.8382, allocations: 4.07 MB / 0.6056 GB, free: 9.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.935e-05/0.8384, allocations: 42.06 kB / 0.6057 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.8385, allocations: 80 kB / 0.6057 GB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001297/0.8386, allocations: 120.8 kB / 0.6059 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004961/0.8436, allocations: 0.8898 MB / 0.6067 GB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001544/0.8438, allocations: 159.4 kB / 0.6069 GB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/0.8472, allocations: 163.8 kB / 0.607 GB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005082/0.8477, allocations: 228 kB / 0.6073 GB, free: 7.828 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 369 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (480): * Single equations (assignments): 480 * 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.003339/0.8511, allocations: 1.577 MB / 0.6088 GB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000478/0.8516, allocations: 221.1 kB / 0.609 GB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/0.8544, allocations: 1.177 MB / 0.6102 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.8545, allocations: 12 kB / 0.6102 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.8545, allocations: 4.703 kB / 0.6102 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.8545, allocations: 7.984 kB / 0.6102 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/0.8679, allocations: 6.233 MB / 0.6163 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.843e-05/0.868, allocations: 24.03 kB / 0.6163 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.8695, allocations: 227.7 kB / 0.6165 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.033e-05/0.8695, allocations: 28 kB / 0.6165 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.8696, allocations: 53.72 kB / 0.6166 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.486e-05/0.8697, allocations: 35.86 kB / 0.6166 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.734e-05/0.8697, allocations: 27.88 kB / 0.6166 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003383/0.8731, allocations: 1.82 MB / 0.6184 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008275/0.874, allocations: 322 kB / 0.6187 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003951/0.8744, allocations: 55.92 kB / 0.6188 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/0.8758, allocations: 43.98 kB / 0.6188 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.8761, allocations: 135.5 kB / 0.619 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.8762, allocations: 59.94 kB / 0.619 GB, free: 11.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003909/0.8801, allocations: 1.604 MB / 0.6206 GB, free: 9.562 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.8802, allocations: 0 / 0.6206 GB, free: 9.562 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004331/0.8845, allocations: 0.651 MB / 0.6212 GB, free: 8.914 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 82 * 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 (126): * Single equations (assignments): 126 * 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.003991/0.8886, allocations: 2.442 MB / 0.6236 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005908/0.8945, allocations: 2.288 MB / 0.6258 GB, free: 3.922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/0.8946, allocations: 4.25 kB / 0.6258 GB, free: 3.918 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.8961, allocations: 0.5377 MB / 0.6264 GB, free: 3.383 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/0.8988, allocations: 321.5 kB / 0.6267 GB, free: 3.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06666/0.9655, allocations: 20.77 MB / 0.6469 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00583/0.9714, allocations: 2.815 MB / 0.6497 GB, free: 8.953 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005126/0.9766, allocations: 1.003 MB / 0.6507 GB, free: 7.945 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003318/0.98, allocations: 1.456 MB / 0.6521 GB, free: 6.492 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/0.98, allocations: 0 / 0.6521 GB, free: 6.492 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.157/1.137, allocations: 47.82 MB / 0.6988 GB, free: 6.699 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003278/1.137, allocations: 189.8 kB / 0.699 GB, free: 6.445 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.32/5.458, allocations: 0 / 0.699 GB, free: 6.445 MB / 474.7 MB