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.0009651/0.000965, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000826/0.000826, allocations: 90.58 kB / 261.8 MB, free: 1.68 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.194/0.194, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.887e-05/1.889e-05, allocations: 4 kB / 418.2 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3866/0.5003, allocations: 106.3 MB / 0.5697 GB, free: 5.523 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.5006, allocations: 79.58 kB / 0.5698 GB, free: 5.484 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2022/0.7028, allocations: 82.2 MB / 0.6501 GB, free: 11.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.7029, allocations: 0 / 0.6501 GB, free: 11.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002476/0.7031, allocations: 83.94 kB / 0.6502 GB, free: 11.2 MB / 458.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.01362/0.7167, allocations: 3.983 MB / 0.654 GB, free: 7.156 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/0.7168, allocations: 8.031 kB / 0.6541 GB, free: 7.148 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/0.7291, allocations: 2.354 MB / 0.6564 GB, free: 4.785 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01369/0.7428, allocations: 5.231 MB / 0.6615 GB, free: 15.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.7431, allocations: 140 kB / 0.6616 GB, free: 15.35 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/0.7446, allocations: 252 kB / 0.6618 GB, free: 15.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01051/0.7551, allocations: 6.166 MB / 0.6679 GB, free: 8.934 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.7763, allocations: 9.476 MB / 0.6771 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002356/0.7766, allocations: 67.39 kB / 0.6772 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00121/0.7778, allocations: 32 kB / 0.6772 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001612/0.7794, allocations: 1.026 MB / 0.6782 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3424/1.122, allocations: 48.12 MB / 0.7252 GB, free: 96.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/1.126, allocations: 2.612 MB / 0.7278 GB, free: 96.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002238/1.128, allocations: 1.474 MB / 0.7292 GB, free: 96.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/1.129, allocations: 0.9987 MB / 0.7302 GB, free: 95.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/1.129, allocations: 49.02 kB / 0.7302 GB, free: 95.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=159): time 4.408e-06/1.129, allocations: 0 / 0.7302 GB, free: 95.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=178): time 0.02832/1.157, allocations: 14.14 MB / 0.744 GB, free: 92.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/1.157, allocations: 149 kB / 0.7442 GB, free: 92.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004176/1.162, allocations: 3.096 MB / 0.7472 GB, free: 91.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002858/1.162, allocations: 25.7 kB / 0.7472 GB, free: 91.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/1.163, allocations: 3.221 MB / 0.7504 GB, free: 90.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006191/1.164, allocations: 0.6911 MB / 0.751 GB, free: 89.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/1.164, allocations: 0 / 0.751 GB, free: 89.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002753/1.165, allocations: 0.5887 MB / 0.7516 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002179/1.167, allocations: 1.96 MB / 0.7535 GB, free: 89.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003709/1.17, allocations: 5.9 MB / 0.7593 GB, free: 84.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00387/1.174, allocations: 3.367 MB / 0.7626 GB, free: 84.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-05/1.174, allocations: 41.06 kB / 0.7626 GB, free: 84.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=838) (initialization): time 0.01345/1.188, allocations: 7.771 MB / 0.7702 GB, free: 81.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/1.188, allocations: 66.47 kB / 0.7703 GB, free: 81.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00462/1.193, allocations: 2.584 MB / 0.7728 GB, free: 81.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003029/1.196, allocations: 1.131 MB / 0.7739 GB, free: 80.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004642/1.2, allocations: 1.477 MB / 0.7753 GB, free: 80.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003945/1.204, allocations: 4.495 MB / 0.7797 GB, free: 77.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005476/1.21, allocations: 281.8 kB / 0.78 GB, free: 77.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001684/1.212, allocations: 399.8 kB / 0.7804 GB, free: 77.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 646 * 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 (800): * Single equations (assignments): 791 * 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.001168/1.213, allocations: 464 kB / 0.7808 GB, free: 77.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008743/1.214, allocations: 325.5 kB / 0.7811 GB, free: 77.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005202/1.219, allocations: 2.966 MB / 0.784 GB, free: 76.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003908/1.223, allocations: 2.516 MB / 0.7865 GB, free: 75.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/1.223, allocations: 3.594 kB / 0.7865 GB, free: 75.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.216e-05/1.223, allocations: 8.578 kB / 0.7865 GB, free: 75.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/1.237, allocations: 9.14 MB / 0.7954 GB, free: 71.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.237, allocations: 5.016 kB / 0.7954 GB, free: 71.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/1.238, allocations: 285.9 kB / 0.7957 GB, free: 71.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00255/1.241, allocations: 0.9993 MB / 0.7967 GB, free: 71.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/1.241, allocations: 27.34 kB / 0.7967 GB, free: 71.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00395/1.245, allocations: 4.677 MB / 0.8013 GB, free: 68.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005995/1.246, allocations: 1.393 MB / 0.8026 GB, free: 66.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006339/1.252, allocations: 5.877 MB / 0.8084 GB, free: 61.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006795/1.253, allocations: 379.9 kB / 0.8087 GB, free: 60.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003356/1.253, allocations: 15.95 kB / 0.8087 GB, free: 60.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/1.254, allocations: 112.6 kB / 0.8088 GB, free: 60.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/1.254, allocations: 119.6 kB / 0.809 GB, free: 60.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.255, allocations: 51.47 kB / 0.809 GB, free: 60.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002749/1.257, allocations: 2.047 MB / 0.811 GB, free: 59.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.257, allocations: 0 / 0.811 GB, free: 59.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005309/1.263, allocations: 0.9261 MB / 0.8119 GB, free: 58.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (145): * Single equations (assignments): 138 * 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.0005476/1.263, allocations: 161.6 kB / 0.8121 GB, free: 57.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008334/1.272, allocations: 5.323 MB / 0.8173 GB, free: 53.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/1.272, allocations: 0 / 0.8173 GB, free: 53.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003236/1.275, allocations: 2.134 MB / 0.8194 GB, free: 51.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/1.277, allocations: 351.1 kB / 0.8197 GB, free: 50.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/1.289, allocations: 7.984 MB / 0.8275 GB, free: 43.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002653/1.292, allocations: 3.351 MB / 0.8308 GB, free: 41.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00424/1.296, allocations: 2.019 MB / 0.8327 GB, free: 40.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/1.297, allocations: 237.7 kB / 0.833 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/1.297, allocations: 0 / 0.833 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.04817/1.345, allocations: 30.84 MB / 0.8631 GB, free: 12.86 MB / 0.4948 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