Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.00104, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008906/0.0008907, allocations: 86.97 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1719/0.1719, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.801e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08516/0.08521, allocations: 63.24 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3854/0.4706, allocations: 105.6 MB / 0.6146 GB, free: 4.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.471, allocations: 76.47 kB / 0.6146 GB, free: 4.535 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7949/1.266, allocations: 206.5 MB / 0.8163 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.623e-06/1.266, allocations: 0 / 0.8163 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004908/1.266, allocations: 160.4 kB / 0.8165 GB, free: 113.4 MB / 0.5261 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.04013/1.307, allocations: 9.971 MB / 0.8262 GB, free: 110 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.307, allocations: 11.22 kB / 0.8262 GB, free: 110 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006804/1.313, allocations: 1.662 MB / 0.8278 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04632/1.36, allocations: 12.27 MB / 0.8398 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02459/1.384, allocations: 10.39 MB / 0.85 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006289/1.385, allocations: 0.6261 MB / 0.8506 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004442/1.39, allocations: 0.8447 MB / 0.8514 GB, free: 102 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04407/1.434, allocations: 21.56 MB / 0.8725 GB, free: 79.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004701/1.434, allocations: 79.3 kB / 0.8725 GB, free: 79.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003809/1.438, allocations: 388.1 kB / 0.8729 GB, free: 79.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003313/1.441, allocations: 2.458 MB / 0.8753 GB, free: 76.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03384/1.475, allocations: 20.9 MB / 0.8957 GB, free: 55.84 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.391/1.866, allocations: 80.96 MB / 0.9748 GB, free: 62.94 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01877/1.885, allocations: 9.683 MB / 0.9842 GB, free: 61.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008012/1.893, allocations: 6.364 MB / 0.9905 GB, free: 61.37 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000348/1.894, allocations: 75.53 kB / 0.9905 GB, free: 61.37 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/1.894, allocations: 88.19 kB / 0.9906 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=583): time 8.346e-06/1.894, allocations: 3.688 kB / 0.9906 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=611): time 0.06284/1.956, allocations: 34.68 MB / 1.024 GB, free: 55.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002705/1.959, allocations: 6.13 MB / 1.03 GB, free: 49.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007312/1.967, allocations: 5.63 MB / 1.036 GB, free: 48.58 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001087/1.968, allocations: 108.1 kB / 1.036 GB, free: 48.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002813/1.97, allocations: 5.849 MB / 1.042 GB, free: 44.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002526/1.973, allocations: 2.241 MB / 1.044 GB, free: 42.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006906/1.974, allocations: 241 kB / 1.044 GB, free: 42.28 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005106/1.974, allocations: 0.8505 MB / 1.045 GB, free: 41.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007487/1.982, allocations: 6.266 MB / 1.051 GB, free: 39.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01026/1.992, allocations: 12.46 MB / 1.063 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/2.002, allocations: 8.916 MB / 1.072 GB, free: 26.81 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/2.002, allocations: 63.91 kB / 1.072 GB, free: 26.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1640) (initialization): time 0.03818/2.041, allocations: 21.58 MB / 1.093 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000146/2.041, allocations: 99.95 kB / 1.093 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0226/2.063, allocations: 13.22 MB / 1.106 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01227/2.076, allocations: 3.572 MB / 1.11 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01192/2.088, allocations: 2.936 MB / 1.113 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/2.1, allocations: 12.16 MB / 1.124 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.011/2.111, allocations: 1.108 MB / 1.125 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003267/2.114, allocations: 0.6739 MB / 1.126 GB, free: 1.211 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 () * 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.004961/2.119, allocations: 0.9648 MB / 1.127 GB, free: 256 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002389/2.121, allocations: 0.6519 MB / 1.128 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03198/2.153, allocations: 14.56 MB / 1.142 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03102/2.184, allocations: 13.33 MB / 1.155 GB, free: 9.793 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-05/2.185, allocations: 8 kB / 1.155 GB, free: 9.785 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001324/2.185, allocations: 26.2 kB / 1.155 GB, free: 9.785 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3763/2.561, allocations: 33.32 MB / 1.188 GB, free: 134.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-05/2.561, allocations: 11.66 kB / 1.188 GB, free: 134.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0051/2.566, allocations: 1.137 MB / 1.189 GB, free: 134.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01162/2.578, allocations: 3.607 MB / 1.192 GB, free: 134 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001578/2.579, allocations: 151.7 kB / 1.192 GB, free: 134 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/2.59, allocations: 13.6 MB / 1.206 GB, free: 126.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002608/2.593, allocations: 5.889 MB / 1.211 GB, free: 120.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03217/2.625, allocations: 23.58 MB / 1.234 GB, free: 115.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/2.627, allocations: 0.686 MB / 1.235 GB, free: 115.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001748/2.629, allocations: 130.6 kB / 1.235 GB, free: 115.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005123/2.634, allocations: 0.6021 MB / 1.236 GB, free: 115 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001447/2.636, allocations: 372.3 kB / 1.236 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004874/2.636, allocations: 157 kB / 1.236 GB, free: 114.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.006155/2.642, allocations: 3.891 MB / 1.24 GB, free: 113.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.91e-07/2.642, allocations: 0 / 1.24 GB, free: 113.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01142/2.654, allocations: 2.554 MB / 1.243 GB, free: 113.3 MB / 0.573 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.03266/2.686, allocations: 26.19 MB / 1.268 GB, free: 101.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0218/2.708, allocations: 16.69 MB / 1.284 GB, free: 89.22 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/2.708, allocations: 6.219 kB / 1.284 GB, free: 89.22 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01084/2.719, allocations: 8.148 MB / 1.292 GB, free: 81.82 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004518/2.724, allocations: 0.867 MB / 1.293 GB, free: 81.11 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04497/2.769, allocations: 26.55 MB / 1.319 GB, free: 58.25 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006907/2.776, allocations: 6.812 MB / 1.326 GB, free: 53.24 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0106/2.786, allocations: 4.799 MB / 1.33 GB, free: 50.11 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006842/2.793, allocations: 4.35 MB / 1.335 GB, free: 46.08 MB / 0.573 GB Notification: Performance of SimCode: time 1.022e-06/2.793, allocations: 0 / 1.335 GB, free: 46.08 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4864/3.279, allocations: 175.1 MB / 1.506 GB, free: 70.47 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/3.28, allocations: 184.7 kB / 1.506 GB, free: 70.24 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.048/9.328, allocations: 0 / 1.506 GB, free: 70.24 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FlyingBodies_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FlyingBodies.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat does not exist to compare? outputFormat=mat