Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Frames_AngularVelocity",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.009972/0.009972, allocations: 166.3 kB / 15.11 MB, free: 5.988 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.752/1.752, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001983/0.001983, allocations: 111.3 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.4451/0.4451, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006659/0.0006658, allocations: 12 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1113, allocations: 48.7 MB / 411.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5266/0.638, allocations: 93.33 MB / 0.4932 GB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.6383, allocations: 77.89 kB / 0.4932 GB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3987/1.037, allocations: 82.29 MB / 0.5736 GB, free: 12.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.485e-06/1.037, allocations: 0 / 0.5736 GB, free: 12.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002883/1.037, allocations: 84 kB / 0.5737 GB, free: 12.9 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.02531/1.063, allocations: 4.485 MB / 0.5781 GB, free: 8.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/1.063, allocations: 12.02 kB / 0.5781 GB, free: 8.328 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003871/1.067, allocations: 0.7948 MB / 0.5789 GB, free: 7.523 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01886/1.086, allocations: 2.252 MB / 0.5811 GB, free: 5.262 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02088/1.107, allocations: 4.777 MB / 0.5857 GB, free: 428 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005229/1.107, allocations: 336.8 kB / 0.586 GB, free: 88 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.401/1.508, allocations: 438.7 kB / 0.5865 GB, free: 79.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03746/1.546, allocations: 10.62 MB / 0.5968 GB, free: 76.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003982/1.546, allocations: 58.64 kB / 0.5969 GB, free: 76.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002538/1.549, allocations: 214 kB / 0.5971 GB, free: 76.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002502/1.551, allocations: 1.013 MB / 0.5981 GB, free: 76.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02702/1.578, allocations: 8.499 MB / 0.6064 GB, free: 76.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0805/1.659, allocations: 49.27 MB / 0.6545 GB, free: 43.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01608/1.675, allocations: 3.541 MB / 0.658 GB, free: 42.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0207/1.696, allocations: 7.528 MB / 0.6653 GB, free: 38.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/1.696, allocations: 54.22 kB / 0.6654 GB, free: 38.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 5.139e-06/1.696, allocations: 0 / 0.6654 GB, free: 38.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.05191/1.748, allocations: 12.86 MB / 0.6779 GB, free: 32.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001605/1.749, allocations: 1.625 MB / 0.6795 GB, free: 31.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009711/1.759, allocations: 3.532 MB / 0.683 GB, free: 30.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004882/1.76, allocations: 41.52 kB / 0.683 GB, free: 30.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002892/1.763, allocations: 3.167 MB / 0.6861 GB, free: 27.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.764, allocations: 0.6002 MB / 0.6867 GB, free: 27.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008307/1.765, allocations: 117.8 kB / 0.6868 GB, free: 27.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004302/1.765, allocations: 0.5566 MB / 0.6873 GB, free: 26.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005699/1.771, allocations: 2.123 MB / 0.6894 GB, free: 25.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008194/1.779, allocations: 5.841 MB / 0.6951 GB, free: 20.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008102/1.787, allocations: 3.431 MB / 0.6985 GB, free: 18.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001389/1.787, allocations: 47.17 kB / 0.6985 GB, free: 18.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.02553/1.813, allocations: 8.522 MB / 0.7068 GB, free: 15.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/1.813, allocations: 65.25 kB / 0.7069 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01011/1.823, allocations: 2.838 MB / 0.7097 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005816/1.829, allocations: 1.128 MB / 0.7108 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008563/1.838, allocations: 1.375 MB / 0.7121 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008046/1.846, allocations: 4.815 MB / 0.7168 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007711/1.854, allocations: 415.7 kB / 0.7172 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00158/1.855, allocations: 367.7 kB / 0.7176 GB, free: 10.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * Number of states: 0 () * Number of discrete variables: 36 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (735): * Single equations (assignments): 726 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.006206/1.862, allocations: 2.094 MB / 0.7196 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009209/1.863, allocations: 327.7 kB / 0.7199 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/1.873, allocations: 3.084 MB / 0.7229 GB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008448/1.881, allocations: 2.611 MB / 0.7255 GB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-05/1.881, allocations: 4 kB / 0.7255 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.281e-05/1.881, allocations: 7.5 kB / 0.7255 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/1.892, allocations: 3.841 MB / 0.7292 GB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-05/1.892, allocations: 3.844 kB / 0.7292 GB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00261/1.895, allocations: 249.5 kB / 0.7295 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005565/1.9, allocations: 1.032 MB / 0.7305 GB, free: 280 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004949/1.901, allocations: 35.52 kB / 0.7305 GB, free: 248 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009968/1.911, allocations: 5.103 MB / 0.7355 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001614/1.913, allocations: 1.489 MB / 0.737 GB, free: 9.941 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01601/1.929, allocations: 5.5 MB / 0.7423 GB, free: 5.195 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/1.93, allocations: 402.2 kB / 0.7427 GB, free: 4.797 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001198/1.931, allocations: 28.11 kB / 0.7427 GB, free: 4.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003497/1.935, allocations: 151.9 kB / 0.7429 GB, free: 4.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000654/1.936, allocations: 83.5 kB / 0.743 GB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/1.936, allocations: 39.05 kB / 0.743 GB, free: 4.598 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007117/1.943, allocations: 2.45 MB / 0.7454 GB, free: 2.598 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.943, allocations: 0 / 0.7454 GB, free: 2.598 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007813/1.951, allocations: 1.058 MB / 0.7464 GB, free: 1.547 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3342/2.285, allocations: 6.356 MB / 0.7526 GB, free: 84.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01582/2.301, allocations: 5.674 MB / 0.7582 GB, free: 84.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/2.301, allocations: 0 / 0.7582 GB, free: 84.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007294/2.308, allocations: 2.207 MB / 0.7603 GB, free: 84.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003419/2.312, allocations: 396.3 kB / 0.7607 GB, free: 84.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1164/2.428, allocations: 125.2 MB / 0.883 GB, free: 25.37 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008413/2.437, allocations: 3.329 MB / 0.8862 GB, free: 24.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01002/2.447, allocations: 1.872 MB / 0.888 GB, free: 24.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005019/2.452, allocations: 1.852 MB / 0.8899 GB, free: 23.77 MB / 490.7 MB Notification: Performance of SimCode: time 2.535e-06/2.452, allocations: 0 / 0.8899 GB, free: 23.77 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5421/2.994, allocations: 75.17 MB / 0.9633 GB, free: 121.3 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/2.994, allocations: 204.4 kB / 0.9634 GB, free: 121.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.228/8.223, allocations: 0 / 0.9634 GB, free: 121.1 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat