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.001157/0.001156, allocations: 184.7 kB / 15.76 MB, free: 6.367 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.624/1.624, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009355/0.0009353, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.203/0.203, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003211, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1206, allocations: 58.87 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3982/0.5188, allocations: 107.1 MB / 0.5834 GB, free: 8.934 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.5191, allocations: 81.98 kB / 0.5835 GB, free: 8.891 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2269/0.746, allocations: 83.99 MB / 0.6655 GB, free: 12.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.7461, allocations: 4 kB / 0.6655 GB, free: 12.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003457/0.7464, allocations: 91.92 kB / 0.6656 GB, free: 12.68 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.01642/0.7629, allocations: 4.243 MB / 0.6697 GB, free: 8.363 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.742e-05/0.763, allocations: 12.03 kB / 0.6697 GB, free: 8.352 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003935/0.7669, allocations: 0.7745 MB / 0.6705 GB, free: 7.566 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/0.7787, allocations: 2.354 MB / 0.6728 GB, free: 5.203 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01708/0.7958, allocations: 5.269 MB / 0.6779 GB, free: 15.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004979/0.7963, allocations: 320.6 kB / 0.6782 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002812/0.7992, allocations: 435.8 kB / 0.6787 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02834/0.8275, allocations: 10.65 MB / 0.6891 GB, free: 3.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000351/0.8279, allocations: 63.41 kB / 0.6891 GB, free: 3.348 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002241/0.8302, allocations: 207.9 kB / 0.6893 GB, free: 3.145 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001869/0.8321, allocations: 1.03 MB / 0.6903 GB, free: 2.109 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01967/0.8518, allocations: 8.657 MB / 0.6988 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3173/1.169, allocations: 48.96 MB / 0.7466 GB, free: 84.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009928/1.179, allocations: 3.826 MB / 0.7503 GB, free: 83.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01199/1.191, allocations: 7.793 MB / 0.7579 GB, free: 80.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/1.191, allocations: 59.34 kB / 0.758 GB, free: 80.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 4.168e-06/1.191, allocations: 3.75 kB / 0.758 GB, free: 80.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=169): time 0.03465/1.226, allocations: 14.57 MB / 0.7722 GB, free: 77.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001311/1.227, allocations: 1.604 MB / 0.7738 GB, free: 75.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007819/1.235, allocations: 3.509 MB / 0.7772 GB, free: 75.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000422/1.236, allocations: 47.47 kB / 0.7773 GB, free: 75.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00187/1.237, allocations: 3.175 MB / 0.7804 GB, free: 73.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000746/1.238, allocations: 0.6777 MB / 0.781 GB, free: 73.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/1.238, allocations: 125.8 kB / 0.7811 GB, free: 73.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002567/1.239, allocations: 0.5625 MB / 0.7817 GB, free: 73.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00243/1.241, allocations: 2.029 MB / 0.7837 GB, free: 72.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003757/1.245, allocations: 5.836 MB / 0.7894 GB, free: 67.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003907/1.249, allocations: 3.373 MB / 0.7927 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.014e-05/1.249, allocations: 38.59 kB / 0.7927 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01302/1.262, allocations: 8.425 MB / 0.8009 GB, free: 63.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.518e-05/1.262, allocations: 63.06 kB / 0.801 GB, free: 63.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004291/1.266, allocations: 2.596 MB / 0.8035 GB, free: 62.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003143/1.27, allocations: 1.143 MB / 0.8046 GB, free: 62.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004623/1.274, allocations: 1.404 MB / 0.806 GB, free: 62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004637/1.279, allocations: 4.785 MB / 0.8107 GB, free: 58.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005919/1.285, allocations: 390.1 kB / 0.8111 GB, free: 58.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008651/1.286, allocations: 381.7 kB / 0.8114 GB, free: 58.55 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 () * 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.003239/1.289, allocations: 2.1 MB / 0.8135 GB, free: 57.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005629/1.29, allocations: 346.9 kB / 0.8138 GB, free: 57.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005113/1.295, allocations: 3.028 MB / 0.8168 GB, free: 56.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004137/1.299, allocations: 2.536 MB / 0.8192 GB, free: 55.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/1.299, allocations: 0 / 0.8192 GB, free: 55.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/1.299, allocations: 10.53 kB / 0.8193 GB, free: 55.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/1.316, allocations: 9.543 MB / 0.8286 GB, free: 50.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-05/1.316, allocations: 4 kB / 0.8286 GB, free: 50.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/1.318, allocations: 270.8 kB / 0.8288 GB, free: 50.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/1.32, allocations: 1.017 MB / 0.8298 GB, free: 49.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002086/1.321, allocations: 42.84 kB / 0.8299 GB, free: 49.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004191/1.325, allocations: 4.892 MB / 0.8346 GB, free: 45.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007587/1.326, allocations: 1.466 MB / 0.8361 GB, free: 43.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007922/1.334, allocations: 5.833 MB / 0.8418 GB, free: 38.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/1.335, allocations: 397.7 kB / 0.8422 GB, free: 37.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/1.335, allocations: 44.45 kB / 0.8422 GB, free: 37.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/1.337, allocations: 129.2 kB / 0.8423 GB, free: 37.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/1.337, allocations: 117.1 kB / 0.8424 GB, free: 37.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/1.337, allocations: 59.45 kB / 0.8425 GB, free: 37.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003391/1.34, allocations: 2.42 MB / 0.8449 GB, free: 35.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/1.34, allocations: 0 / 0.8449 GB, free: 35.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005252/1.346, allocations: 1.035 MB / 0.8459 GB, free: 34.65 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 () * 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.008214/1.354, allocations: 7.491 MB / 0.8532 GB, free: 27.81 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009589/1.364, allocations: 5.529 MB / 0.8586 GB, free: 22.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/1.364, allocations: 4 kB / 0.8586 GB, free: 22.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003563/1.367, allocations: 2.127 MB / 0.8607 GB, free: 21.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/1.37, allocations: 426.3 kB / 0.8611 GB, free: 20.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3365/1.706, allocations: 127.6 MB / 0.9857 GB, free: 49.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005723/1.712, allocations: 3.343 MB / 0.989 GB, free: 48.24 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005321/1.718, allocations: 1.915 MB / 0.9908 GB, free: 48.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003033/1.721, allocations: 1.898 MB / 0.9927 GB, free: 48.19 MB / 0.5105 GB Notification: Performance of SimCode: time 2.154e-06/1.721, allocations: 3.938 kB / 0.9927 GB, free: 48.19 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1113/1.832, allocations: 75.76 MB / 1.067 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001272/1.832, allocations: 202.7 kB / 1.067 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.455/6.287, allocations: 4 kB / 1.067 GB, free: 12.42 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