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: 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_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_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.000939/0.000939, 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.224/1.224, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008039/0.0008038, allocations: 86.41 kB / 267 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.3034/0.3034, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.524e-05/2.526e-05, allocations: 4 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0981/0.09814, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.333/0.4312, allocations: 107 MB / 0.5772 GB, free: 15.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.4315, allocations: 85.03 kB / 0.5773 GB, free: 14.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1934/0.6249, allocations: 84.04 MB / 0.6594 GB, free: 3.652 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.625, allocations: 4 kB / 0.6594 GB, free: 3.648 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001491/0.6251, allocations: 87.94 kB / 0.6595 GB, free: 3.562 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.01035/0.6355, allocations: 3.985 MB / 0.6634 GB, free: 15.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.094e-05/0.6356, allocations: 12.03 kB / 0.6634 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.647, allocations: 2.35 MB / 0.6657 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.6584, allocations: 5.238 MB / 0.6708 GB, free: 7.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.6587, allocations: 333.9 kB / 0.6711 GB, free: 7.512 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008182/0.6595, allocations: 427.8 kB / 0.6715 GB, free: 7.094 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/0.6747, allocations: 10.57 MB / 0.6818 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.6748, allocations: 63.41 kB / 0.6819 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004688/0.6753, allocations: 207.9 kB / 0.6821 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001202/0.6765, allocations: 1.03 MB / 0.6831 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/0.6917, allocations: 8.534 MB / 0.6914 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2663/0.958, allocations: 48.96 MB / 0.7393 GB, free: 65.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00795/0.966, allocations: 3.812 MB / 0.743 GB, free: 65.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.9677, allocations: 1.57 MB / 0.7445 GB, free: 65.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008685/0.9764, allocations: 7.79 MB / 0.7521 GB, free: 62.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.9765, allocations: 50.19 kB / 0.7522 GB, free: 62.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 4.389e-06/0.9765, allocations: 0 / 0.7522 GB, free: 62.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=169): time 0.02787/1.004, allocations: 12.36 MB / 0.7642 GB, free: 59.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008709/1.005, allocations: 1.595 MB / 0.7658 GB, free: 58.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004527/1.01, allocations: 3.478 MB / 0.7692 GB, free: 56.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003028/1.01, allocations: 51.2 kB / 0.7692 GB, free: 56.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001469/1.012, allocations: 3.174 MB / 0.7723 GB, free: 54.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006371/1.012, allocations: 0.68 MB / 0.773 GB, free: 53.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/1.013, allocations: 120.8 kB / 0.7731 GB, free: 53.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000274/1.013, allocations: 0.5612 MB / 0.7737 GB, free: 53.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/1.016, allocations: 1.987 MB / 0.7756 GB, free: 52.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004246/1.02, allocations: 5.786 MB / 0.7813 GB, free: 47.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004399/1.024, allocations: 3.364 MB / 0.7845 GB, free: 46.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.159e-05/1.024, allocations: 38.06 kB / 0.7846 GB, free: 46.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.0127/1.037, allocations: 8.335 MB / 0.7927 GB, free: 43.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.635e-05/1.037, allocations: 64.72 kB / 0.7928 GB, free: 43.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004188/1.041, allocations: 2.565 MB / 0.7953 GB, free: 42.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002821/1.044, allocations: 1.135 MB / 0.7964 GB, free: 42.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003703/1.048, allocations: 1.411 MB / 0.7978 GB, free: 42.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003735/1.052, allocations: 4.698 MB / 0.8024 GB, free: 38.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004559/1.056, allocations: 389.7 kB / 0.8027 GB, free: 38.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007613/1.057, allocations: 378.1 kB / 0.8031 GB, free: 38.79 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.0009093/1.058, allocations: 0.5932 MB / 0.8037 GB, free: 38.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005726/1.058, allocations: 344.3 kB / 0.804 GB, free: 38.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004889/1.063, allocations: 3.001 MB / 0.8069 GB, free: 37.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00385/1.067, allocations: 2.51 MB / 0.8094 GB, free: 36.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.067, allocations: 3.281 kB / 0.8094 GB, free: 36.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.067, allocations: 9.609 kB / 0.8094 GB, free: 36.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/1.082, allocations: 9.49 MB / 0.8187 GB, free: 32.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.082, allocations: 7.906 kB / 0.8187 GB, free: 32.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/1.083, allocations: 270.2 kB / 0.8189 GB, free: 32.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/1.085, allocations: 1.016 MB / 0.8199 GB, free: 32.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/1.086, allocations: 48.56 kB / 0.82 GB, free: 32.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00395/1.089, allocations: 4.797 MB / 0.8247 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006469/1.09, allocations: 1.455 MB / 0.8261 GB, free: 27.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006754/1.097, allocations: 5.778 MB / 0.8317 GB, free: 25.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009715/1.098, allocations: 404.2 kB / 0.8321 GB, free: 24.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003674/1.098, allocations: 38.25 kB / 0.8321 GB, free: 24.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.1, allocations: 124.4 kB / 0.8323 GB, free: 24.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/1.1, allocations: 118.9 kB / 0.8324 GB, free: 24.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.1, allocations: 50.34 kB / 0.8324 GB, free: 24.69 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002943/1.103, allocations: 2.385 MB / 0.8347 GB, free: 23.83 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.71e-07/1.103, allocations: 3.875 kB / 0.8347 GB, free: 23.83 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004421/1.107, allocations: 1.043 MB / 0.8358 GB, free: 23.71 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.0003704/1.108, allocations: 184.8 kB / 0.8359 GB, free: 23.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007302/1.115, allocations: 5.471 MB / 0.8413 GB, free: 20.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.115, allocations: 112 / 0.8413 GB, free: 20.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003271/1.118, allocations: 2.112 MB / 0.8433 GB, free: 18.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/1.121, allocations: 426.9 kB / 0.8438 GB, free: 18.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/1.132, allocations: 7.953 MB / 0.8515 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002637/1.135, allocations: 3.345 MB / 0.8548 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004085/1.139, allocations: 1.909 MB / 0.8567 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006223/1.14, allocations: 245.4 kB / 0.8569 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/1.14, allocations: 0 / 0.8569 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.2741/1.414, allocations: 33.96 MB / 0.8901 GB, free: 106.4 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches