Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies.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.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FlyingBodies",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.009834/0.009839, allocations: 177.3 kB / 15.12 MB, free: 5.934 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.043/2.043, allocations: 194.5 MB / 210.3 MB, free: 7.797 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.001977/0.001976, allocations: 108.7 kB / 255.6 MB, free: 10.42 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.255/0.255, allocations: 40.01 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00051/0.0005102, allocations: 12.53 kB / 406.3 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1024, allocations: 54.88 MB / 461.1 MB, free: 3.234 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4969/0.5993, allocations: 96.56 MB / 0.5446 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.5997, allocations: 78.03 kB / 0.5447 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.124/1.724, allocations: 196.5 MB / 0.7366 GB, free: 78.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.116e-06/1.724, allocations: 0 / 0.7366 GB, free: 78.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006303/1.724, allocations: 158.2 kB / 0.7368 GB, free: 78.55 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3302 * Number of variables: 3302 Notification: Performance of Generate backend data structure: time 0.07339/1.798, allocations: 10.13 MB / 0.7467 GB, free: 75.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.798, allocations: 8.531 kB / 0.7467 GB, free: 75.02 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009478/1.807, allocations: 1.662 MB / 0.7483 GB, free: 74.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1144/1.922, allocations: 12.04 MB / 0.76 GB, free: 74.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04438/1.966, allocations: 11.93 MB / 0.7717 GB, free: 73.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009164/1.967, allocations: 0.6303 MB / 0.7723 GB, free: 73.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00598/1.973, allocations: 0.8317 MB / 0.7731 GB, free: 73.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06609/2.039, allocations: 21.75 MB / 0.7944 GB, free: 70.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006483/2.04, allocations: 73.06 kB / 0.7944 GB, free: 70.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005271/2.045, allocations: 385.3 kB / 0.7948 GB, free: 70.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00542/2.051, allocations: 2.459 MB / 0.7972 GB, free: 70.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05904/2.11, allocations: 21.25 MB / 0.8179 GB, free: 68.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.17/2.28, allocations: 81.01 MB / 0.897 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03287/2.313, allocations: 9.746 MB / 0.9066 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008538/2.314, allocations: 73.12 kB / 0.9066 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.698e-05/2.314, allocations: 86.5 kB / 0.9067 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=583): time 1.127e-05/2.314, allocations: 4 kB / 0.9067 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of matching and sorting (n=611): time 0.5963/2.91, allocations: 43.22 MB / 0.9489 GB, free: 78.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005164/2.915, allocations: 6.185 MB / 0.955 GB, free: 72.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01592/2.931, allocations: 5.739 MB / 0.9606 GB, free: 72.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001624/2.933, allocations: 108.4 kB / 0.9607 GB, free: 72.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005589/2.939, allocations: 5.845 MB / 0.9664 GB, free: 69.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004027/2.943, allocations: 2.246 MB / 0.9686 GB, free: 68.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002715/2.945, allocations: 235.1 kB / 0.9688 GB, free: 68.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001276/2.947, allocations: 0.8434 MB / 0.9696 GB, free: 68.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01602/2.963, allocations: 6.383 MB / 0.9759 GB, free: 67.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02202/2.985, allocations: 12.56 MB / 0.9881 GB, free: 60.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02083/3.006, allocations: 8.97 MB / 0.9969 GB, free: 59.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002695/3.006, allocations: 58.75 kB / 0.9969 GB, free: 59.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1637) (initialization): time 0.07115/3.077, allocations: 21.82 MB / 1.018 GB, free: 52.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002003/3.078, allocations: 97.81 kB / 1.018 GB, free: 52.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04464/3.122, allocations: 13.32 MB / 1.031 GB, free: 48.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02506/3.147, allocations: 3.578 MB / 1.035 GB, free: 48.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01959/3.167, allocations: 2.915 MB / 1.038 GB, free: 46.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01829/3.185, allocations: 12.46 MB / 1.05 GB, free: 34.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01751/3.203, allocations: 1.104 MB / 1.051 GB, free: 33.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003491/3.206, allocations: 0.6658 MB / 1.052 GB, free: 32.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 972 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1489): * Single equations (assignments): 1455 * Array equations: 20 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01463/3.221, allocations: 4.491 MB / 1.056 GB, free: 28.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003153/3.224, allocations: 0.6517 MB / 1.057 GB, free: 28.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0514/3.276, allocations: 14.66 MB / 1.071 GB, free: 16.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08595/3.362, allocations: 13.12 MB / 1.084 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001018/3.362, allocations: 8 kB / 1.084 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001682/3.362, allocations: 24.94 kB / 1.084 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5547/3.917, allocations: 33.76 MB / 1.117 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001034/3.917, allocations: 9.156 kB / 1.117 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01109/3.928, allocations: 1.139 MB / 1.118 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02426/3.952, allocations: 3.612 MB / 1.121 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001808/3.954, allocations: 146.9 kB / 1.122 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02225/3.977, allocations: 13.91 MB / 1.135 GB, free: 78.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004976/3.982, allocations: 5.949 MB / 1.141 GB, free: 73.06 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06636/4.048, allocations: 23.73 MB / 1.164 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002989/4.051, allocations: 0.6912 MB / 1.165 GB, free: 69.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003637/4.055, allocations: 127.7 kB / 1.165 GB, free: 69.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01033/4.065, allocations: 0.5931 MB / 1.165 GB, free: 69.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002566/4.068, allocations: 371.6 kB / 1.166 GB, free: 69.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001759/4.07, allocations: 169.4 kB / 1.166 GB, free: 69.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01254/4.082, allocations: 3.996 MB / 1.17 GB, free: 69.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.82e-07/4.082, allocations: 0 / 1.17 GB, free: 69.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01785/4.1, allocations: 2.547 MB / 1.172 GB, free: 69.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 48 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],BodyBox1.v_0[1],BodyBox1.v_0[2],BodyBox1.v_0[3],BodyBox1.body.frame_a.r_0[1],BodyBox1.body.frame_a.r_0[2],BodyBox1.body.frame_a.r_0[3],BodyBox1.body.w_a[1],BodyBox1.body.w_a[2],BodyBox1.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (475): * Single equations (assignments): 449 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06922/4.169, allocations: 26.32 MB / 1.198 GB, free: 59.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04179/4.211, allocations: 16.89 MB / 1.215 GB, free: 53.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.88e-05/4.211, allocations: 3.812 kB / 1.215 GB, free: 53.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02278/4.234, allocations: 8.202 MB / 1.223 GB, free: 48.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00968/4.244, allocations: 0.8784 MB / 1.223 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6767/4.921, allocations: 238.3 MB / 1.456 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01697/4.938, allocations: 6.822 MB / 1.463 GB, free: 21.92 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02099/4.959, allocations: 4.795 MB / 1.467 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0117/4.97, allocations: 4.35 MB / 1.472 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of SimCode: time 1.543e-06/4.97, allocations: 0 / 1.472 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7756/5.746, allocations: 174 MB / 1.642 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/5.746, allocations: 209.9 kB / 1.642 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.939/14.69, allocations: 0 / 1.642 GB, free: 146.1 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat does not exist to compare? outputFormat=mat