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.001497/0.001497, allocations: 184 kB / 13.19 MB, free: 2.129 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.495/1.495, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.000923/0.000923, allocations: 87.45 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3705/0.3705, allocations: 43.46 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.396e-05, allocations: 0 / 425.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.133, allocations: 58.85 MB / 484.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4262/0.5593, allocations: 102.7 MB / 0.5732 GB, free: 2.219 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.5596, allocations: 82.14 kB / 0.5733 GB, free: 2.141 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8243/1.384, allocations: 197.5 MB / 0.7661 GB, free: 75.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.116e-06/1.384, allocations: 0 / 0.7661 GB, free: 75.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006452/1.385, allocations: 166.9 kB / 0.7663 GB, free: 75.25 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: 3305 * Number of variables: 3305 Notification: Performance of Generate backend data structure: time 0.06518/1.45, allocations: 9.582 MB / 0.7756 GB, free: 69.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/1.45, allocations: 11.72 kB / 0.7756 GB, free: 69.51 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01373/1.464, allocations: 1.658 MB / 0.7773 GB, free: 68.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0779/1.542, allocations: 12.05 MB / 0.789 GB, free: 57.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0443/1.586, allocations: 11.9 MB / 0.8007 GB, free: 46.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008292/1.587, allocations: 0.6255 MB / 0.8013 GB, free: 45.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006301/1.593, allocations: 0.8438 MB / 0.8021 GB, free: 44.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05913/1.652, allocations: 21.55 MB / 0.8231 GB, free: 21.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000846/1.653, allocations: 75.36 kB / 0.8232 GB, free: 21.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006299/1.66, allocations: 379.7 kB / 0.8236 GB, free: 21.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004266/1.664, allocations: 2.466 MB / 0.826 GB, free: 19.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04656/1.711, allocations: 20.9 MB / 0.8464 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.532/2.243, allocations: 81.07 MB / 0.9256 GB, free: 43.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02069/2.263, allocations: 9.683 MB / 0.935 GB, free: 42.08 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008694/2.272, allocations: 6.359 MB / 0.9412 GB, free: 40.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004853/2.273, allocations: 79.06 kB / 0.9413 GB, free: 40.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.708e-05/2.273, allocations: 93.81 kB / 0.9414 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=583): time 8.526e-06/2.273, allocations: 0 / 0.9414 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=611): time 0.08025/2.353, allocations: 34.88 MB / 0.9755 GB, free: 27.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00366/2.357, allocations: 6.137 MB / 0.9814 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01366/2.37, allocations: 5.68 MB / 0.987 GB, free: 19.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001585/2.372, allocations: 108.5 kB / 0.9871 GB, free: 19.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005437/2.378, allocations: 5.871 MB / 0.9928 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004065/2.382, allocations: 2.238 MB / 0.995 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002667/2.384, allocations: 241.8 kB / 0.9952 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001776/2.386, allocations: 0.8489 MB / 0.9961 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01142/2.398, allocations: 6.258 MB / 1.002 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.018/2.416, allocations: 12.46 MB / 1.014 GB, free: 480 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02101/2.437, allocations: 9.188 MB / 1.023 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004567/2.437, allocations: 60 kB / 1.023 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1640) (initialization): time 0.05686/2.494, allocations: 21.6 MB / 1.044 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004879/2.495, allocations: 96 kB / 1.045 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4455/2.94, allocations: 13.34 MB / 1.058 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01441/2.955, allocations: 3.583 MB / 1.061 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01289/2.968, allocations: 2.924 MB / 1.064 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/2.979, allocations: 12.16 MB / 1.076 GB, free: 97.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01455/2.993, allocations: 1.105 MB / 1.077 GB, free: 97.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004089/2.998, allocations: 0.6675 MB / 1.078 GB, free: 97.34 MB / 0.5261 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.006672/3.004, allocations: 0.9708 MB / 1.079 GB, free: 97.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003749/3.008, allocations: 0.658 MB / 1.079 GB, free: 97.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04131/3.049, allocations: 14.56 MB / 1.093 GB, free: 96.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03753/3.087, allocations: 13.03 MB / 1.106 GB, free: 96.58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001143/3.087, allocations: 7.344 kB / 1.106 GB, free: 96.58 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002149/3.087, allocations: 25.78 kB / 1.106 GB, free: 96.58 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08501/3.172, allocations: 33.34 MB / 1.139 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001285/3.173, allocations: 8.719 kB / 1.139 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006917/3.18, allocations: 1.141 MB / 1.14 GB, free: 86.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01309/3.193, allocations: 3.612 MB / 1.143 GB, free: 86.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002026/3.195, allocations: 147.4 kB / 1.143 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/3.207, allocations: 13.6 MB / 1.157 GB, free: 77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003095/3.21, allocations: 5.9 MB / 1.163 GB, free: 71.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04322/3.254, allocations: 23.6 MB / 1.186 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002751/3.256, allocations: 0.6947 MB / 1.186 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002998/3.259, allocations: 123.5 kB / 1.186 GB, free: 54.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006369/3.266, allocations: 0.5967 MB / 1.187 GB, free: 54.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001997/3.268, allocations: 375.3 kB / 1.187 GB, free: 53.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006203/3.269, allocations: 164.4 kB / 1.187 GB, free: 53.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008413/3.277, allocations: 3.933 MB / 1.191 GB, free: 50.35 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.9e-07/3.277, allocations: 0 / 1.191 GB, free: 50.35 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01591/3.293, allocations: 2.539 MB / 1.194 GB, free: 47.82 MB / 0.5261 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.04205/3.335, allocations: 26.18 MB / 1.219 GB, free: 24.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02779/3.363, allocations: 16.71 MB / 1.236 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.608e-05/3.363, allocations: 2.25 kB / 1.236 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0137/3.377, allocations: 8.145 MB / 1.244 GB, free: 172 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007205/3.384, allocations: 0.8647 MB / 1.244 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4215/3.805, allocations: 26.59 MB / 1.27 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01398/3.82, allocations: 6.825 MB / 1.277 GB, free: 118.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01646/3.836, allocations: 4.804 MB / 1.282 GB, free: 118.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01279/3.849, allocations: 4.363 MB / 1.286 GB, free: 118.1 MB / 0.5417 GB Notification: Performance of SimCode: time 2.785e-06/3.849, allocations: 0 / 1.286 GB, free: 118.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7/4.549, allocations: 175.6 MB / 1.457 GB, free: 69.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/4.549, allocations: 183.6 kB / 1.458 GB, free: 69.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/12.58, allocations: 2.906 kB / 1.458 GB, free: 69.04 MB / 0.5417 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