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.001453/0.001453, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008616/0.0008617, allocations: 92.53 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 45.15 MB / 383.7 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.7e-05, allocations: 0 / 453.3 MB, free: 75.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1206, allocations: 63.25 MB / 0.5044 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4194/0.54, allocations: 104.9 MB / 0.6069 GB, free: 13.67 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.5403, allocations: 78.64 kB / 0.607 GB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8406/1.381, allocations: 203.4 MB / 0.8056 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.446e-06/1.381, allocations: 0 / 0.8056 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0007724/1.382, allocations: 158.8 kB / 0.8057 GB, free: 112.6 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.04878/1.431, allocations: 9.967 MB / 0.8154 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.399e-05/1.431, allocations: 7.406 kB / 0.8155 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05037/1.481, allocations: 12.26 MB / 0.8274 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02674/1.508, allocations: 10.4 MB / 0.8376 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005753/1.509, allocations: 272 kB / 0.8378 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00566/1.514, allocations: 0.4951 MB / 0.8383 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02645/1.541, allocations: 15.17 MB / 0.8531 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04475/1.585, allocations: 20.05 MB / 0.8727 GB, free: 82.26 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006456/1.586, allocations: 91.09 kB / 0.8728 GB, free: 82.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004909/1.591, allocations: 32 kB / 0.8728 GB, free: 82.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003444/1.595, allocations: 2.464 MB / 0.8752 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1021/1.697, allocations: 76.61 MB / 0.9501 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3634/2.06, allocations: 10.07 MB / 0.9599 GB, free: 99.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009476/2.07, allocations: 6.259 MB / 0.966 GB, free: 99.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005214/2.07, allocations: 79.12 kB / 0.9661 GB, free: 99.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.731e-05/2.07, allocations: 94.61 kB / 0.9662 GB, free: 99.81 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=587): time 9.548e-06/2.07, allocations: 0 / 0.9662 GB, free: 99.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=615): time 0.06588/2.136, allocations: 34.88 MB / 1 GB, free: 94.37 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/2.136, allocations: 258.2 kB / 1 GB, free: 94.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008167/2.145, allocations: 5.35 MB / 1.006 GB, free: 93.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001543/2.146, allocations: 25.7 kB / 1.006 GB, free: 93.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003759/2.15, allocations: 5.992 MB / 1.012 GB, free: 89.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002997/2.153, allocations: 2.204 MB / 1.014 GB, free: 87.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008713/2.154, allocations: 0 / 1.014 GB, free: 87.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007518/2.155, allocations: 0.878 MB / 1.015 GB, free: 87.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007303/2.162, allocations: 6.158 MB / 1.021 GB, free: 85.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01002/2.172, allocations: 12.79 MB / 1.033 GB, free: 74.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/2.183, allocations: 8.929 MB / 1.042 GB, free: 71.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001541/2.183, allocations: 63.69 kB / 1.042 GB, free: 71.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1728) (initialization): time 0.03981/2.223, allocations: 20.63 MB / 1.062 GB, free: 62.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004025/2.223, allocations: 106.5 kB / 1.062 GB, free: 61.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02698/2.25, allocations: 12.9 MB / 1.075 GB, free: 51.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01308/2.263, allocations: 3.538 MB / 1.078 GB, free: 48.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01136/2.275, allocations: 3.082 MB / 1.081 GB, free: 46.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009637/2.284, allocations: 11.74 MB / 1.093 GB, free: 34.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01199/2.296, allocations: 0.8862 MB / 1.094 GB, free: 34.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003308/2.3, allocations: 0.7151 MB / 1.094 GB, free: 33.75 MB / 0.5261 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.005101/2.305, allocations: 0.705 MB / 1.095 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02699/2.332, allocations: 13.05 MB / 1.108 GB, free: 22.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002537/2.334, allocations: 0.6469 MB / 1.108 GB, free: 21.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03388/2.368, allocations: 14.15 MB / 1.122 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02633/2.395, allocations: 12.72 MB / 1.135 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.07e-05/2.395, allocations: 10.69 kB / 1.135 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002071/2.395, allocations: 22.97 kB / 1.135 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4535/2.848, allocations: 31.72 MB / 1.166 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.23e-05/2.849, allocations: 9.906 kB / 1.166 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006947/2.856, allocations: 1.141 MB / 1.167 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01403/2.87, allocations: 3.553 MB / 1.17 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001933/2.872, allocations: 76.8 kB / 1.17 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/2.884, allocations: 13.36 MB / 1.183 GB, free: 93.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003237/2.887, allocations: 5.655 MB / 1.189 GB, free: 88.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03907/2.927, allocations: 23.33 MB / 1.212 GB, free: 84.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002359/2.929, allocations: 0.6717 MB / 1.212 GB, free: 84.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002733/2.932, allocations: 52.11 kB / 1.212 GB, free: 84.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006411/2.938, allocations: 0.5144 MB / 1.213 GB, free: 84.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001961/2.94, allocations: 392.4 kB / 1.213 GB, free: 84.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006412/2.941, allocations: 156.9 kB / 1.213 GB, free: 84.84 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00758/2.948, allocations: 3.562 MB / 1.217 GB, free: 84.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.11e-07/2.948, allocations: 0 / 1.217 GB, free: 84.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01721/2.966, allocations: 2.313 MB / 1.219 GB, free: 84.62 MB / 0.5417 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.04028/3.006, allocations: 26.04 MB / 1.244 GB, free: 73.45 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02544/3.031, allocations: 16.28 MB / 1.26 GB, free: 67.56 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/3.032, allocations: 5.344 kB / 1.26 GB, free: 67.56 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01256/3.044, allocations: 7.98 MB / 1.268 GB, free: 62.05 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006487/3.051, allocations: 0.6438 MB / 1.269 GB, free: 61.51 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06031/3.111, allocations: 26.05 MB / 1.294 GB, free: 39.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01352/3.125, allocations: 6.807 MB / 1.301 GB, free: 34.14 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01415/3.139, allocations: 5.064 MB / 1.306 GB, free: 30.87 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009109/3.148, allocations: 4.402 MB / 1.31 GB, free: 26.8 MB / 0.5417 GB Notification: Performance of SimCode: time 1.262e-06/3.148, allocations: 0 / 1.31 GB, free: 26.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5903/3.738, allocations: 167.3 MB / 1.473 GB, free: 102.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/3.738, allocations: 139.4 kB / 1.474 GB, free: 102.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/11.42, allocations: 0 / 1.474 GB, free: 102.3 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