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.0009193/0.0009193, allocations: 180.2 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009169/0.0009169, allocations: 82.64 kB / 261.7 MB, free: 1.684 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.1972/0.1972, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.555e-05/1.567e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1159, allocations: 58.85 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4139/0.5298, allocations: 102 MB / 0.5657 GB, free: 9.699 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.5301, allocations: 77.62 kB / 0.5657 GB, free: 9.664 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7997/1.33, allocations: 194.1 MB / 0.7553 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.994e-06/1.33, allocations: 0 / 0.7553 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004198/1.33, allocations: 158.9 kB / 0.7554 GB, free: 100.1 MB / 0.4948 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.0447/1.375, allocations: 9.577 MB / 0.7648 GB, free: 96.74 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.924e-05/1.375, allocations: 10.12 kB / 0.7648 GB, free: 96.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04835/1.423, allocations: 12.05 MB / 0.7766 GB, free: 96.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03019/1.454, allocations: 11.9 MB / 0.7882 GB, free: 94.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005583/1.454, allocations: 273.7 kB / 0.7885 GB, free: 94.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005353/1.46, allocations: 0.4996 MB / 0.7889 GB, free: 94.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02702/1.487, allocations: 15.16 MB / 0.8038 GB, free: 90.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04642/1.533, allocations: 20.06 MB / 0.8233 GB, free: 72.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006583/1.534, allocations: 83.16 kB / 0.8234 GB, free: 72.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005137/1.539, allocations: 32 kB / 0.8235 GB, free: 72.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003734/1.543, allocations: 2.465 MB / 0.8259 GB, free: 70.53 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.472/2.015, allocations: 76.72 MB / 0.9008 GB, free: 60.83 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/2.028, allocations: 10.06 MB / 0.9106 GB, free: 58.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009234/2.037, allocations: 6.265 MB / 0.9167 GB, free: 58.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004374/2.038, allocations: 79.89 kB / 0.9168 GB, free: 58.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.014e-05/2.038, allocations: 90.59 kB / 0.9169 GB, free: 58.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=587): time 8.717e-06/2.038, allocations: 0 / 0.9169 GB, free: 58.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=615): time 0.07358/2.111, allocations: 35.1 MB / 0.9512 GB, free: 52.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/2.112, allocations: 261.9 kB / 0.9514 GB, free: 52.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/2.122, allocations: 5.391 MB / 0.9567 GB, free: 52.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001805/2.124, allocations: 25.7 kB / 0.9567 GB, free: 52.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00503/2.129, allocations: 6.013 MB / 0.9626 GB, free: 48.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004025/2.133, allocations: 2.202 MB / 0.9647 GB, free: 46.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002157/2.135, allocations: 3.844 kB / 0.9647 GB, free: 46.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001072/2.136, allocations: 0.8786 MB / 0.9656 GB, free: 45.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01122/2.148, allocations: 6.152 MB / 0.9716 GB, free: 43.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01633/2.164, allocations: 12.79 MB / 0.9841 GB, free: 32.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/2.178, allocations: 8.934 MB / 0.9928 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003038/2.178, allocations: 70.56 kB / 0.9929 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1728) (initialization): time 0.04732/2.225, allocations: 20.63 MB / 1.013 GB, free: 17.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002526/2.226, allocations: 104 kB / 1.013 GB, free: 17.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02568/2.251, allocations: 12.91 MB / 1.026 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01354/2.265, allocations: 3.535 MB / 1.029 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01207/2.277, allocations: 3.091 MB / 1.032 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/2.289, allocations: 11.74 MB / 1.044 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01478/2.304, allocations: 0.8914 MB / 1.045 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005071/2.309, allocations: 0.7114 MB / 1.045 GB, free: 5.328 MB / 0.5105 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.006431/2.315, allocations: 0.7043 MB / 1.046 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03019/2.346, allocations: 13.05 MB / 1.059 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003374/2.349, allocations: 0.6401 MB / 1.059 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03715/2.386, allocations: 14.4 MB / 1.073 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02945/2.416, allocations: 12.7 MB / 1.086 GB, free: 3.973 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.05e-05/2.416, allocations: 8 kB / 1.086 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002132/2.416, allocations: 23.95 kB / 1.086 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4713/2.887, allocations: 31.73 MB / 1.117 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.599e-05/2.887, allocations: 11.16 kB / 1.117 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00723/2.895, allocations: 1.146 MB / 1.118 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01394/2.909, allocations: 3.558 MB / 1.121 GB, free: 136 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001945/2.911, allocations: 80.53 kB / 1.121 GB, free: 136 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/2.923, allocations: 13.36 MB / 1.134 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003149/2.926, allocations: 5.658 MB / 1.14 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04088/2.967, allocations: 23.33 MB / 1.163 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002872/2.97, allocations: 0.6796 MB / 1.163 GB, free: 120 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003364/2.973, allocations: 45.41 kB / 1.164 GB, free: 120 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007365/2.981, allocations: 0.5195 MB / 1.164 GB, free: 120 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002499/2.983, allocations: 386.6 kB / 1.164 GB, free: 120 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009954/2.984, allocations: 163.1 kB / 1.165 GB, free: 120 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009256/2.994, allocations: 3.594 MB / 1.168 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.51e-07/2.994, allocations: 0.6562 kB / 1.168 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.017/3.011, allocations: 2.322 MB / 1.17 GB, free: 119.8 MB / 0.5573 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.042/3.053, allocations: 26.03 MB / 1.196 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02579/3.079, allocations: 16.29 MB / 1.212 GB, free: 104 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-05/3.079, allocations: 0 / 1.212 GB, free: 104 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01255/3.091, allocations: 7.989 MB / 1.219 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005966/3.097, allocations: 0.6379 MB / 1.22 GB, free: 99.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06424/3.162, allocations: 26.1 MB / 1.246 GB, free: 77.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01669/3.178, allocations: 6.824 MB / 1.252 GB, free: 72.22 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01495/3.193, allocations: 5.071 MB / 1.257 GB, free: 68.94 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01069/3.204, allocations: 4.414 MB / 1.261 GB, free: 64.86 MB / 0.5573 GB Notification: Performance of SimCode: time 2.524e-06/3.204, allocations: 0 / 1.261 GB, free: 64.86 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6259/3.83, allocations: 167.7 MB / 1.425 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/3.83, allocations: 131.3 kB / 1.425 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/11.71, allocations: 0 / 1.425 GB, free: 102.3 MB / 0.5573 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