Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.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.BodyShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_BodyShape",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.00138/0.00138, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.511/1.511, allocations: 221.4 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009763/0.0009767, allocations: 99.48 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1976/0.1976, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.536e-05, allocations: 4.219 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1787, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5058/0.6846, allocations: 108.5 MB / 0.6077 GB, free: 12.72 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/0.685, allocations: 75.95 kB / 0.6078 GB, free: 12.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2175/0.9025, allocations: 82.91 MB / 0.6888 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9026, allocations: 0 / 0.6888 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002416/0.9029, allocations: 79.94 kB / 0.6888 GB, free: 9.156 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: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.01348/0.9163, allocations: 3.896 MB / 0.6926 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.9164, allocations: 12.03 kB / 0.6927 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002672/0.9191, allocations: 0.7538 MB / 0.6934 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.9301, allocations: 2.334 MB / 0.6957 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/0.943, allocations: 5.027 MB / 0.7006 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/0.9434, allocations: 312.3 kB / 0.7009 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002/0.9455, allocations: 435.7 kB / 0.7013 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02126/0.9667, allocations: 10.29 MB / 0.7113 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001697/0.9669, allocations: 59.5 kB / 0.7114 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006018/0.9675, allocations: 207.9 kB / 0.7116 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3218/1.289, allocations: 0.9835 MB / 0.7126 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02251/1.312, allocations: 8.267 MB / 0.7206 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05246/1.364, allocations: 48.12 MB / 0.7676 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008687/1.373, allocations: 3.679 MB / 0.7712 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/1.375, allocations: 1.536 MB / 0.7727 GB, free: 90.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009715/1.385, allocations: 7.615 MB / 0.7802 GB, free: 86.47 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/1.385, allocations: 54.19 kB / 0.7802 GB, free: 86.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=144): time 4.649e-06/1.385, allocations: 3.281 kB / 0.7802 GB, free: 86.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160): time 0.02797/1.413, allocations: 12.02 MB / 0.792 GB, free: 81.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009894/1.414, allocations: 1.59 MB / 0.7935 GB, free: 80.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004531/1.419, allocations: 3.408 MB / 0.7968 GB, free: 79.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003197/1.419, allocations: 49.98 kB / 0.7969 GB, free: 79.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00145/1.42, allocations: 3.097 MB / 0.7999 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006238/1.421, allocations: 0.6484 MB / 0.8005 GB, free: 76.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/1.421, allocations: 119.3 kB / 0.8007 GB, free: 76.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002505/1.421, allocations: 0.5553 MB / 0.8012 GB, free: 75.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002302/1.424, allocations: 1.938 MB / 0.8031 GB, free: 75.15 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003672/1.427, allocations: 5.651 MB / 0.8086 GB, free: 69.44 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/1.431, allocations: 3.282 MB / 0.8118 GB, free: 68.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.678e-05/1.431, allocations: 37.62 kB / 0.8118 GB, free: 68.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.0129/1.444, allocations: 8.151 MB / 0.8198 GB, free: 65.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.414e-05/1.444, allocations: 65.89 kB / 0.8199 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004601/1.449, allocations: 2.485 MB / 0.8223 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/1.452, allocations: 1.131 MB / 0.8234 GB, free: 63.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004439/1.456, allocations: 1.366 MB / 0.8247 GB, free: 62.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004458/1.461, allocations: 4.694 MB / 0.8293 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00521/1.466, allocations: 377.9 kB / 0.8297 GB, free: 57.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/1.468, allocations: 371.3 kB / 0.83 GB, free: 57.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 733 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001804/1.469, allocations: 0.5733 MB / 0.8306 GB, free: 56.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/1.47, allocations: 343.6 kB / 0.8309 GB, free: 56.24 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006531/1.477, allocations: 2.89 MB / 0.8337 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004154/1.481, allocations: 2.423 MB / 0.8361 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/1.481, allocations: 11.94 kB / 0.8361 GB, free: 52.01 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/1.481, allocations: 7.453 kB / 0.8361 GB, free: 52.01 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01947/1.501, allocations: 9.191 MB / 0.8451 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/1.501, allocations: 4 kB / 0.8451 GB, free: 44.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/1.502, allocations: 250.8 kB / 0.8453 GB, free: 44.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00278/1.505, allocations: 1.008 MB / 0.8463 GB, free: 43.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002228/1.505, allocations: 47.7 kB / 0.8464 GB, free: 43.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004588/1.51, allocations: 4.843 MB / 0.8511 GB, free: 39.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007574/1.51, allocations: 1.451 MB / 0.8525 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007389/1.518, allocations: 5.618 MB / 0.858 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/1.519, allocations: 395 kB / 0.8584 GB, free: 32.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008202/1.52, allocations: 35.47 kB / 0.8584 GB, free: 32.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/1.522, allocations: 123.5 kB / 0.8585 GB, free: 32.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/1.522, allocations: 112.2 kB / 0.8586 GB, free: 32.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/1.522, allocations: 48.38 kB / 0.8587 GB, free: 32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004347/1.527, allocations: 2.338 MB / 0.861 GB, free: 29.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.7e-07/1.527, allocations: 0 / 0.861 GB, free: 29.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005333/1.532, allocations: 1.022 MB / 0.862 GB, free: 28.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0081/1.54, allocations: 7.269 MB / 0.8691 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008937/1.549, allocations: 5.341 MB / 0.8743 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/1.549, allocations: 0 / 0.8743 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003785/1.553, allocations: 2.096 MB / 0.8763 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/1.556, allocations: 425 kB / 0.8767 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02963/1.585, allocations: 9.043 MB / 0.8856 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005272/1.591, allocations: 3.266 MB / 0.8888 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00869/1.6, allocations: 1.869 MB / 0.8906 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004745/1.604, allocations: 1.828 MB / 0.8924 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of SimCode: time 1.392e-06/1.604, allocations: 3.938 kB / 0.8924 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4228/2.027, allocations: 74.22 MB / 0.9649 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/2.027, allocations: 176.1 kB / 0.965 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.436/6.463, allocations: 0 / 0.965 GB, free: 117.5 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat