Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002376/0.002375, allocations: 185.4 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001178/0.001178, allocations: 95.23 kB / 270.9 MB, free: 8.395 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.5445/0.5445, allocations: 43.56 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004807, allocations: 20 kB / 431.5 MB, free: 5.863 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1324, allocations: 58.84 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5294/0.6619, allocations: 107 MB / 0.5834 GB, free: 11.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.6622, allocations: 83.95 kB / 0.5834 GB, free: 11.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4775/1.14, allocations: 84 MB / 0.6655 GB, free: 6.762 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.316e-06/1.14, allocations: 0 / 0.6655 GB, free: 6.762 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003125/1.14, allocations: 87.94 kB / 0.6656 GB, free: 6.676 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: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.01745/1.158, allocations: 4.256 MB / 0.6697 GB, free: 2.352 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/1.158, allocations: 8.031 kB / 0.6697 GB, free: 2.344 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00356/1.161, allocations: 0.7745 MB / 0.6705 GB, free: 1.559 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3525/1.514, allocations: 2.346 MB / 0.6728 GB, free: 90.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02031/1.534, allocations: 5.265 MB / 0.6779 GB, free: 89.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004359/1.535, allocations: 325.1 kB / 0.6782 GB, free: 89.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002351/1.537, allocations: 434.9 kB / 0.6786 GB, free: 89.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03116/1.568, allocations: 10.65 MB / 0.689 GB, free: 87.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003235/1.569, allocations: 61.38 kB / 0.6891 GB, free: 87.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001922/1.571, allocations: 213.1 kB / 0.6893 GB, free: 87.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002396/1.573, allocations: 1.027 MB / 0.6903 GB, free: 87.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0261/1.599, allocations: 8.662 MB / 0.6988 GB, free: 87 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07465/1.674, allocations: 48.96 MB / 0.7466 GB, free: 52.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01641/1.69, allocations: 3.827 MB / 0.7503 GB, free: 51.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01782/1.708, allocations: 7.799 MB / 0.7579 GB, free: 46.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/1.708, allocations: 46.91 kB / 0.758 GB, free: 46.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 5.53e-06/1.708, allocations: 0 / 0.758 GB, free: 46.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=169): time 0.06247/1.771, allocations: 14.58 MB / 0.7722 GB, free: 40.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001419/1.772, allocations: 1.604 MB / 0.7738 GB, free: 39.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008125/1.78, allocations: 3.508 MB / 0.7772 GB, free: 37.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004434/1.781, allocations: 50.56 kB / 0.7772 GB, free: 37.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002677/1.784, allocations: 3.114 MB / 0.7803 GB, free: 35.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001078/1.785, allocations: 0.6808 MB / 0.781 GB, free: 34.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000814/1.786, allocations: 116.9 kB / 0.7811 GB, free: 34.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004167/1.786, allocations: 0.57 MB / 0.7816 GB, free: 34.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005292/1.791, allocations: 2.027 MB / 0.7836 GB, free: 33.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008019/1.799, allocations: 5.834 MB / 0.7893 GB, free: 27.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007698/1.807, allocations: 3.37 MB / 0.7926 GB, free: 26.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001273/1.807, allocations: 35.75 kB / 0.7926 GB, free: 26.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02393/1.831, allocations: 8.309 MB / 0.8007 GB, free: 23.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/1.831, allocations: 67.03 kB / 0.8008 GB, free: 23.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008624/1.84, allocations: 2.596 MB / 0.8033 GB, free: 22.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00606/1.846, allocations: 1.143 MB / 0.8045 GB, free: 22.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008321/1.855, allocations: 1.403 MB / 0.8058 GB, free: 22.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008036/1.863, allocations: 4.782 MB / 0.8105 GB, free: 18.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006949/1.87, allocations: 397.6 kB / 0.8109 GB, free: 17.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001384/1.871, allocations: 379.5 kB / 0.8112 GB, free: 17.59 MB / 490.7 MB 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 () * Number of clocked 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.006004/1.877, allocations: 2.094 MB / 0.8133 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009941/1.878, allocations: 351.4 kB / 0.8136 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/1.888, allocations: 3.026 MB / 0.8166 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008454/1.897, allocations: 2.533 MB / 0.819 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-05/1.897, allocations: 8 kB / 0.8191 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.604e-05/1.897, allocations: 10.45 kB / 0.8191 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02902/1.926, allocations: 9.524 MB / 0.8284 GB, free: 3.297 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.142e-05/1.926, allocations: 4 kB / 0.8284 GB, free: 3.293 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002431/1.929, allocations: 270.2 kB / 0.8286 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005428/1.934, allocations: 1.014 MB / 0.8296 GB, free: 2.398 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004144/1.935, allocations: 49.8 kB / 0.8297 GB, free: 2.359 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008532/1.943, allocations: 4.886 MB / 0.8344 GB, free: 13.82 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001544/1.945, allocations: 1.468 MB / 0.8359 GB, free: 12.27 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/1.96, allocations: 5.833 MB / 0.8416 GB, free: 7.004 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/1.962, allocations: 404.7 kB / 0.8419 GB, free: 6.598 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001203/1.963, allocations: 37.73 kB / 0.842 GB, free: 6.566 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003322/1.966, allocations: 133.6 kB / 0.8421 GB, free: 6.484 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00065/1.967, allocations: 113.6 kB / 0.8422 GB, free: 6.41 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002248/1.967, allocations: 55.27 kB / 0.8423 GB, free: 6.363 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.007128/1.974, allocations: 2.424 MB / 0.8446 GB, free: 4.352 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7.41e-07/1.974, allocations: 3.938 kB / 0.8446 GB, free: 4.348 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007671/1.982, allocations: 1.034 MB / 0.8457 GB, free: 3.32 MB / 0.4949 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 (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.01696/1.999, allocations: 7.484 MB / 0.853 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01644/2.016, allocations: 5.541 MB / 0.8584 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/2.016, allocations: 8 kB / 0.8584 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007528/2.023, allocations: 2.121 MB / 0.8605 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/2.027, allocations: 440.8 kB / 0.8609 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4662/2.493, allocations: 128.1 MB / 0.986 GB, free: 34.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008314/2.502, allocations: 3.353 MB / 0.9893 GB, free: 34.18 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004977/2.507, allocations: 1.946 MB / 0.9912 GB, free: 34.18 MB / 0.5417 GB Notification: Performance of SimCode: time 1.513e-06/2.507, allocations: 0 / 0.9912 GB, free: 34.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.382/7.889, allocations: 150.2 MB / 1.138 GB, free: 137.2 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat