Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 87.8 kB / 287 MB, free: 264 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1937/0.1937, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.333e-05/3.353e-05, allocations: 224 / 451.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.466/0.5883, allocations: 104.7 MB / 0.604 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.5886, allocations: 75.95 kB / 0.6041 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8931/1.482, allocations: 199.8 MB / 0.7992 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.064e-06/1.482, allocations: 0 / 0.7992 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000472/1.482, allocations: 158.4 kB / 0.7994 GB, free: 107.3 MB / 0.5105 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.04659/1.529, allocations: 9.563 MB / 0.8087 GB, free: 99.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.529, allocations: 12.03 kB / 0.8087 GB, free: 99.94 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009486/1.538, allocations: 1.662 MB / 0.8103 GB, free: 98.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05037/1.589, allocations: 12.05 MB / 0.8221 GB, free: 86.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0336/1.622, allocations: 11.3 MB / 0.8331 GB, free: 75.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009463/1.623, allocations: 0.6241 MB / 0.8337 GB, free: 74.45 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0076/1.631, allocations: 0.837 MB / 0.8346 GB, free: 73.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06416/1.695, allocations: 21.56 MB / 0.8556 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001058/1.696, allocations: 75.31 kB / 0.8557 GB, free: 51.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007396/1.704, allocations: 387.7 kB / 0.856 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0041/1.708, allocations: 2.466 MB / 0.8585 GB, free: 48.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04404/1.752, allocations: 20.9 MB / 0.8789 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.584/2.336, allocations: 80.96 MB / 0.9579 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02028/2.356, allocations: 9.682 MB / 0.9674 GB, free: 53.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01161/2.368, allocations: 6.363 MB / 0.9736 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000796/2.369, allocations: 78.42 kB / 0.9737 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/2.369, allocations: 93.06 kB / 0.9738 GB, free: 53.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=583): time 1.386e-05/2.369, allocations: 0 / 0.9738 GB, free: 53.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=611): time 0.09568/2.465, allocations: 34.68 MB / 1.008 GB, free: 42 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00445/2.469, allocations: 6.133 MB / 1.014 GB, free: 35.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0169/2.486, allocations: 5.628 MB / 1.019 GB, free: 34.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001927/2.488, allocations: 104.5 kB / 1.019 GB, free: 33.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005462/2.494, allocations: 5.848 MB / 1.025 GB, free: 29.65 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004989/2.499, allocations: 2.249 MB / 1.027 GB, free: 27.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003495/2.502, allocations: 238.5 kB / 1.027 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.002179/2.505, allocations: 0.8509 MB / 1.028 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01188/2.516, allocations: 6.264 MB / 1.034 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02015/2.537, allocations: 12.46 MB / 1.046 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01631/2.553, allocations: 8.917 MB / 1.055 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004206/2.553, allocations: 60 kB / 1.055 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1640) (initialization): time 0.06036/2.614, allocations: 21.59 MB / 1.076 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006054/2.615, allocations: 96 kB / 1.076 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03762/2.652, allocations: 13.41 MB / 1.09 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01454/2.667, allocations: 3.569 MB / 1.093 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01315/2.68, allocations: 2.928 MB / 1.096 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/2.695, allocations: 12.16 MB / 1.108 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0145/2.71, allocations: 1.109 MB / 1.109 GB, free: 9.449 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004257/2.714, allocations: 0.6711 MB / 1.109 GB, free: 8.805 MB / 0.5573 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 () * 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.007454/2.722, allocations: 0.9666 MB / 1.11 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003672/2.725, allocations: 0.6478 MB / 1.111 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4702/3.196, allocations: 14.59 MB / 1.125 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0422/3.238, allocations: 13.02 MB / 1.138 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000168/3.238, allocations: 7.781 kB / 1.138 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002661/3.238, allocations: 28.64 kB / 1.138 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09041/3.329, allocations: 33.31 MB / 1.171 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001465/3.329, allocations: 9 kB / 1.171 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006868/3.336, allocations: 1.132 MB / 1.172 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01285/3.349, allocations: 3.614 MB / 1.175 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001983/3.351, allocations: 146.2 kB / 1.175 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01364/3.365, allocations: 13.62 MB / 1.189 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003997/3.369, allocations: 5.883 MB / 1.194 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04774/3.416, allocations: 23.57 MB / 1.217 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003066/3.42, allocations: 0.6907 MB / 1.218 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003597/3.423, allocations: 129.1 kB / 1.218 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007701/3.431, allocations: 0.5968 MB / 1.219 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002641/3.434, allocations: 371.9 kB / 1.219 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001787/3.435, allocations: 167.4 kB / 1.219 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01043/3.446, allocations: 3.889 MB / 1.223 GB, free: 99.19 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.22e-07/3.446, allocations: 0 / 1.223 GB, free: 99.19 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0178/3.464, allocations: 2.544 MB / 1.226 GB, free: 96.66 MB / 0.5573 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 () * 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.04738/3.511, allocations: 26.18 MB / 1.251 GB, free: 73.49 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02824/3.539, allocations: 16.71 MB / 1.267 GB, free: 58.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-05/3.54, allocations: 4 kB / 1.267 GB, free: 58.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01398/3.554, allocations: 8.14 MB / 1.275 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007787/3.561, allocations: 0.8647 MB / 1.276 GB, free: 50.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07068/3.632, allocations: 26.54 MB / 1.302 GB, free: 26.48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01649/3.649, allocations: 6.82 MB / 1.309 GB, free: 19.67 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01701/3.666, allocations: 4.791 MB / 1.314 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01143/3.677, allocations: 4.35 MB / 1.318 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of SimCode: time 1.282e-06/3.677, allocations: 0 / 1.318 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6873/4.365, allocations: 175.1 MB / 1.489 GB, free: 28.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/4.365, allocations: 181.1 kB / 1.489 GB, free: 28.65 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.355/12.72, allocations: 1.641 kB / 1.489 GB, free: 28.65 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FlyingBodies_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FlyingBodies.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat does not exist to compare? outputFormat=mat