Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 170.4 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.5 MB / 230.7 MB, free: 7.504 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008147/0.0008148, allocations: 95.47 kB / 281.6 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1923/0.1923, allocations: 44.15 MB / 376.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.349e-05/1.353e-05, allocations: 0 / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 61.92 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3851/0.5039, allocations: 107.8 MB / 0.6 GB, free: 4.656 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.5042, allocations: 75.97 kB / 0.6 GB, free: 4.582 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.205/0.7092, allocations: 81.11 MB / 0.6792 GB, free: 2.918 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.624e-06/0.7092, allocations: 0 / 0.6792 GB, free: 2.918 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002803/0.7095, allocations: 88 kB / 0.6793 GB, free: 2.832 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: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.0126/0.7221, allocations: 3.899 MB / 0.6831 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.7222, allocations: 11.98 kB / 0.6831 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/0.7332, allocations: 2.33 MB / 0.6854 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/0.7456, allocations: 5.023 MB / 0.6903 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.7458, allocations: 136 kB / 0.6904 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/0.7473, allocations: 251.9 kB / 0.6907 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01069/0.758, allocations: 5.963 MB / 0.6965 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2826/1.041, allocations: 9.212 MB / 0.7055 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/1.041, allocations: 60.05 kB / 0.7056 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004859/1.041, allocations: 37.08 kB / 0.7056 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001498/1.043, allocations: 0.9858 MB / 0.7066 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04536/1.088, allocations: 47.41 MB / 0.7529 GB, free: 82.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/1.091, allocations: 2.516 MB / 0.7553 GB, free: 80.99 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/1.092, allocations: 1.439 MB / 0.7567 GB, free: 80.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006735/1.093, allocations: 0.9889 MB / 0.7577 GB, free: 79.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/1.093, allocations: 48.89 kB / 0.7577 GB, free: 79.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=150): time 3.326e-06/1.093, allocations: 3.375 kB / 0.7577 GB, free: 79.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=169): time 0.02252/1.116, allocations: 13.77 MB / 0.7712 GB, free: 73.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/1.116, allocations: 153.8 kB / 0.7713 GB, free: 73.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003474/1.119, allocations: 3.028 MB / 0.7743 GB, free: 72.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000188/1.119, allocations: 28.8 kB / 0.7743 GB, free: 72.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/1.121, allocations: 3.133 MB / 0.7774 GB, free: 70.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005007/1.121, allocations: 0.6669 MB / 0.778 GB, free: 69.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/1.121, allocations: 3.719 kB / 0.778 GB, free: 69.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002605/1.122, allocations: 0.5666 MB / 0.7786 GB, free: 69.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002037/1.124, allocations: 1.91 MB / 0.7805 GB, free: 68.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003239/1.127, allocations: 5.745 MB / 0.7861 GB, free: 62.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003305/1.13, allocations: 3.287 MB / 0.7893 GB, free: 61.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.846e-05/1.13, allocations: 42.28 kB / 0.7893 GB, free: 61.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01278/1.143, allocations: 7.572 MB / 0.7967 GB, free: 58.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.132e-05/1.143, allocations: 64.81 kB / 0.7968 GB, free: 58.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004274/1.147, allocations: 2.511 MB / 0.7992 GB, free: 58.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003081/1.151, allocations: 1.126 MB / 0.8003 GB, free: 58.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004202/1.155, allocations: 1.426 MB / 0.8017 GB, free: 57.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003635/1.158, allocations: 4.496 MB / 0.8061 GB, free: 54.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004223/1.163, allocations: 275.2 kB / 0.8064 GB, free: 54.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006737/1.163, allocations: 385.8 kB / 0.8067 GB, free: 54.66 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (775): * Single equations (assignments): 766 * 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.0006905/1.164, allocations: 455 kB / 0.8072 GB, free: 54.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000437/1.165, allocations: 320.6 kB / 0.8075 GB, free: 54.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004736/1.169, allocations: 2.877 MB / 0.8103 GB, free: 53.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003841/1.173, allocations: 2.433 MB / 0.8127 GB, free: 51.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/1.173, allocations: 4 kB / 0.8127 GB, free: 51.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/1.173, allocations: 6.75 kB / 0.8127 GB, free: 51.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/1.187, allocations: 8.873 MB / 0.8213 GB, free: 44.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/1.187, allocations: 4 kB / 0.8213 GB, free: 44.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/1.188, allocations: 269.4 kB / 0.8216 GB, free: 44.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003209/1.191, allocations: 1.001 MB / 0.8226 GB, free: 43.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001784/1.191, allocations: 15.8 kB / 0.8226 GB, free: 43.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004897/1.196, allocations: 4.686 MB / 0.8272 GB, free: 39.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006808/1.197, allocations: 1.403 MB / 0.8285 GB, free: 37.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007052/1.204, allocations: 5.715 MB / 0.8341 GB, free: 32.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/1.205, allocations: 376.2 kB / 0.8345 GB, free: 32.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007849/1.206, allocations: 12 kB / 0.8345 GB, free: 32.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/1.208, allocations: 110.5 kB / 0.8346 GB, free: 31.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/1.208, allocations: 111.5 kB / 0.8347 GB, free: 31.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.208, allocations: 52.69 kB / 0.8347 GB, free: 31.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002968/1.211, allocations: 1.999 MB / 0.8367 GB, free: 30.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.61e-07/1.211, allocations: 0 / 0.8367 GB, free: 30.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005434/1.216, allocations: 0.9114 MB / 0.8376 GB, free: 29.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET5.x[3],$STATESET5.x[2],$STATESET5.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 (135): * Single equations (assignments): 128 * 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.0004226/1.217, allocations: 156.3 kB / 0.8377 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00772/1.224, allocations: 5.186 MB / 0.8428 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.225, allocations: 0 / 0.8428 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003331/1.228, allocations: 2.087 MB / 0.8448 GB, free: 22.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/1.23, allocations: 367.5 kB / 0.8452 GB, free: 22.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/1.244, allocations: 7.722 MB / 0.8527 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003329/1.247, allocations: 3.276 MB / 0.8559 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004521/1.251, allocations: 1.97 MB / 0.8579 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006435/1.252, allocations: 223.4 kB / 0.8581 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of SimCode: time 1.513e-06/1.252, allocations: 0 / 0.8581 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.05943/1.312, allocations: 30.28 MB / 0.8876 GB, free: 12.85 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches