Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointRRR",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.01435/0.01435, allocations: 176.1 kB / 15.12 MB, free: 5.93 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.04/2.04, 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.001955/0.001954, allocations: 112.7 kB / 255.6 MB, free: 11.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.317/0.317, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004902, allocations: 11.38 kB / 406.3 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1113, allocations: 54.87 MB / 461.1 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5223/0.6336, allocations: 102.9 MB / 0.5508 GB, free: 21.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.634, allocations: 75.91 kB / 0.5509 GB, free: 21.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2877/0.9216, allocations: 73.6 MB / 0.6228 GB, free: 4.625 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.103e-06/0.9217, allocations: 0 / 0.6228 GB, free: 4.625 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002774/0.922, allocations: 83.94 kB / 0.6229 GB, free: 4.543 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: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.01956/0.9416, allocations: 4.285 MB / 0.6271 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.9417, allocations: 8.031 kB / 0.6271 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003653/0.9453, allocations: 0.7007 MB / 0.6278 GB, free: 148 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007969/0.9533, allocations: 0.7541 MB / 0.6285 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.9636, allocations: 2.577 MB / 0.631 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005333/0.9642, allocations: 320.2 kB / 0.6313 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002448/0.9667, allocations: 419.9 kB / 0.6317 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03886/1.006, allocations: 9.947 MB / 0.6414 GB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000196/1.006, allocations: 19.81 kB / 0.6414 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001716/1.008, allocations: 183.9 kB / 0.6416 GB, free: 1.656 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002937/1.011, allocations: 0.8629 MB / 0.6425 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03249/1.043, allocations: 8.496 MB / 0.6508 GB, free: 8.285 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08089/1.124, allocations: 31.84 MB / 0.6818 GB, free: 7.672 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02002/1.144, allocations: 3.029 MB / 0.6848 GB, free: 4.605 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0221/1.166, allocations: 8.972 MB / 0.6936 GB, free: 11.15 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.793e-05/1.166, allocations: 51.48 kB / 0.6936 GB, free: 11.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=91): time 3.947e-06/1.166, allocations: 4 kB / 0.6936 GB, free: 11.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.05662/1.223, allocations: 8.719 MB / 0.7021 GB, free: 2.328 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.223, allocations: 111.8 kB / 0.7022 GB, free: 2.195 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009896/1.233, allocations: 2.521 MB / 0.7047 GB, free: 15.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004473/1.234, allocations: 45.7 kB / 0.7047 GB, free: 15.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004517/1.238, allocations: 2.501 MB / 0.7072 GB, free: 13.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001079/1.239, allocations: 430.6 kB / 0.7076 GB, free: 12.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008646/1.24, allocations: 84 kB / 0.7077 GB, free: 12.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006894/1.241, allocations: 482.7 kB / 0.7081 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006873/1.248, allocations: 1.429 MB / 0.7095 GB, free: 10.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01004/1.258, allocations: 3.755 MB / 0.7132 GB, free: 5.727 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009119/1.267, allocations: 2.219 MB / 0.7154 GB, free: 3.504 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001017/1.267, allocations: 20 kB / 0.7154 GB, free: 3.484 MB / 490.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.4311/1.698, allocations: 5.15 MB / 0.7204 GB, free: 122.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.095e-05/1.699, allocations: 42.84 kB / 0.7205 GB, free: 122.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001522/1.699, allocations: 80.42 kB / 0.7205 GB, free: 122.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/1.699, allocations: 123.2 kB / 0.7207 GB, free: 122.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006929/1.706, allocations: 0.9984 MB / 0.7216 GB, free: 122.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002307/1.706, allocations: 160.6 kB / 0.7218 GB, free: 122.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004891/1.711, allocations: 239.2 kB / 0.722 GB, free: 122.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.712, allocations: 237.8 kB / 0.7222 GB, free: 122.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 46 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.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 (521): * Single equations (assignments): 520 * Array equations: 1 * 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.005125/1.717, allocations: 1.748 MB / 0.7239 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006783/1.718, allocations: 240 kB / 0.7242 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006319/1.724, allocations: 2.057 MB / 0.7262 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-05/1.724, allocations: 15.12 kB / 0.7262 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/1.724, allocations: 0 / 0.7262 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/1.725, allocations: 7.891 kB / 0.7262 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02454/1.749, allocations: 6.987 MB / 0.733 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.318e-05/1.749, allocations: 21.19 kB / 0.733 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002953/1.752, allocations: 293.4 kB / 0.7333 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.58e-05/1.752, allocations: 28.12 kB / 0.7334 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002227/1.752, allocations: 50.58 kB / 0.7334 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.739e-05/1.753, allocations: 37.48 kB / 0.7334 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.73e-05/1.753, allocations: 29.09 kB / 0.7335 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006771/1.759, allocations: 4.259 MB / 0.7376 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/1.761, allocations: 352 kB / 0.738 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007442/1.762, allocations: 49.8 kB / 0.738 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002734/1.764, allocations: 76.62 kB / 0.7381 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003878/1.765, allocations: 149.4 kB / 0.7382 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/1.765, allocations: 67.14 kB / 0.7383 GB, free: 117.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005405/1.77, allocations: 1.781 MB / 0.74 GB, free: 117.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.51e-07/1.77, allocations: 0 / 0.74 GB, free: 117.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007658/1.778, allocations: 0.764 MB / 0.7408 GB, free: 117.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * 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 (155): * Single equations (assignments): 155 * 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.007994/1.786, allocations: 9.557 MB / 0.7501 GB, free: 109.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009386/1.796, allocations: 3.191 MB / 0.7532 GB, free: 109.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.953e-05/1.796, allocations: 7.125 kB / 0.7532 GB, free: 109.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002673/1.798, allocations: 0.8828 MB / 0.7541 GB, free: 109.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003344/1.802, allocations: 323.2 kB / 0.7544 GB, free: 109.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0398/1.842, allocations: 69.48 MB / 0.8222 GB, free: 45.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006589/1.848, allocations: 3.025 MB / 0.8252 GB, free: 44.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005429/1.854, allocations: 1.043 MB / 0.8262 GB, free: 44.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003809/1.858, allocations: 1.58 MB / 0.8278 GB, free: 42.88 MB / 490.7 MB Notification: Performance of SimCode: time 1.242e-06/1.858, allocations: 7.562 kB / 0.8278 GB, free: 42.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1693/2.027, allocations: 55.86 MB / 0.8823 GB, free: 16.64 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/2.027, allocations: 170.3 kB / 0.8825 GB, free: 16.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.284/6.311, allocations: 0 / 0.8825 GB, free: 16.39 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat