Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001641/0.001641, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008935/0.0008935, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2076/0.2076, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003809, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1237, allocations: 58.86 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4037/0.5274, allocations: 102.8 MB / 0.5792 GB, free: 13.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.5277, allocations: 80.33 kB / 0.5793 GB, free: 13.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7751/1.303, allocations: 197.2 MB / 0.7719 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.006e-06/1.303, allocations: 0 / 0.7719 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0009031/1.304, allocations: 159.8 kB / 0.7721 GB, free: 102.3 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3305 * Number of variables: 3305 Notification: Performance of Generate backend data structure: time 0.04729/1.351, allocations: 10.14 MB / 0.782 GB, free: 98.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/1.351, allocations: 10.41 kB / 0.782 GB, free: 98.64 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01116/1.362, allocations: 1.661 MB / 0.7836 GB, free: 98.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04793/1.41, allocations: 12.04 MB / 0.7954 GB, free: 97.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03257/1.443, allocations: 11.96 MB / 0.807 GB, free: 91.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001137/1.444, allocations: 0.6254 MB / 0.8076 GB, free: 90.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006238/1.45, allocations: 0.8388 MB / 0.8085 GB, free: 89.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05989/1.51, allocations: 21.76 MB / 0.8297 GB, free: 67.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007931/1.511, allocations: 75.31 kB / 0.8298 GB, free: 67.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006022/1.517, allocations: 383.8 kB / 0.8301 GB, free: 66.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003642/1.521, allocations: 2.468 MB / 0.8326 GB, free: 64.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04299/1.564, allocations: 21.25 MB / 0.8533 GB, free: 43.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4322/1.996, allocations: 81.07 MB / 0.9325 GB, free: 51.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02209/2.018, allocations: 9.749 MB / 0.942 GB, free: 49.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005142/2.019, allocations: 77.7 kB / 0.9421 GB, free: 49.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.272e-05/2.019, allocations: 85.31 kB / 0.9422 GB, free: 49.67 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=583): time 1.413e-05/2.019, allocations: 1.859 kB / 0.9422 GB, free: 49.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=611): time 0.08606/2.105, allocations: 43.07 MB / 0.9842 GB, free: 41.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004074/2.109, allocations: 6.189 MB / 0.9903 GB, free: 35.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01208/2.121, allocations: 5.766 MB / 0.9959 GB, free: 33.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00178/2.123, allocations: 108.4 kB / 0.996 GB, free: 33.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004754/2.128, allocations: 5.858 MB / 1.002 GB, free: 29.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003546/2.132, allocations: 2.241 MB / 1.004 GB, free: 27.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002243/2.134, allocations: 243.7 kB / 1.004 GB, free: 27.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001002/2.135, allocations: 0.8506 MB / 1.005 GB, free: 26.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01007/2.145, allocations: 6.389 MB / 1.011 GB, free: 24.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01537/2.16, allocations: 12.59 MB / 1.023 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01529/2.176, allocations: 8.971 MB / 1.032 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003116/2.176, allocations: 66.52 kB / 1.032 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1640) (initialization): time 0.05017/2.226, allocations: 21.9 MB / 1.054 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005325/2.227, allocations: 100 kB / 1.054 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03392/2.261, allocations: 13.32 MB / 1.067 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01483/2.276, allocations: 3.592 MB / 1.07 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01288/2.289, allocations: 2.924 MB / 1.073 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/2.303, allocations: 12.45 MB / 1.085 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01336/2.316, allocations: 1.112 MB / 1.086 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004077/2.321, allocations: 0.6765 MB / 1.087 GB, free: 15.14 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 975 * Number of states: 0 () * Number of discrete variables: 48 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1492): * Single equations (assignments): 1458 * 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.01682/2.337, allocations: 4.502 MB / 1.091 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003665/2.341, allocations: 0.6552 MB / 1.092 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3965/2.738, allocations: 14.83 MB / 1.107 GB, free: 125.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03246/2.77, allocations: 13.13 MB / 1.119 GB, free: 125.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.377e-05/2.77, allocations: 6.188 kB / 1.119 GB, free: 125.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001512/2.77, allocations: 25.22 kB / 1.119 GB, free: 125.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06768/2.838, allocations: 33.44 MB / 1.152 GB, free: 122.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.024e-05/2.838, allocations: 10.19 kB / 1.152 GB, free: 122.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005655/2.844, allocations: 1.139 MB / 1.153 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01197/2.856, allocations: 3.615 MB / 1.157 GB, free: 122 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001986/2.858, allocations: 149.5 kB / 1.157 GB, free: 122 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/2.871, allocations: 13.91 MB / 1.17 GB, free: 112.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003469/2.874, allocations: 5.945 MB / 1.176 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03654/2.911, allocations: 23.74 MB / 1.199 GB, free: 97.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003088/2.914, allocations: 0.6957 MB / 1.2 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003182/2.917, allocations: 129.1 kB / 1.2 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006636/2.924, allocations: 0.5999 MB / 1.201 GB, free: 96.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002156/2.926, allocations: 374.9 kB / 1.201 GB, free: 96.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004998/2.927, allocations: 154.7 kB / 1.201 GB, free: 96.84 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01174/2.938, allocations: 4.025 MB / 1.205 GB, free: 95.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.11e-07/2.938, allocations: 0 / 1.205 GB, free: 95.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01652/2.955, allocations: 2.541 MB / 1.208 GB, free: 95.28 MB / 0.5417 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.05001/3.005, allocations: 26.34 MB / 1.234 GB, free: 73.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02993/3.035, allocations: 16.9 MB / 1.25 GB, free: 58.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.976e-05/3.035, allocations: 0 / 1.25 GB, free: 58.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01473/3.05, allocations: 8.205 MB / 1.258 GB, free: 51.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01042/3.06, allocations: 0.8742 MB / 1.259 GB, free: 50.87 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6137/3.674, allocations: 239 MB / 1.492 GB, free: 31.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01915/3.693, allocations: 6.828 MB / 1.499 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01796/3.711, allocations: 4.811 MB / 1.504 GB, free: 30.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01231/3.724, allocations: 4.356 MB / 1.508 GB, free: 28.61 MB / 0.6042 GB Notification: Performance of SimCode: time 1.453e-06/3.724, allocations: 4 kB / 1.508 GB, free: 28.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6152/4.339, allocations: 174.4 MB / 1.678 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/4.339, allocations: 222.1 kB / 1.678 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/12.15, allocations: 0 / 1.678 GB, free: 143.6 MB / 0.6042 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FlyingBodies_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FlyingBodies.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat does not exist to compare? outputFormat=mat