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: translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|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.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|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.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002165/0.002169, allocations: 188.3 kB / 16.41 MB, free: 5.723 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.042/2.042, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001109/0.001108, allocations: 84.38 kB / 270.9 MB, free: 8.367 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.4934/0.4934, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006421/0.0006422, allocations: 19.98 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1206, allocations: 58.83 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4819/0.6025, allocations: 107.1 MB / 0.5833 GB, free: 11.64 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.6029, allocations: 75.97 kB / 0.5833 GB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3421/0.945, allocations: 84 MB / 0.6654 GB, free: 7.074 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.9451, allocations: 4 kB / 0.6654 GB, free: 7.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002848/0.9454, allocations: 87.92 kB / 0.6655 GB, free: 6.984 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.01662/0.962, allocations: 4.248 MB / 0.6696 GB, free: 2.668 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.9621, allocations: 8.031 kB / 0.6696 GB, free: 2.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01885/0.9809, allocations: 2.353 MB / 0.6719 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.361/1.342, allocations: 5.258 MB / 0.677 GB, free: 90.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000539/1.343, allocations: 328 kB / 0.6774 GB, free: 90.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002361/1.345, allocations: 434.3 kB / 0.6778 GB, free: 90.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02964/1.375, allocations: 10.65 MB / 0.6882 GB, free: 88.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002491/1.375, allocations: 64.75 kB / 0.6882 GB, free: 88.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001222/1.376, allocations: 211 kB / 0.6884 GB, free: 88.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002107/1.378, allocations: 1.026 MB / 0.6894 GB, free: 88.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02496/1.403, allocations: 8.659 MB / 0.6979 GB, free: 88.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07038/1.474, allocations: 48.97 MB / 0.7457 GB, free: 53.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01621/1.49, allocations: 3.832 MB / 0.7495 GB, free: 52.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01629/1.506, allocations: 7.788 MB / 0.7571 GB, free: 47.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/1.506, allocations: 58.14 kB / 0.7571 GB, free: 47.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 6.522e-06/1.506, allocations: 0 / 0.7571 GB, free: 47.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=169): time 0.05881/1.565, allocations: 14.58 MB / 0.7714 GB, free: 41.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001329/1.567, allocations: 1.599 MB / 0.7729 GB, free: 39.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007176/1.574, allocations: 3.512 MB / 0.7763 GB, free: 38.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004506/1.574, allocations: 46.33 kB / 0.7764 GB, free: 38.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002305/1.577, allocations: 3.112 MB / 0.7794 GB, free: 36.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009965/1.578, allocations: 0.6814 MB / 0.7801 GB, free: 35.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006189/1.578, allocations: 124.2 kB / 0.7802 GB, free: 35.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003497/1.579, allocations: 0.5646 MB / 0.7808 GB, free: 35.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004704/1.583, allocations: 2.028 MB / 0.7827 GB, free: 34.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006973/1.59, allocations: 5.838 MB / 0.7884 GB, free: 28.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007193/1.598, allocations: 3.362 MB / 0.7917 GB, free: 27.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.901e-05/1.598, allocations: 40.59 kB / 0.7918 GB, free: 27.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02246/1.62, allocations: 8.313 MB / 0.7999 GB, free: 24.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-05/1.62, allocations: 63.28 kB / 0.7999 GB, free: 24.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008235/1.629, allocations: 2.596 MB / 0.8025 GB, free: 23.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005835/1.635, allocations: 1.138 MB / 0.8036 GB, free: 23.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007756/1.642, allocations: 1.406 MB / 0.805 GB, free: 22.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007397/1.65, allocations: 4.791 MB / 0.8096 GB, free: 19.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006763/1.657, allocations: 390.8 kB / 0.81 GB, free: 19.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/1.658, allocations: 376.9 kB / 0.8104 GB, free: 19.48 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.005211/1.663, allocations: 2.101 MB / 0.8124 GB, free: 17.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00087/1.664, allocations: 343.5 kB / 0.8128 GB, free: 17.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009456/1.673, allocations: 3.023 MB / 0.8157 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007921/1.681, allocations: 2.544 MB / 0.8182 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/1.681, allocations: 4 kB / 0.8182 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.975e-05/1.682, allocations: 6.422 kB / 0.8182 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02558/1.707, allocations: 9.53 MB / 0.8275 GB, free: 5.234 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/1.707, allocations: 4 kB / 0.8275 GB, free: 5.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002313/1.71, allocations: 271.6 kB / 0.8278 GB, free: 5.016 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005253/1.715, allocations: 1.02 MB / 0.8288 GB, free: 4.332 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003262/1.715, allocations: 41.97 kB / 0.8288 GB, free: 4.297 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007712/1.723, allocations: 4.895 MB / 0.8336 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001381/1.724, allocations: 1.457 MB / 0.835 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/1.739, allocations: 5.841 MB / 0.8407 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/1.74, allocations: 401.9 kB / 0.8411 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006542/1.741, allocations: 39.66 kB / 0.8411 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002483/1.744, allocations: 125 kB / 0.8413 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000405/1.744, allocations: 115.7 kB / 0.8414 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/1.744, allocations: 54.84 kB / 0.8414 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005768/1.75, allocations: 2.421 MB / 0.8438 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.91e-07/1.75, allocations: 0 / 0.8438 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007475/1.757, allocations: 1.041 MB / 0.8448 GB, free: 5.262 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.0006373/1.758, allocations: 174.8 kB / 0.845 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01534/1.774, allocations: 5.551 MB / 0.8504 GB, free: 248 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/1.774, allocations: 0 / 0.8504 GB, free: 248 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01021/1.784, allocations: 2.315 MB / 0.8526 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/1.787, allocations: 432.6 kB / 0.8531 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02945/1.817, allocations: 11.74 MB / 0.8645 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3525/2.169, allocations: 3.343 MB / 0.8678 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/2.171, allocations: 297.3 kB / 0.8681 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.203e-06/2.171, allocations: 0 / 0.8681 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.2131/2.384, allocations: 124.8 MB / 0.99 GB, free: 57.93 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.makefile (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 & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches