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.001722/0.001722, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0008682/0.0008682, allocations: 90.83 kB / 281.6 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2029/0.2029, allocations: 44.14 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.153e-05/2.172e-05, allocations: 224 / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1265, allocations: 61.92 MB / 0.4948 GB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4839/0.6104, allocations: 104 MB / 0.5963 GB, free: 8.352 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.6108, allocations: 79.95 kB / 0.5964 GB, free: 8.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8142/1.425, allocations: 196.5 MB / 0.7883 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.693e-06/1.425, allocations: 0 / 0.7883 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003388/1.425, allocations: 156 kB / 0.7884 GB, free: 92.58 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.03901/1.464, allocations: 9.559 MB / 0.7978 GB, free: 82.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/1.465, allocations: 19.98 kB / 0.7978 GB, free: 82.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.047/1.512, allocations: 12.04 MB / 0.8096 GB, free: 70.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02637/1.538, allocations: 11.27 MB / 0.8206 GB, free: 59.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003921/1.538, allocations: 272 kB / 0.8208 GB, free: 59.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005061/1.543, allocations: 0.492 MB / 0.8213 GB, free: 58.83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02602/1.569, allocations: 15.16 MB / 0.8361 GB, free: 43.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05496/1.624, allocations: 20.06 MB / 0.8557 GB, free: 22.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005704/1.625, allocations: 71.31 kB / 0.8558 GB, free: 22.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005783/1.631, allocations: 32 kB / 0.8558 GB, free: 22.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005455/1.636, allocations: 2.472 MB / 0.8582 GB, free: 20 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7845/2.421, allocations: 76.63 MB / 0.933 GB, free: 69.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/2.435, allocations: 10.07 MB / 0.9429 GB, free: 67.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008168/2.443, allocations: 6.26 MB / 0.949 GB, free: 67.24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004309/2.443, allocations: 76.67 kB / 0.9491 GB, free: 67.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.456e-05/2.443, allocations: 92.56 kB / 0.9492 GB, free: 67.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=587): time 8.596e-06/2.443, allocations: 0 / 0.9492 GB, free: 67.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=615): time 0.06448/2.508, allocations: 34.89 MB / 0.9832 GB, free: 56.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/2.508, allocations: 264.7 kB / 0.9835 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01038/2.518, allocations: 5.338 MB / 0.9887 GB, free: 54.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001483/2.52, allocations: 29.58 kB / 0.9887 GB, free: 54.06 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003706/2.524, allocations: 5.991 MB / 0.9946 GB, free: 49.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003179/2.527, allocations: 2.207 MB / 0.9967 GB, free: 48.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/2.528, allocations: 6.188 kB / 0.9967 GB, free: 48.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009248/2.529, allocations: 0.876 MB / 0.9976 GB, free: 47.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008962/2.538, allocations: 6.152 MB / 1.004 GB, free: 45.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01564/2.554, allocations: 12.79 MB / 1.016 GB, free: 34.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01341/2.567, allocations: 8.928 MB / 1.025 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002315/2.568, allocations: 68 kB / 1.025 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1728) (initialization): time 0.04334/2.611, allocations: 20.63 MB / 1.045 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004363/2.612, allocations: 108.1 kB / 1.045 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02742/2.639, allocations: 12.93 MB / 1.058 GB, free: 15.26 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01432/2.653, allocations: 3.538 MB / 1.061 GB, free: 12.87 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01252/2.666, allocations: 3.09 MB / 1.064 GB, free: 10.25 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/2.68, allocations: 11.74 MB / 1.076 GB, free: 14.95 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01362/2.693, allocations: 0.8885 MB / 1.077 GB, free: 14.38 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004018/2.697, allocations: 0.7177 MB / 1.077 GB, free: 13.68 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1059 * 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 (1580): * Single equations (assignments): 1546 * 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.004956/2.702, allocations: 0.6959 MB / 1.078 GB, free: 12.99 MB / 0.5418 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02984/2.732, allocations: 13.05 MB / 1.091 GB, free: 2.145 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003145/2.735, allocations: 0.651 MB / 1.091 GB, free: 1.492 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4739/3.209, allocations: 14.45 MB / 1.105 GB, free: 117.9 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02995/3.239, allocations: 12.71 MB / 1.118 GB, free: 117.7 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001225/3.24, allocations: 7.844 kB / 1.118 GB, free: 117.7 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000296/3.24, allocations: 22.41 kB / 1.118 GB, free: 117.7 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07821/3.318, allocations: 31.71 MB / 1.149 GB, free: 113.3 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.988e-05/3.318, allocations: 10.97 kB / 1.149 GB, free: 113.3 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006198/3.324, allocations: 1.146 MB / 1.15 GB, free: 113.2 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01223/3.337, allocations: 3.552 MB / 1.153 GB, free: 112.7 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001801/3.338, allocations: 78.23 kB / 1.153 GB, free: 112.6 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/3.351, allocations: 13.36 MB / 1.167 GB, free: 103.7 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00342/3.354, allocations: 5.659 MB / 1.172 GB, free: 98.3 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03833/3.393, allocations: 23.3 MB / 1.195 GB, free: 88.38 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004232/3.397, allocations: 0.6678 MB / 1.195 GB, free: 88.06 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004206/3.401, allocations: 50.86 kB / 1.196 GB, free: 88.02 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007189/3.408, allocations: 0.5211 MB / 1.196 GB, free: 87.75 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002205/3.411, allocations: 385.5 kB / 1.196 GB, free: 87.54 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007378/3.411, allocations: 162.9 kB / 1.197 GB, free: 87.39 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.007895/3.419, allocations: 3.562 MB / 1.2 GB, free: 84.34 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.475e-06/3.419, allocations: 0 / 1.2 GB, free: 84.34 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01796/3.437, allocations: 2.314 MB / 1.202 GB, free: 82.04 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * 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 (479): * Single equations (assignments): 453 * 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.04229/3.48, allocations: 26.04 MB / 1.228 GB, free: 59.01 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02626/3.506, allocations: 16.29 MB / 1.244 GB, free: 44.59 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.831e-05/3.506, allocations: 4 kB / 1.244 GB, free: 44.58 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0129/3.519, allocations: 7.978 MB / 1.251 GB, free: 37.37 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006717/3.526, allocations: 0.649 MB / 1.252 GB, free: 36.82 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06841/3.594, allocations: 26.05 MB / 1.277 GB, free: 12.45 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01234/3.607, allocations: 6.802 MB / 1.284 GB, free: 5.652 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01433/3.621, allocations: 5.065 MB / 1.289 GB, free: 0.5977 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0124/3.633, allocations: 4.409 MB / 1.293 GB, free: 12.23 MB / 0.5574 GB Notification: Performance of SimCode: time 6.211e-06/3.634, allocations: 4 kB / 1.293 GB, free: 12.23 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7096/4.343, allocations: 167.3 MB / 1.457 GB, free: 36.88 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/4.343, allocations: 143.6 kB / 1.457 GB, free: 36.68 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/12.35, allocations: 0 / 1.457 GB, free: 36.68 MB / 0.5574 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