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.01005/0.01005, allocations: 176.1 kB / 15.12 MB, free: 5.984 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.108/2.108, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.003209/0.003209, allocations: 132.6 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.284/0.284, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000701/0.0007009, allocations: 15.41 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1085, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5247/0.6333, allocations: 101 MB / 0.5489 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.6336, allocations: 77.02 kB / 0.549 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2875/0.9212, allocations: 75.7 MB / 0.6229 GB, free: 3.844 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.9212, allocations: 0 / 0.6229 GB, free: 3.844 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002315/0.9215, allocations: 76 kB / 0.623 GB, free: 3.77 MB / 394.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.01817/0.9397, allocations: 3.956 MB / 0.6269 GB, free: 88 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.9397, allocations: 8.031 kB / 0.6269 GB, free: 80 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003439/0.9432, allocations: 0.6624 MB / 0.6275 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006615/0.9499, allocations: 0.6716 MB / 0.6282 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008965/0.9589, allocations: 2.218 MB / 0.6303 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004958/0.9594, allocations: 297.3 kB / 0.6306 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002205/0.9617, allocations: 383.9 kB / 0.631 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03549/0.9972, allocations: 8.924 MB / 0.6397 GB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001612/0.9974, allocations: 15.81 kB / 0.6397 GB, free: 3.281 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001194/0.9986, allocations: 171.9 kB / 0.6399 GB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002826/1.001, allocations: 0.8388 MB / 0.6407 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0289/1.03, allocations: 7.291 MB / 0.6478 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06799/1.098, allocations: 29.03 MB / 0.6762 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/1.112, allocations: 2.283 MB / 0.6784 GB, free: 10.83 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01622/1.128, allocations: 7.587 MB / 0.6858 GB, free: 2.672 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.433e-05/1.128, allocations: 47.22 kB / 0.6859 GB, free: 2.617 MB / 458.7 MB Notification: Performance of pre-optimization done (n=81): time 3.657e-06/1.128, allocations: 0 / 0.6859 GB, free: 2.617 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.03465/1.163, allocations: 7.133 MB / 0.6928 GB, free: 11.44 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/1.163, allocations: 137.5 kB / 0.693 GB, free: 11.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005996/1.169, allocations: 2.333 MB / 0.6952 GB, free: 8.926 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002734/1.17, allocations: 49.73 kB / 0.6953 GB, free: 8.871 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00269/1.172, allocations: 2.414 MB / 0.6976 GB, free: 6.422 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006746/1.173, allocations: 387.2 kB / 0.698 GB, free: 6.039 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003734/1.173, allocations: 80 kB / 0.6981 GB, free: 5.961 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003681/1.174, allocations: 466.3 kB / 0.6985 GB, free: 5.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003052/1.177, allocations: 1.069 MB / 0.6996 GB, free: 4.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005539/1.182, allocations: 3.449 MB / 0.7029 GB, free: 15.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00509/1.188, allocations: 1.833 MB / 0.7047 GB, free: 13.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-05/1.188, allocations: 28 kB / 0.7048 GB, free: 13.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=497) (initialization): time 0.01343/1.201, allocations: 4.41 MB / 0.7091 GB, free: 9.512 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.436e-05/1.201, allocations: 40 kB / 0.7091 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/1.201, allocations: 84 kB / 0.7092 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/1.202, allocations: 128 kB / 0.7093 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005852/1.207, allocations: 0.9401 MB / 0.7102 GB, free: 8.324 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002145/1.208, allocations: 171.4 kB / 0.7104 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003942/1.212, allocations: 195.8 kB / 0.7106 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006921/1.212, allocations: 236 kB / 0.7108 GB, free: 7.734 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 388 * 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 (497): * Single equations (assignments): 497 * 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.004404/1.217, allocations: 1.585 MB / 0.7124 GB, free: 6.137 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006704/1.218, allocations: 237 kB / 0.7126 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004029/1.222, allocations: 1.381 MB / 0.7139 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/1.222, allocations: 12.14 kB / 0.7139 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/1.222, allocations: 3.984 kB / 0.7139 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/1.222, allocations: 3.984 kB / 0.7139 GB, free: 4.488 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3627/1.584, allocations: 6.17 MB / 0.72 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-05/1.585, allocations: 14.53 kB / 0.72 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/1.586, allocations: 241.5 kB / 0.7202 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.624e-05/1.586, allocations: 24.47 kB / 0.7202 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/1.586, allocations: 44.44 kB / 0.7203 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.193e-05/1.586, allocations: 38.84 kB / 0.7203 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-05/1.587, allocations: 24.22 kB / 0.7203 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004354/1.591, allocations: 3.574 MB / 0.7238 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009598/1.592, allocations: 328.7 kB / 0.7241 GB, free: 122.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000857/1.593, allocations: 46.28 kB / 0.7242 GB, free: 122.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/1.595, allocations: 53.77 kB / 0.7242 GB, free: 122.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004019/1.595, allocations: 138.7 kB / 0.7244 GB, free: 122.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/1.595, allocations: 51.67 kB / 0.7244 GB, free: 122.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005007/1.6, allocations: 1.668 MB / 0.7261 GB, free: 122.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.6, allocations: 0 / 0.7261 GB, free: 122.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005234/1.606, allocations: 0.6787 MB / 0.7267 GB, free: 122.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * 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 (130): * Single equations (assignments): 130 * 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.006422/1.612, allocations: 8.677 MB / 0.7352 GB, free: 115.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006818/1.619, allocations: 2.517 MB / 0.7376 GB, free: 115 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.059e-05/1.619, allocations: 6.344 kB / 0.7377 GB, free: 115 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001636/1.621, allocations: 0.6128 MB / 0.7382 GB, free: 115 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/1.623, allocations: 300.8 kB / 0.7385 GB, free: 115 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03766/1.661, allocations: 70.82 MB / 0.8077 GB, free: 48.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006011/1.667, allocations: 2.809 MB / 0.8104 GB, free: 48.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005391/1.672, allocations: 1.043 MB / 0.8115 GB, free: 47.92 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003406/1.676, allocations: 1.463 MB / 0.8129 GB, free: 47.91 MB / 490.7 MB Notification: Performance of SimCode: time 1.253e-06/1.676, allocations: 0 / 0.8129 GB, free: 47.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.158/1.834, allocations: 49.28 MB / 0.861 GB, free: 34.89 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/1.834, allocations: 178.4 kB / 0.8612 GB, free: 34.64 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.364/6.198, allocations: 0 / 0.8612 GB, free: 34.64 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat