Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.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.BodyShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_BodyShape",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.001406/0.001406, allocations: 183.1 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008559/0.0008559, allocations: 87.22 kB / 267.1 MB, free: 9.281 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.47/0.47, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.05e-05/4.052e-05, allocations: 11.98 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 58.83 MB / 484.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4887/0.6224, allocations: 107 MB / 0.5773 GB, free: 14.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.6228, allocations: 74.84 kB / 0.5774 GB, free: 14.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2155/0.8383, allocations: 84.05 MB / 0.6595 GB, free: 3.598 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.8383, allocations: 0 / 0.6595 GB, free: 3.598 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001904/0.8385, allocations: 87.94 kB / 0.6596 GB, free: 3.512 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.01279/0.8513, allocations: 3.985 MB / 0.6635 GB, free: 15.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/0.8514, allocations: 8.031 kB / 0.6635 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003166/0.8546, allocations: 0.7706 MB / 0.6642 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.8665, allocations: 2.354 MB / 0.6665 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01369/0.8803, allocations: 5.24 MB / 0.6717 GB, free: 7.008 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00039/0.8807, allocations: 324.5 kB / 0.672 GB, free: 6.688 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002415/0.8832, allocations: 439.8 kB / 0.6724 GB, free: 6.258 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02581/0.909, allocations: 10.57 MB / 0.6827 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002197/0.9093, allocations: 63.41 kB / 0.6828 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007733/0.9101, allocations: 207.9 kB / 0.683 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001502/0.9116, allocations: 1.022 MB / 0.684 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01788/0.9295, allocations: 8.53 MB / 0.6923 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3935/1.323, allocations: 48.96 MB / 0.7401 GB, free: 65.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009056/1.332, allocations: 3.805 MB / 0.7438 GB, free: 65.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00229/1.335, allocations: 1.58 MB / 0.7454 GB, free: 65.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01177/1.346, allocations: 7.788 MB / 0.753 GB, free: 62.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/1.346, allocations: 51.12 kB / 0.753 GB, free: 62.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 5.47e-06/1.346, allocations: 3.188 kB / 0.753 GB, free: 62.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=169): time 0.03354/1.38, allocations: 12.35 MB / 0.7651 GB, free: 59.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001077/1.381, allocations: 1.598 MB / 0.7666 GB, free: 57.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005343/1.386, allocations: 3.469 MB / 0.77 GB, free: 56.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00033/1.387, allocations: 47.2 kB / 0.7701 GB, free: 56.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00194/1.389, allocations: 3.177 MB / 0.7732 GB, free: 54.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007446/1.389, allocations: 0.6799 MB / 0.7738 GB, free: 53.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/1.39, allocations: 125.1 kB / 0.774 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003098/1.39, allocations: 0.5621 MB / 0.7745 GB, free: 53.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003067/1.393, allocations: 1.983 MB / 0.7765 GB, free: 52.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004924/1.398, allocations: 5.786 MB / 0.7821 GB, free: 46.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005532/1.404, allocations: 3.369 MB / 0.7854 GB, free: 45.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001377/1.404, allocations: 36.69 kB / 0.7854 GB, free: 45.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01674/1.421, allocations: 8.331 MB / 0.7936 GB, free: 42.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/1.421, allocations: 64.53 kB / 0.7936 GB, free: 42.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00465/1.425, allocations: 2.568 MB / 0.7961 GB, free: 42.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00318/1.429, allocations: 1.133 MB / 0.7972 GB, free: 41.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004378/1.433, allocations: 1.409 MB / 0.7986 GB, free: 41.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004161/1.437, allocations: 4.714 MB / 0.8032 GB, free: 38.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0054/1.443, allocations: 389.9 kB / 0.8036 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00111/1.444, allocations: 383.3 kB / 0.804 GB, free: 38.34 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 39 (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 (764): * Single equations (assignments): 755 * 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.001065/1.445, allocations: 0.5806 MB / 0.8045 GB, free: 37.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000726/1.445, allocations: 348.2 kB / 0.8049 GB, free: 37.67 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00544/1.451, allocations: 2.992 MB / 0.8078 GB, free: 36.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004156/1.455, allocations: 2.509 MB / 0.8102 GB, free: 35.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/1.455, allocations: 3.281 kB / 0.8102 GB, free: 35.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/1.455, allocations: 6.75 kB / 0.8102 GB, free: 35.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/1.473, allocations: 9.508 MB / 0.8195 GB, free: 32.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.219e-05/1.473, allocations: 3.781 kB / 0.8195 GB, free: 32.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/1.474, allocations: 279.4 kB / 0.8198 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002789/1.477, allocations: 1.004 MB / 0.8208 GB, free: 32.08 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/1.477, allocations: 46.48 kB / 0.8208 GB, free: 32.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004501/1.481, allocations: 4.804 MB / 0.8255 GB, free: 28.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007043/1.482, allocations: 1.446 MB / 0.8269 GB, free: 27.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007841/1.49, allocations: 5.78 MB / 0.8326 GB, free: 24.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/1.492, allocations: 408 kB / 0.833 GB, free: 24.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003743/1.492, allocations: 31.72 kB / 0.833 GB, free: 24.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/1.493, allocations: 128.9 kB / 0.8331 GB, free: 24.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/1.494, allocations: 117.7 kB / 0.8332 GB, free: 24.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/1.494, allocations: 57.25 kB / 0.8333 GB, free: 24.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003857/1.498, allocations: 2.387 MB / 0.8356 GB, free: 23.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.81e-07/1.498, allocations: 0 / 0.8356 GB, free: 23.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00662/1.504, allocations: 1.039 MB / 0.8366 GB, free: 23.26 MB / 0.4948 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 (136): * Single equations (assignments): 129 * 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.00841/1.513, allocations: 7.437 MB / 0.8439 GB, free: 18.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009707/1.522, allocations: 5.466 MB / 0.8492 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/1.522, allocations: 4 kB / 0.8492 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003746/1.526, allocations: 2.1 MB / 0.8513 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/1.53, allocations: 426.6 kB / 0.8517 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02407/1.554, allocations: 9.36 MB / 0.8608 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003592/1.557, allocations: 3.341 MB / 0.8641 GB, free: 332 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01085/1.568, allocations: 2.344 MB / 0.8664 GB, free: 0 / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009381/1.578, allocations: 2.289 MB / 0.8686 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of SimCode: time 1.393e-06/1.578, allocations: 0 / 0.8686 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4418/2.019, allocations: 75.97 MB / 0.9428 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/2.02, allocations: 181 kB / 0.943 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.449/6.469, allocations: 0 / 0.943 GB, free: 103.2 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat