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.001165/0.001165, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.283/1.283, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0008952/0.0008953, allocations: 90.36 kB / 271.9 MB, free: 8.25 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.3088/0.3088, allocations: 43.56 MB / 363.8 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 12 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1127, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.372/0.4848, allocations: 107.2 MB / 0.5846 GB, free: 11.03 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.4852, allocations: 75.97 kB / 0.5847 GB, free: 10.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2063/0.6914, allocations: 82.75 MB / 0.6655 GB, free: 7.723 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.06e-06/0.6915, allocations: 0 / 0.6655 GB, free: 7.723 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002592/0.6918, allocations: 91.86 kB / 0.6656 GB, free: 7.633 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.01248/0.7043, allocations: 4.147 MB / 0.6696 GB, free: 3.414 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.7043, allocations: 8.031 kB / 0.6696 GB, free: 3.406 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.7147, allocations: 2.288 MB / 0.6719 GB, free: 1.109 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2127/0.9275, allocations: 4.069 MB / 0.6758 GB, free: 91.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/0.9278, allocations: 328.3 kB / 0.6762 GB, free: 91.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001151/0.929, allocations: 434.3 kB / 0.6766 GB, free: 91.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/0.9451, allocations: 10.57 MB / 0.6869 GB, free: 88.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001496/0.9453, allocations: 70.69 kB / 0.687 GB, free: 88.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005456/0.9458, allocations: 212 kB / 0.6872 GB, free: 88.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001237/0.9471, allocations: 1.03 MB / 0.6882 GB, free: 88.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/0.9603, allocations: 8.546 MB / 0.6965 GB, free: 88.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04042/1.001, allocations: 48.9 MB / 0.7443 GB, free: 54.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008762/1.01, allocations: 3.816 MB / 0.748 GB, free: 52.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/1.012, allocations: 1.596 MB / 0.7495 GB, free: 51.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009228/1.021, allocations: 7.749 MB / 0.7571 GB, free: 47.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/1.021, allocations: 53.16 kB / 0.7572 GB, free: 47.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 4.459e-06/1.021, allocations: 0 / 0.7572 GB, free: 47.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=169): time 0.02985/1.051, allocations: 14.32 MB / 0.7712 GB, free: 41.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009175/1.052, allocations: 1.594 MB / 0.7727 GB, free: 40.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004532/1.056, allocations: 3.935 MB / 0.7765 GB, free: 38.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002567/1.056, allocations: 55.86 kB / 0.7766 GB, free: 38.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001354/1.058, allocations: 3.171 MB / 0.7797 GB, free: 36.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005313/1.058, allocations: 0.6807 MB / 0.7804 GB, free: 35.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/1.059, allocations: 121.3 kB / 0.7805 GB, free: 35.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002296/1.059, allocations: 0.5628 MB / 0.781 GB, free: 35.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002465/1.061, allocations: 2.031 MB / 0.783 GB, free: 34.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003957/1.065, allocations: 5.856 MB / 0.7887 GB, free: 28.53 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006673/1.072, allocations: 8.556 MB / 0.7971 GB, free: 21.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.614e-05/1.072, allocations: 40.88 kB / 0.7971 GB, free: 21.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01172/1.084, allocations: 8.42 MB / 0.8053 GB, free: 17.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/1.084, allocations: 64.84 kB / 0.8054 GB, free: 17.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00423/1.088, allocations: 2.602 MB / 0.808 GB, free: 17.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002909/1.091, allocations: 1.113 MB / 0.809 GB, free: 17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004064/1.095, allocations: 1.41 MB / 0.8104 GB, free: 16.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004023/1.099, allocations: 4.707 MB / 0.815 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004321/1.104, allocations: 395.1 kB / 0.8154 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005956/1.104, allocations: 386.8 kB / 0.8158 GB, free: 12.55 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.003164/1.107, allocations: 2.093 MB / 0.8178 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004646/1.108, allocations: 346.8 kB / 0.8181 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004937/1.113, allocations: 3.025 MB / 0.8211 GB, free: 7.953 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003955/1.117, allocations: 2.538 MB / 0.8236 GB, free: 5.914 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/1.117, allocations: 7.938 kB / 0.8236 GB, free: 5.906 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/1.117, allocations: 6.891 kB / 0.8236 GB, free: 5.906 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/1.134, allocations: 9.668 MB / 0.833 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/1.134, allocations: 5.312 kB / 0.833 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.135, allocations: 273.3 kB / 0.8333 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00286/1.138, allocations: 1.012 MB / 0.8343 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001559/1.138, allocations: 42.42 kB / 0.8343 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005326/1.143, allocations: 4.813 MB / 0.839 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009601/1.144, allocations: 1.449 MB / 0.8404 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008266/1.153, allocations: 5.366 MB / 0.8457 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/1.154, allocations: 402.4 kB / 0.8461 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003875/1.154, allocations: 39.38 kB / 0.8461 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/1.155, allocations: 135.3 kB / 0.8462 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00026/1.156, allocations: 112.3 kB / 0.8463 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.156, allocations: 55.78 kB / 0.8464 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0038/1.16, allocations: 2.424 MB / 0.8487 GB, free: 364 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/1.16, allocations: 3.938 kB / 0.8488 GB, free: 360 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005344/1.165, allocations: 1.086 MB / 0.8498 GB, free: 15.42 MB / 0.5105 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.0004066/1.165, allocations: 186.9 kB / 0.85 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009364/1.175, allocations: 5.546 MB / 0.8554 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.175, allocations: 0 / 0.8554 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003926/1.179, allocations: 2.128 MB / 0.8575 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0053/1.184, allocations: 448.7 kB / 0.8579 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2281/1.412, allocations: 11.79 MB / 0.8694 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004524/1.417, allocations: 3.261 MB / 0.8726 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/1.418, allocations: 293.6 kB / 0.8729 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/1.418, allocations: 0 / 0.8729 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.1329/1.551, allocations: 131.2 MB / 1.001 GB, free: 47.26 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