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.001713/0.001713, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0009021/0.0009021, allocations: 95.94 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2342/0.2342, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.96e-05/1.962e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1485, allocations: 61.92 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4798/0.6283, allocations: 107.8 MB / 0.6001 GB, free: 4.594 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.6286, allocations: 79.95 kB / 0.6001 GB, free: 4.516 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2065/0.8351, allocations: 81.12 MB / 0.6793 GB, free: 2.844 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.8352, allocations: 0 / 0.6793 GB, free: 2.844 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000177/0.8354, allocations: 76 kB / 0.6794 GB, free: 2.77 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: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.01294/0.8483, allocations: 3.904 MB / 0.6832 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.8484, allocations: 15.98 kB / 0.6832 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.8599, allocations: 2.326 MB / 0.6855 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/0.8723, allocations: 5.027 MB / 0.6904 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/0.8726, allocations: 132 kB / 0.6906 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001784/0.8744, allocations: 247.8 kB / 0.6908 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01177/0.8862, allocations: 5.959 MB / 0.6966 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4044/1.291, allocations: 9.214 MB / 0.7056 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001843/1.291, allocations: 62.05 kB / 0.7057 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005096/1.291, allocations: 31.75 kB / 0.7057 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001642/1.293, allocations: 0.9916 MB / 0.7067 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05005/1.343, allocations: 47.41 MB / 0.753 GB, free: 82.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002901/1.346, allocations: 2.513 MB / 0.7554 GB, free: 81.06 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/1.348, allocations: 1.438 MB / 0.7568 GB, free: 80.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007819/1.348, allocations: 0.9922 MB / 0.7578 GB, free: 79.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/1.348, allocations: 57.08 kB / 0.7578 GB, free: 79.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=150): time 5.35e-06/1.348, allocations: 0 / 0.7578 GB, free: 79.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=169): time 0.02542/1.374, allocations: 13.77 MB / 0.7713 GB, free: 73.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/1.374, allocations: 147 kB / 0.7714 GB, free: 73.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004477/1.378, allocations: 3.033 MB / 0.7744 GB, free: 72.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000384/1.379, allocations: 25.7 kB / 0.7744 GB, free: 72.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/1.381, allocations: 3.134 MB / 0.7775 GB, free: 70.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007872/1.381, allocations: 0.6614 MB / 0.7781 GB, free: 69.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/1.382, allocations: 0 / 0.7781 GB, free: 69.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002715/1.382, allocations: 0.5763 MB / 0.7787 GB, free: 69.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002539/1.384, allocations: 1.91 MB / 0.7806 GB, free: 68.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004867/1.389, allocations: 5.746 MB / 0.7862 GB, free: 62.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00463/1.394, allocations: 3.282 MB / 0.7894 GB, free: 61.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001236/1.394, allocations: 40.31 kB / 0.7894 GB, free: 61.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01508/1.409, allocations: 7.581 MB / 0.7968 GB, free: 59.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.812e-05/1.409, allocations: 63.59 kB / 0.7969 GB, free: 59.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004548/1.414, allocations: 2.507 MB / 0.7993 GB, free: 58.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003421/1.417, allocations: 1.131 MB / 0.8004 GB, free: 58.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/1.422, allocations: 1.42 MB / 0.8018 GB, free: 57.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003969/1.426, allocations: 4.492 MB / 0.8062 GB, free: 54.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004862/1.431, allocations: 279.2 kB / 0.8065 GB, free: 54.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/1.432, allocations: 383.2 kB / 0.8068 GB, free: 54.73 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * 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 (775): * Single equations (assignments): 766 * 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.001072/1.433, allocations: 455.6 kB / 0.8073 GB, free: 54.36 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005456/1.439, allocations: 3.231 MB / 0.8104 GB, free: 53.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006745/1.439, allocations: 327.8 kB / 0.8107 GB, free: 52.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005263/1.445, allocations: 2.864 MB / 0.8135 GB, free: 50.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003854/1.449, allocations: 2.444 MB / 0.8159 GB, free: 48.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/1.449, allocations: 0 / 0.8159 GB, free: 48.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.751e-05/1.449, allocations: 18.17 kB / 0.8159 GB, free: 48.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/1.464, allocations: 8.873 MB / 0.8246 GB, free: 41.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/1.464, allocations: 4.469 kB / 0.8246 GB, free: 41.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.466, allocations: 269.3 kB / 0.8249 GB, free: 41.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002716/1.468, allocations: 1.003 MB / 0.8258 GB, free: 40.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002478/1.469, allocations: 23.53 kB / 0.8259 GB, free: 40.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005047/1.474, allocations: 4.677 MB / 0.8304 GB, free: 36.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008591/1.475, allocations: 1.394 MB / 0.8318 GB, free: 34.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00794/1.483, allocations: 5.728 MB / 0.8374 GB, free: 29.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.484, allocations: 363.6 kB / 0.8377 GB, free: 29.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000354/1.484, allocations: 15.61 kB / 0.8378 GB, free: 29.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/1.485, allocations: 103.8 kB / 0.8379 GB, free: 29.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/1.486, allocations: 118.4 kB / 0.838 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/1.486, allocations: 54.8 kB / 0.838 GB, free: 29.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003152/1.489, allocations: 1.999 MB / 0.84 GB, free: 27.51 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.2e-07/1.489, allocations: 0 / 0.84 GB, free: 27.51 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005946/1.495, allocations: 0.9078 MB / 0.8409 GB, free: 26.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET5.x[3],$STATESET5.x[2],$STATESET5.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 (135): * Single equations (assignments): 128 * 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.007509/1.503, allocations: 7.375 MB / 0.8481 GB, free: 19.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008152/1.511, allocations: 5.185 MB / 0.8531 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.511, allocations: 0 / 0.8531 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003502/1.514, allocations: 2.084 MB / 0.8552 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/1.517, allocations: 369.2 kB / 0.8555 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02498/1.542, allocations: 8.937 MB / 0.8642 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003181/1.545, allocations: 3.271 MB / 0.8674 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005378/1.55, allocations: 1.966 MB / 0.8693 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003264/1.554, allocations: 1.827 MB / 0.8711 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.293e-06/1.554, allocations: 0 / 0.8711 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4338/1.988, allocations: 70.25 MB / 0.9397 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/1.988, allocations: 125.1 kB / 0.9399 GB, free: 129 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.073/6.061, allocations: 7.781 kB / 0.9399 GB, free: 129 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