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.001094/0.001094, allocations: 179.8 kB / 17.06 MB, free: 5.094 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.364/1.364, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008756/0.0008756, allocations: 101.1 kB / 292.1 MB, free: 10.89 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.3085/0.3085, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003333, allocations: 8 kB / 460 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3044, allocations: 61.9 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.4408, allocations: 104.7 MB / 0.6119 GB, free: 6.316 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.4411, allocations: 87.92 kB / 0.612 GB, free: 6.234 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7422/1.183, allocations: 199.6 MB / 0.8069 GB, free: 37.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.006e-06/1.183, allocations: 0 / 0.8069 GB, free: 37.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007202/1.184, allocations: 160 kB / 0.8071 GB, free: 37.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.04887/1.233, allocations: 10.08 MB / 0.8169 GB, free: 27.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/1.233, allocations: 12.56 kB / 0.8169 GB, free: 27.06 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01001/1.243, allocations: 1.663 MB / 0.8185 GB, free: 25.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04783/1.291, allocations: 12.03 MB / 0.8303 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03022/1.321, allocations: 11.33 MB / 0.8414 GB, free: 1.891 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008508/1.322, allocations: 0.6216 MB / 0.842 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0061/1.328, allocations: 0.8432 MB / 0.8428 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06199/1.39, allocations: 21.75 MB / 0.864 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007277/1.391, allocations: 75.3 kB / 0.8641 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006266/1.397, allocations: 391.7 kB / 0.8645 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004594/1.402, allocations: 2.458 MB / 0.8669 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3945/1.796, allocations: 21.25 MB / 0.8876 GB, free: 81.34 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1279/1.924, allocations: 80.97 MB / 0.9667 GB, free: 42.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0189/1.943, allocations: 9.748 MB / 0.9762 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007719/1.944, allocations: 72.23 kB / 0.9763 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/1.944, allocations: 88.12 kB / 0.9764 GB, free: 38.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=583): time 1.522e-05/1.944, allocations: 0 / 0.9764 GB, free: 38.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=611): time 0.09414/2.039, allocations: 42.87 MB / 1.018 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003903/2.042, allocations: 6.184 MB / 1.024 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/2.053, allocations: 5.716 MB / 1.03 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001841/2.055, allocations: 105.3 kB / 1.03 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004656/2.059, allocations: 5.851 MB / 1.036 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00449/2.064, allocations: 2.243 MB / 1.038 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/2.066, allocations: 239.2 kB / 1.038 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001011/2.067, allocations: 0.8494 MB / 1.039 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01156/2.078, allocations: 6.385 MB / 1.045 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01939/2.098, allocations: 12.59 MB / 1.057 GB, free: 8.883 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01661/2.114, allocations: 8.97 MB / 1.066 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002595/2.115, allocations: 60 kB / 1.066 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1640) (initialization): time 0.4489/2.564, allocations: 22.06 MB / 1.088 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002551/2.564, allocations: 99.83 kB / 1.088 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02863/2.593, allocations: 13.31 MB / 1.101 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01416/2.607, allocations: 3.579 MB / 1.104 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01192/2.619, allocations: 2.92 MB / 1.107 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/2.631, allocations: 12.46 MB / 1.119 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01262/2.643, allocations: 1.108 MB / 1.121 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004074/2.648, allocations: 0.675 MB / 1.121 GB, free: 104.6 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 () * 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.01601/2.664, allocations: 4.484 MB / 1.126 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001994/2.666, allocations: 0.6538 MB / 1.126 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03048/2.696, allocations: 14.65 MB / 1.141 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02668/2.723, allocations: 13.13 MB / 1.153 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.388e-05/2.723, allocations: 7.969 kB / 1.153 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001332/2.723, allocations: 22.55 kB / 1.153 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06714/2.79, allocations: 33.43 MB / 1.186 GB, free: 91.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-05/2.79, allocations: 14.5 kB / 1.186 GB, free: 91.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005822/2.796, allocations: 1.136 MB / 1.187 GB, free: 91.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0116/2.808, allocations: 3.614 MB / 1.191 GB, free: 90.62 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001644/2.81, allocations: 150.1 kB / 1.191 GB, free: 90.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/2.821, allocations: 13.91 MB / 1.204 GB, free: 81.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003095/2.824, allocations: 5.936 MB / 1.21 GB, free: 75.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03623/2.86, allocations: 23.73 MB / 1.233 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003281/2.864, allocations: 0.6867 MB / 1.234 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003712/2.868, allocations: 129.5 kB / 1.234 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00756/2.875, allocations: 0.5988 MB / 1.235 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002711/2.878, allocations: 378.9 kB / 1.235 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001853/2.88, allocations: 161.3 kB / 1.235 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01075/2.891, allocations: 3.98 MB / 1.239 GB, free: 51 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.953e-06/2.891, allocations: 0 / 1.239 GB, free: 51 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01583/2.906, allocations: 2.546 MB / 1.242 GB, free: 48.47 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 () * 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.04361/2.95, allocations: 26.33 MB / 1.267 GB, free: 24.56 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02792/2.978, allocations: 16.89 MB / 1.284 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/2.978, allocations: 3.562 kB / 1.284 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01534/2.993, allocations: 8.218 MB / 1.292 GB, free: 15.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008679/3.002, allocations: 0.8559 MB / 1.293 GB, free: 14.89 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5708/3.573, allocations: 238.6 MB / 1.526 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01769/3.591, allocations: 6.814 MB / 1.532 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01768/3.609, allocations: 4.801 MB / 1.537 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01052/3.619, allocations: 4.344 MB / 1.541 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of SimCode: time 2.284e-06/3.619, allocations: 0 / 1.541 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6587/4.278, allocations: 173.9 MB / 1.711 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/4.278, allocations: 198.8 kB / 1.711 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.302/12.58, allocations: 0 / 1.711 GB, free: 138.5 MB / 0.6355 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