Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.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.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002058/0.002057, allocations: 198.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.2 MB / 245 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 92.06 kB / 297.2 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4424/0.4424, allocations: 45.23 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003978, allocations: 11.98 kB / 468.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3816, allocations: 63.24 MB / 0.5193 GB, free: 37.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.5334, allocations: 109.5 MB / 0.6262 GB, free: 9.957 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.5337, allocations: 87.92 kB / 0.6262 GB, free: 9.875 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5449/1.079, allocations: 85.1 MB / 0.7093 GB, free: 101.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.208e-06/1.079, allocations: 1.5 kB / 0.7094 GB, free: 101.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002788/1.079, allocations: 89.31 kB / 0.7094 GB, free: 101.4 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.01396/1.093, allocations: 4.16 MB / 0.7135 GB, free: 99.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/1.093, allocations: 9.438 kB / 0.7135 GB, free: 99.47 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00275/1.096, allocations: 0.7469 MB / 0.7142 GB, free: 99.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0126/1.108, allocations: 2.378 MB / 0.7166 GB, free: 99.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/1.123, allocations: 4.421 MB / 0.7209 GB, free: 98.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/1.123, allocations: 321.4 kB / 0.7212 GB, free: 98.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001787/1.125, allocations: 421 kB / 0.7216 GB, free: 98.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01969/1.144, allocations: 10.38 MB / 0.7317 GB, free: 92.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001612/1.145, allocations: 60.19 kB / 0.7318 GB, free: 92.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006299/1.145, allocations: 207.5 kB / 0.732 GB, free: 92.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001189/1.146, allocations: 0.9937 MB / 0.7329 GB, free: 92.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01573/1.162, allocations: 8.394 MB / 0.7411 GB, free: 89.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04595/1.208, allocations: 48.09 MB / 0.7881 GB, free: 50.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008181/1.216, allocations: 3.704 MB / 0.7917 GB, free: 46.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009907/1.226, allocations: 7.637 MB / 0.7992 GB, free: 38.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/1.226, allocations: 51.5 kB / 0.7992 GB, free: 38.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=144): time 4.338e-06/1.226, allocations: 0 / 0.7992 GB, free: 38.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.0319/1.258, allocations: 14.17 MB / 0.8131 GB, free: 24.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009825/1.259, allocations: 1.604 MB / 0.8146 GB, free: 22.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00483/1.264, allocations: 3.44 MB / 0.818 GB, free: 19.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000386/1.265, allocations: 52.28 kB / 0.818 GB, free: 18.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001543/1.266, allocations: 3.098 MB / 0.8211 GB, free: 15.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007221/1.267, allocations: 0.6453 MB / 0.8217 GB, free: 15.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/1.267, allocations: 116.2 kB / 0.8218 GB, free: 15.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000276/1.267, allocations: 0.5581 MB / 0.8224 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/1.27, allocations: 1.971 MB / 0.8243 GB, free: 12.56 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00413/1.274, allocations: 5.69 MB / 0.8298 GB, free: 4.992 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003716/1.278, allocations: 3.292 MB / 0.833 GB, free: 1.699 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-05/1.278, allocations: 43.94 kB / 0.8331 GB, free: 1.656 MB / 490.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.0162/1.294, allocations: 8.216 MB / 0.8411 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002115/1.294, allocations: 64 kB / 0.8412 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006039/1.3, allocations: 2.509 MB / 0.8436 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003817/1.304, allocations: 1.127 MB / 0.8447 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004929/1.309, allocations: 1.365 MB / 0.8461 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006043/1.315, allocations: 4.785 MB / 0.8507 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0056/1.321, allocations: 379.3 kB / 0.8511 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/1.322, allocations: 372 kB / 0.8514 GB, free: 14.55 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 () * Number of clocked 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.00657/1.329, allocations: 2.05 MB / 0.8535 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/1.33, allocations: 335.5 kB / 0.8538 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007039/1.337, allocations: 2.91 MB / 0.8566 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005227/1.342, allocations: 2.445 MB / 0.859 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.934e-05/1.343, allocations: 4.469 kB / 0.859 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.225e-05/1.343, allocations: 7.969 kB / 0.859 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02235/1.365, allocations: 9.238 MB / 0.868 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/1.365, allocations: 7.984 kB / 0.868 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/1.366, allocations: 255.6 kB / 0.8683 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003168/1.369, allocations: 1.014 MB / 0.8693 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002905/1.37, allocations: 43.97 kB / 0.8693 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005719/1.375, allocations: 4.917 MB / 0.8741 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001143/1.377, allocations: 1.465 MB / 0.8756 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3736/1.75, allocations: 5.659 MB / 0.8811 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0017/1.752, allocations: 395.9 kB / 0.8815 GB, free: 132 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007444/1.753, allocations: 33.33 kB / 0.8815 GB, free: 132 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002597/1.755, allocations: 126.9 kB / 0.8816 GB, free: 132 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005009/1.756, allocations: 108.5 kB / 0.8817 GB, free: 132 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/1.756, allocations: 48.33 kB / 0.8818 GB, free: 132 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006823/1.763, allocations: 2.374 MB / 0.8841 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.91e-07/1.763, allocations: 0 / 0.8841 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009229/1.772, allocations: 1.019 MB / 0.8851 GB, free: 131.9 MB / 0.5261 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 () * Number of clocked 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.01353/1.786, allocations: 7.31 MB / 0.8922 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01417/1.8, allocations: 5.398 MB / 0.8975 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/1.8, allocations: 5.719 kB / 0.8975 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006816/1.807, allocations: 2.098 MB / 0.8995 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004755/1.812, allocations: 423.2 kB / 0.8999 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1332/1.945, allocations: 124.7 MB / 1.022 GB, free: 33.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006625/1.952, allocations: 3.265 MB / 1.025 GB, free: 31.79 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00684/1.959, allocations: 1.871 MB / 1.027 GB, free: 31.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002744/1.961, allocations: 1.829 MB / 1.028 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/1.961, allocations: 0 / 1.028 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4146/2.376, allocations: 74.01 MB / 1.101 GB, free: 145 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/2.376, allocations: 208.4 kB / 1.101 GB, free: 144.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.389/6.766, allocations: 1.094 kB / 1.101 GB, free: 144.8 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat