Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01014/0.01014, allocations: 176 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 1.829/1.829, allocations: 194.5 MB / 210.3 MB, free: 8.582 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.002008/0.002008, allocations: 120.7 kB / 255.6 MB, free: 11.2 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.2374/0.2374, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004733, allocations: 10.94 kB / 406.3 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09659/0.0971, allocations: 54.88 MB / 461.1 MB, free: 3.289 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5056/0.6027, allocations: 100 MB / 0.548 GB, free: 21.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.6031, allocations: 76.7 kB / 0.5481 GB, free: 21.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3326/0.9357, allocations: 82.45 MB / 0.6286 GB, free: 15.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.9358, allocations: 0 / 0.6286 GB, free: 15.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003835/0.9362, allocations: 80 kB / 0.6287 GB, free: 14.96 MB / 410.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.03348/0.9697, allocations: 4.498 MB / 0.6331 GB, free: 10.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.466e-05/0.9698, allocations: 8.031 kB / 0.6331 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004929/0.9748, allocations: 0.7987 MB / 0.6339 GB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0249/0.9997, allocations: 2.268 MB / 0.6361 GB, free: 7.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0261/1.026, allocations: 4.796 MB / 0.6408 GB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007742/1.027, allocations: 332.8 kB / 0.6411 GB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003703/1.03, allocations: 451.8 kB / 0.6415 GB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05321/1.084, allocations: 10.61 MB / 0.6519 GB, free: 6.262 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005028/1.084, allocations: 59.41 kB / 0.6519 GB, free: 6.203 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003341/1.088, allocations: 215.9 kB / 0.6522 GB, free: 5.992 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003937/1.092, allocations: 1.01 MB / 0.6531 GB, free: 4.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03054/1.122, allocations: 8.504 MB / 0.6614 GB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09944/1.222, allocations: 49.3 MB / 0.7096 GB, free: 9.516 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0258/1.248, allocations: 3.531 MB / 0.713 GB, free: 5.836 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3629/1.611, allocations: 7.526 MB / 0.7204 GB, free: 119.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/1.611, allocations: 53.09 kB / 0.7204 GB, free: 119.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 5.03e-06/1.611, allocations: 0 / 0.7204 GB, free: 119.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=146): time 0.05509/1.666, allocations: 12.86 MB / 0.733 GB, free: 116.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001471/1.667, allocations: 1.63 MB / 0.7346 GB, free: 115.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00974/1.677, allocations: 3.532 MB / 0.738 GB, free: 114.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005321/1.678, allocations: 43.11 kB / 0.7381 GB, free: 114.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003229/1.681, allocations: 3.173 MB / 0.7412 GB, free: 113.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001224/1.682, allocations: 0.6022 MB / 0.7418 GB, free: 113 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000967/1.683, allocations: 117.5 kB / 0.7419 GB, free: 113 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004061/1.684, allocations: 0.5492 MB / 0.7424 GB, free: 112.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005361/1.689, allocations: 2.144 MB / 0.7445 GB, free: 112.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008215/1.697, allocations: 5.853 MB / 0.7502 GB, free: 107.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007808/1.705, allocations: 3.454 MB / 0.7536 GB, free: 107.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001422/1.705, allocations: 40.72 kB / 0.7536 GB, free: 107.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.03434/1.74, allocations: 9.204 MB / 0.7626 GB, free: 107.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/1.74, allocations: 65.41 kB / 0.7627 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01835/1.758, allocations: 3.536 MB / 0.7661 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01718/1.775, allocations: 1.944 MB / 0.768 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008122/1.784, allocations: 1.37 MB / 0.7694 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/1.797, allocations: 5.995 MB / 0.7752 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007626/1.804, allocations: 416.8 kB / 0.7756 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/1.806, allocations: 371.1 kB / 0.776 GB, free: 103.2 MB / 490.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): 3 * Torn equation systems: 1 * 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: 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 prepare postOptimizeDAE: time 0.005476/1.811, allocations: 2.101 MB / 0.778 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009669/1.812, allocations: 328.4 kB / 0.7783 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/1.823, allocations: 3.085 MB / 0.7814 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008781/1.832, allocations: 2.607 MB / 0.7839 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.711e-05/1.832, allocations: 3.281 kB / 0.7839 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-05/1.832, allocations: 3.469 kB / 0.7839 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/1.844, allocations: 3.854 MB / 0.7877 GB, free: 98.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.16e-05/1.844, allocations: 7.281 kB / 0.7877 GB, free: 98.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/1.846, allocations: 254.3 kB / 0.7879 GB, free: 98.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005509/1.852, allocations: 1.023 MB / 0.7889 GB, free: 98.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004868/1.852, allocations: 34.3 kB / 0.789 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008552/1.861, allocations: 5.092 MB / 0.7939 GB, free: 95.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001231/1.862, allocations: 1.495 MB / 0.7954 GB, free: 93.63 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/1.877, allocations: 5.491 MB / 0.8007 GB, free: 91.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/1.878, allocations: 407.6 kB / 0.8011 GB, free: 91.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001352/1.88, allocations: 31.47 kB / 0.8012 GB, free: 91.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0036/1.883, allocations: 144.9 kB / 0.8013 GB, free: 91.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006956/1.884, allocations: 83.98 kB / 0.8014 GB, free: 91.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000208/1.884, allocations: 48.44 kB / 0.8014 GB, free: 91.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00661/1.891, allocations: 2.446 MB / 0.8038 GB, free: 89.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.891, allocations: 0 / 0.8038 GB, free: 89.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007984/1.899, allocations: 1.067 MB / 0.8049 GB, free: 88.48 MB / 490.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.01523/1.914, allocations: 6.315 MB / 0.811 GB, free: 82.94 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01593/1.93, allocations: 5.696 MB / 0.8166 GB, free: 77.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.93, allocations: 4.25 kB / 0.8166 GB, free: 77.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007519/1.938, allocations: 2.202 MB / 0.8187 GB, free: 76.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00368/1.942, allocations: 399 kB / 0.8191 GB, free: 75.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4492/2.391, allocations: 125.9 MB / 0.9421 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006759/2.398, allocations: 3.328 MB / 0.9453 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008287/2.406, allocations: 1.868 MB / 0.9472 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00449/2.411, allocations: 1.855 MB / 0.949 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.903e-06/2.411, allocations: 0 / 0.949 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1817/2.592, allocations: 76.99 MB / 1.024 GB, free: 65.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/2.593, allocations: 214.3 kB / 1.024 GB, free: 65.32 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.436/8.029, allocations: 0 / 1.024 GB, free: 65.32 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat