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.001569/0.001569, allocations: 185.8 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.702/1.702, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008734/0.0008731, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.2617/0.2617, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003196, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1297, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4143/0.544, allocations: 107 MB / 0.5833 GB, free: 9.023 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.5444, allocations: 80.17 kB / 0.5834 GB, free: 8.984 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2178/0.7622, allocations: 84 MB / 0.6654 GB, free: 12.86 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.7622, allocations: 0 / 0.6654 GB, free: 12.86 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002446/0.7625, allocations: 87.94 kB / 0.6655 GB, free: 12.77 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.01429/0.7768, allocations: 4.246 MB / 0.6696 GB, free: 8.457 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.7769, allocations: 8.031 kB / 0.6696 GB, free: 8.449 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.788, allocations: 2.35 MB / 0.6719 GB, free: 6.09 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/0.8034, allocations: 5.27 MB / 0.6771 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004007/0.8038, allocations: 324.5 kB / 0.6774 GB, free: 444 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002205/0.8061, allocations: 439.7 kB / 0.6778 GB, free: 4 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02655/0.8326, allocations: 10.65 MB / 0.6882 GB, free: 4.293 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002263/0.8329, allocations: 67.41 kB / 0.6883 GB, free: 4.227 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001113/0.834, allocations: 207.9 kB / 0.6885 GB, free: 4.023 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001599/0.8356, allocations: 1.034 MB / 0.6895 GB, free: 2.984 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01892/0.8546, allocations: 8.657 MB / 0.6979 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.365/1.22, allocations: 48.95 MB / 0.7457 GB, free: 85.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/1.23, allocations: 3.824 MB / 0.7495 GB, free: 84.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01342/1.243, allocations: 7.804 MB / 0.7571 GB, free: 81.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/1.244, allocations: 55.38 kB / 0.7571 GB, free: 81.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 4.228e-06/1.244, allocations: 0 / 0.7571 GB, free: 81.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=169): time 0.03271/1.276, allocations: 14.57 MB / 0.7714 GB, free: 78.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009607/1.277, allocations: 1.598 MB / 0.7729 GB, free: 76.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005365/1.283, allocations: 3.519 MB / 0.7764 GB, free: 76.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004783/1.283, allocations: 50.83 kB / 0.7764 GB, free: 76.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001767/1.285, allocations: 3.178 MB / 0.7795 GB, free: 74.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007772/1.286, allocations: 0.6723 MB / 0.7802 GB, free: 74.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/1.286, allocations: 124.8 kB / 0.7803 GB, free: 74.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002753/1.286, allocations: 0.5638 MB / 0.7808 GB, free: 74.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/1.289, allocations: 2.031 MB / 0.7828 GB, free: 74.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003736/1.293, allocations: 5.833 MB / 0.7885 GB, free: 68.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004007/1.297, allocations: 3.367 MB / 0.7918 GB, free: 67.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.588e-05/1.297, allocations: 39.5 kB / 0.7918 GB, free: 67.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01366/1.31, allocations: 8.423 MB / 0.8001 GB, free: 64.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-05/1.31, allocations: 64.38 kB / 0.8001 GB, free: 64.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00464/1.315, allocations: 2.596 MB / 0.8027 GB, free: 63.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003391/1.319, allocations: 1.142 MB / 0.8038 GB, free: 63.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004707/1.323, allocations: 1.408 MB / 0.8052 GB, free: 63.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005149/1.328, allocations: 4.788 MB / 0.8098 GB, free: 59.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006541/1.335, allocations: 385 kB / 0.8102 GB, free: 59.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/1.337, allocations: 386.4 kB / 0.8106 GB, free: 59.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 () * 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.005657/1.342, allocations: 2.092 MB / 0.8126 GB, free: 58.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/1.343, allocations: 344.3 kB / 0.8129 GB, free: 58.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00677/1.35, allocations: 3.04 MB / 0.8159 GB, free: 57.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004378/1.355, allocations: 2.527 MB / 0.8184 GB, free: 56.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/1.355, allocations: 3.406 kB / 0.8184 GB, free: 56.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.672e-05/1.355, allocations: 10.14 kB / 0.8184 GB, free: 56.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02417/1.379, allocations: 9.535 MB / 0.8277 GB, free: 52.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-05/1.379, allocations: 4 kB / 0.8277 GB, free: 52.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/1.38, allocations: 269.5 kB / 0.828 GB, free: 52.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002791/1.383, allocations: 1.015 MB / 0.829 GB, free: 51.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002918/1.383, allocations: 41.14 kB / 0.829 GB, free: 51.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00594/1.389, allocations: 4.903 MB / 0.8338 GB, free: 46.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008887/1.39, allocations: 1.466 MB / 0.8352 GB, free: 45.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009276/1.399, allocations: 5.829 MB / 0.8409 GB, free: 40.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/1.401, allocations: 410.3 kB / 0.8413 GB, free: 39.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001478/1.403, allocations: 35.09 kB / 0.8413 GB, free: 39.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00256/1.405, allocations: 128.5 kB / 0.8415 GB, free: 39.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004042/1.406, allocations: 114.2 kB / 0.8416 GB, free: 39.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/1.406, allocations: 54.8 kB / 0.8416 GB, free: 39.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005619/1.412, allocations: 2.43 MB / 0.844 GB, free: 37.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.31e-07/1.412, allocations: 0 / 0.844 GB, free: 37.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00729/1.419, allocations: 1.035 MB / 0.845 GB, free: 36.44 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.0008661/1.42, allocations: 189.5 kB / 0.8452 GB, free: 36.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01069/1.431, allocations: 5.533 MB / 0.8506 GB, free: 31.42 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.431, allocations: 0 / 0.8506 GB, free: 31.42 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004079/1.435, allocations: 2.123 MB / 0.8527 GB, free: 29.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003206/1.438, allocations: 428.1 kB / 0.8531 GB, free: 29.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02259/1.461, allocations: 11.26 MB / 0.8641 GB, free: 18.94 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006035/1.467, allocations: 3.341 MB / 0.8673 GB, free: 16.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005876/1.473, allocations: 1.914 MB / 0.8692 GB, free: 15 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007862/1.473, allocations: 239.4 kB / 0.8694 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of SimCode: time 1.663e-06/1.473, allocations: 0 / 0.8694 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.3625/1.836, allocations: 33.95 MB / 0.9026 GB, free: 125.5 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