Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.009704/0.009709, allocations: 162.1 kB / 15.12 MB, free: 6.023 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.822/1.822, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.002443/0.002443, allocations: 105.6 kB / 226.2 MB, free: 10.11 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.4549/0.4549, allocations: 38.05 MB / 303.7 MB, free: 42.74 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006889/0.0006891, allocations: 19.94 kB / 363 MB, free: 5.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1217, allocations: 48.71 MB / 411.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.3799/0.5016, allocations: 41.32 MB / 453 MB, free: 28.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02297/0.5246, allocations: 8.467 MB / 461.5 MB, free: 22.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008612/0.5333, allocations: 187.8 kB / 461.7 MB, free: 22.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006707/0.5401, allocations: 1.969 MB / 463.7 MB, free: 22 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02531/0.5654, allocations: 6.405 MB / 470.1 MB, free: 19.2 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.5694, allocations: 0.6526 MB / 470.7 MB, free: 18.94 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005387/0.5749, allocations: 3.1 MB / 473.8 MB, free: 17.79 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0105/0.5854, allocations: 5.203 MB / 479 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002562/0.5881, allocations: 0.9475 MB / 480 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003704/0.5918, allocations: 1.459 MB / 481.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008347/0.5927, allocations: 131.3 kB / 481.5 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.5954, allocations: 0.7162 MB / 482.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002479/0.5979, allocations: 1.361 MB / 483.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.5993, allocations: 0.7034 MB / 484.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007655/0.6069, allocations: 5.037 MB / 489.4 MB, free: 9.926 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.607, allocations: 1.344 kB / 489.4 MB, free: 9.926 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.607, allocations: 0 / 489.4 MB, free: 9.926 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002614/0.6073, allocations: 4 kB / 489.4 MB, free: 9.922 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: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01408/0.6214, allocations: 3.62 MB / 493 MB, free: 7.402 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.6215, allocations: 9.625 kB / 493 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002497/0.624, allocations: 0.6283 MB / 493.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005095/0.6291, allocations: 0.5946 MB / 494.2 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006483/0.6356, allocations: 1.809 MB / 496 MB, free: 5.379 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.6359, allocations: 247.1 kB / 496.3 MB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001608/0.6376, allocations: 319.6 kB / 496.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.029/0.6666, allocations: 9.201 MB / 0.4939 GB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.6668, allocations: 11.88 kB / 0.4939 GB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007725/0.6676, allocations: 143.8 kB / 0.4941 GB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005278/0.6729, allocations: 1.588 MB / 0.4956 GB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03989/0.7128, allocations: 7.425 MB / 0.5029 GB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08075/0.7937, allocations: 28.16 MB / 0.5304 GB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01371/0.8075, allocations: 2.331 MB / 0.5327 GB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002806/0.8103, allocations: 1.135 MB / 0.5338 GB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01908/0.8294, allocations: 7.852 MB / 0.5414 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.8296, allocations: 51.16 kB / 0.5415 GB, free: 11.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=84): time 4.358e-06/0.8296, allocations: 0 / 0.5415 GB, free: 11.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=103): time 0.03702/0.8666, allocations: 7.352 MB / 0.5487 GB, free: 4.414 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.8668, allocations: 141.5 kB / 0.5488 GB, free: 4.246 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005585/0.8724, allocations: 2.623 MB / 0.5514 GB, free: 1.605 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002718/0.8727, allocations: 45.7 kB / 0.5514 GB, free: 1.555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002652/0.8753, allocations: 2.396 MB / 0.5537 GB, free: 15.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006872/0.8761, allocations: 414.8 kB / 0.5541 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004104/0.8765, allocations: 76 kB / 0.5542 GB, free: 14.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004127/0.8769, allocations: 474.4 kB / 0.5547 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003345/0.8803, allocations: 1.108 MB / 0.5558 GB, free: 13.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005612/0.886, allocations: 3.481 MB / 0.5592 GB, free: 8.402 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00486/0.8909, allocations: 1.88 MB / 0.561 GB, free: 6.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.401e-05/0.891, allocations: 24 kB / 0.561 GB, free: 6.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=496) (initialization): time 0.01281/0.9038, allocations: 4.477 MB / 0.5654 GB, free: 2.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.718e-05/0.9039, allocations: 44 kB / 0.5654 GB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/0.9041, allocations: 88 kB / 0.5655 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.9043, allocations: 124 kB / 0.5656 GB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005962/0.9103, allocations: 0.9358 MB / 0.5665 GB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002247/0.9105, allocations: 167.4 kB / 0.5667 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004134/0.9147, allocations: 196 kB / 0.5669 GB, free: 488 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008354/0.9156, allocations: 231.9 kB / 0.5671 GB, free: 256 kB / 410.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.004508/0.9201, allocations: 1.593 MB / 0.5687 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006445/0.9208, allocations: 229 kB / 0.5689 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004304/0.9251, allocations: 1.513 MB / 0.5704 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/0.9252, allocations: 15.94 kB / 0.5704 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.9252, allocations: 0 / 0.5704 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-05/0.9252, allocations: 3.984 kB / 0.5704 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01807/0.9433, allocations: 6.255 MB / 0.5765 GB, free: 6.301 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-05/0.9434, allocations: 20 kB / 0.5765 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/0.945, allocations: 231.6 kB / 0.5767 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.752e-05/0.9451, allocations: 24 kB / 0.5767 GB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.9452, allocations: 44 kB / 0.5768 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.293e-05/0.9453, allocations: 36.38 kB / 0.5768 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.558e-05/0.9453, allocations: 23.94 kB / 0.5768 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003755/0.9491, allocations: 1.889 MB / 0.5787 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.9503, allocations: 326 kB / 0.579 GB, free: 3.457 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008753/0.9512, allocations: 47.98 kB / 0.579 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/0.9533, allocations: 47.97 kB / 0.5791 GB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004229/0.9537, allocations: 136 kB / 0.5792 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.9539, allocations: 52 kB / 0.5793 GB, free: 3.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004828/0.9587, allocations: 1.668 MB / 0.5809 GB, free: 1.504 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.82e-07/0.9588, allocations: 0 / 0.5809 GB, free: 1.504 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005468/0.9643, allocations: 0.6758 MB / 0.5816 GB, free: 0.8281 MB / 426.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.2896/1.254, allocations: 2.51 MB / 0.584 GB, free: 125.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007034/1.261, allocations: 2.556 MB / 0.5865 GB, free: 125.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.17e-05/1.261, allocations: 2.375 kB / 0.5865 GB, free: 125.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001605/1.263, allocations: 0.598 MB / 0.5871 GB, free: 125.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/1.266, allocations: 320.3 kB / 0.5874 GB, free: 125.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05481/1.321, allocations: 21.71 MB / 0.6086 GB, free: 111.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00523/1.326, allocations: 2.809 MB / 0.6113 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004909/1.331, allocations: 1.042 MB / 0.6124 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003137/1.334, allocations: 1.455 MB / 0.6138 GB, free: 109.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.273e-06/1.334, allocations: 0 / 0.6138 GB, free: 109.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1272/1.461, allocations: 50.41 MB / 0.663 GB, free: 75.17 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002645/1.462, allocations: 169.9 kB / 0.6632 GB, free: 74.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.771/6.233, allocations: 3.391 kB / 0.6632 GB, free: 74.93 MB / 426.7 MB