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.001268/0.001268, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.2 MB / 245 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008212/0.0008212, allocations: 112.3 kB / 297.3 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3848/0.3848, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003892, allocations: 8 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3697, allocations: 63.25 MB / 0.5193 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.5695, allocations: 105.7 MB / 0.6224 GB, free: 13.75 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004301/0.57, allocations: 75.94 kB / 0.6225 GB, free: 13.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9051/1.475, allocations: 206.3 MB / 0.824 GB, free: 16.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.945e-06/1.475, allocations: 0 / 0.824 GB, free: 16.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003966/1.476, allocations: 156 kB / 0.8241 GB, free: 16.54 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.04487/1.52, allocations: 10.51 MB / 0.8344 GB, free: 5.938 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/1.521, allocations: 8.031 kB / 0.8344 GB, free: 5.93 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008218/1.529, allocations: 1.667 MB / 0.836 GB, free: 4.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04847/1.577, allocations: 12.25 MB / 0.848 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03313/1.61, allocations: 10.45 MB / 0.8582 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001067/1.612, allocations: 0.6333 MB / 0.8588 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006846/1.618, allocations: 0.8354 MB / 0.8596 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06089/1.679, allocations: 21.75 MB / 0.8809 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006292/1.68, allocations: 83.23 kB / 0.881 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005095/1.685, allocations: 379.7 kB / 0.8813 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004436/1.69, allocations: 2.466 MB / 0.8837 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4101/2.1, allocations: 21.25 MB / 0.9045 GB, free: 89.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1765/2.276, allocations: 80.97 MB / 0.9836 GB, free: 50.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02779/2.304, allocations: 9.747 MB / 0.9931 GB, free: 46.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008156/2.305, allocations: 80.06 kB / 0.9931 GB, free: 46.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.121e-05/2.305, allocations: 88.33 kB / 0.9932 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=583): time 1.517e-05/2.305, allocations: 3.969 kB / 0.9932 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=611): time 0.1368/2.442, allocations: 42.85 MB / 1.035 GB, free: 21.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004893/2.447, allocations: 6.195 MB / 1.041 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01649/2.464, allocations: 5.721 MB / 1.047 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002111/2.466, allocations: 106 kB / 1.047 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006845/2.473, allocations: 5.852 MB / 1.053 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.005328/2.478, allocations: 2.246 MB / 1.055 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003068/2.481, allocations: 236.1 kB / 1.055 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001533/2.483, allocations: 0.8469 MB / 1.056 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04748/2.53, allocations: 7.866 MB / 1.063 GB, free: 0 / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02842/2.559, allocations: 12.59 MB / 1.076 GB, free: 1.727 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02945/2.588, allocations: 9.318 MB / 1.085 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003535/2.589, allocations: 65.94 kB / 1.085 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1640) (initialization): time 0.4758/3.064, allocations: 21.84 MB / 1.106 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001977/3.065, allocations: 100.3 kB / 1.106 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02836/3.093, allocations: 13.31 MB / 1.119 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01405/3.107, allocations: 3.583 MB / 1.123 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01152/3.119, allocations: 2.926 MB / 1.126 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/3.131, allocations: 12.44 MB / 1.138 GB, free: 96.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01323/3.145, allocations: 1.107 MB / 1.139 GB, free: 96.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003883/3.149, allocations: 0.674 MB / 1.14 GB, free: 96.09 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.01333/3.162, allocations: 4.49 MB / 1.144 GB, free: 95.97 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00189/3.164, allocations: 0.6514 MB / 1.145 GB, free: 95.97 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03003/3.194, allocations: 14.66 MB / 1.159 GB, free: 95.59 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02824/3.222, allocations: 13.13 MB / 1.172 GB, free: 93.11 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.376e-05/3.222, allocations: 6.719 kB / 1.172 GB, free: 93.11 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002057/3.223, allocations: 28.62 kB / 1.172 GB, free: 93.11 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07038/3.293, allocations: 33.41 MB / 1.204 GB, free: 81.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.96e-05/3.293, allocations: 10.28 kB / 1.204 GB, free: 81.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005911/3.299, allocations: 1.137 MB / 1.206 GB, free: 81.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01197/3.311, allocations: 3.617 MB / 1.209 GB, free: 80.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001567/3.313, allocations: 149.2 kB / 1.209 GB, free: 80.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/3.325, allocations: 13.91 MB / 1.223 GB, free: 67.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003128/3.328, allocations: 5.96 MB / 1.229 GB, free: 61.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04025/3.369, allocations: 23.73 MB / 1.252 GB, free: 41.08 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003666/3.372, allocations: 0.684 MB / 1.252 GB, free: 40.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003715/3.376, allocations: 130.6 kB / 1.253 GB, free: 40.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006654/3.383, allocations: 0.5936 MB / 1.253 GB, free: 40.18 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002305/3.385, allocations: 376.9 kB / 1.254 GB, free: 39.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008835/3.386, allocations: 159.1 kB / 1.254 GB, free: 39.83 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009049/3.395, allocations: 3.979 MB / 1.258 GB, free: 36.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.71e-07/3.395, allocations: 1.031 kB / 1.258 GB, free: 36.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01693/3.412, allocations: 2.542 MB / 1.26 GB, free: 34.08 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.04967/3.462, allocations: 26.33 MB / 1.286 GB, free: 9.227 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0342/3.496, allocations: 16.89 MB / 1.302 GB, free: 8.418 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.778e-05/3.496, allocations: 1.969 kB / 1.302 GB, free: 8.418 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.3792/3.875, allocations: 8.212 MB / 1.31 GB, free: 129.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007429/3.883, allocations: 0.8679 MB / 1.311 GB, free: 129.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2374/4.12, allocations: 238.6 MB / 1.544 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02085/4.141, allocations: 6.814 MB / 1.551 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01682/4.158, allocations: 4.802 MB / 1.555 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3873/4.545, allocations: 4.558 MB / 1.56 GB, free: 190.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.954e-06/4.545, allocations: 2.969 kB / 1.56 GB, free: 190.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2873/4.833, allocations: 173.9 MB / 1.73 GB, free: 90.53 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/4.833, allocations: 206.5 kB / 1.73 GB, free: 90.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.295/13.13, allocations: 0 / 1.73 GB, free: 90.29 MB / 0.6355 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