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.002043/0.002043, allocations: 177.7 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001124, allocations: 91.28 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3003/0.3003, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.745e-05/1.753e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.3995, allocations: 58.84 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.5976, allocations: 106.3 MB / 0.5697 GB, free: 8.969 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.5979, allocations: 79.23 kB / 0.5698 GB, free: 8.895 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7007/1.299, allocations: 82.19 MB / 0.65 GB, free: 106.6 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.154e-06/1.299, allocations: 0 / 0.65 GB, free: 106.6 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0003258/1.299, allocations: 88.83 kB / 0.6501 GB, free: 106.6 MB / 475.1 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.01707/1.316, allocations: 3.981 MB / 0.654 GB, free: 104.9 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.316, allocations: 8.688 kB / 0.654 GB, free: 104.9 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01898/1.335, allocations: 2.354 MB / 0.6563 GB, free: 104.6 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01948/1.355, allocations: 5.223 MB / 0.6614 GB, free: 104 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003309/1.355, allocations: 138.2 kB / 0.6616 GB, free: 104 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002283/1.357, allocations: 263.6 kB / 0.6618 GB, free: 104 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01604/1.373, allocations: 6.16 MB / 0.6678 GB, free: 104 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02398/1.398, allocations: 9.487 MB / 0.6771 GB, free: 101.2 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002374/1.398, allocations: 58.81 kB / 0.6771 GB, free: 101.2 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001278/1.399, allocations: 32.19 kB / 0.6772 GB, free: 101.2 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002081/1.401, allocations: 1.027 MB / 0.6782 GB, free: 101 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06543/1.467, allocations: 48.14 MB / 0.7252 GB, free: 63.91 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004658/1.471, allocations: 2.605 MB / 0.7277 GB, free: 62.45 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002665/1.474, allocations: 1.472 MB / 0.7292 GB, free: 61.81 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/1.475, allocations: 0.994 MB / 0.7301 GB, free: 60.93 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/1.475, allocations: 59.5 kB / 0.7302 GB, free: 60.87 MB / 475.1 MB Notification: Performance of pre-optimization done (n=159): time 5.62e-06/1.475, allocations: 4 kB / 0.7302 GB, free: 60.87 MB / 475.1 MB Notification: Performance of matching and sorting (n=178): time 0.04351/1.519, allocations: 14.14 MB / 0.744 GB, free: 53.35 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/1.519, allocations: 145.8 kB / 0.7442 GB, free: 53.18 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006292/1.525, allocations: 3.09 MB / 0.7472 GB, free: 50.47 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004374/1.526, allocations: 29.7 kB / 0.7472 GB, free: 50.44 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002484/1.528, allocations: 3.198 MB / 0.7503 GB, free: 47.5 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001035/1.529, allocations: 0.69 MB / 0.751 GB, free: 46.89 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005943/1.53, allocations: 0 / 0.751 GB, free: 46.89 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0003831/1.53, allocations: 0.5821 MB / 0.7516 GB, free: 46.37 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004395/1.535, allocations: 1.96 MB / 0.7535 GB, free: 44.62 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006895/1.542, allocations: 5.898 MB / 0.7592 GB, free: 37.05 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00712/1.549, allocations: 3.373 MB / 0.7625 GB, free: 34.18 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000132/1.549, allocations: 44 kB / 0.7626 GB, free: 34.14 MB / 475.1 MB Notification: Performance of matching and sorting (n=838) (initialization): time 0.02403/1.573, allocations: 7.677 MB / 0.7701 GB, free: 27.56 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/1.573, allocations: 68 kB / 0.7701 GB, free: 27.49 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008081/1.581, allocations: 2.583 MB / 0.7727 GB, free: 25.39 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005922/1.587, allocations: 1.127 MB / 0.7738 GB, free: 24.57 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008623/1.596, allocations: 1.471 MB / 0.7752 GB, free: 23.28 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007134/1.603, allocations: 4.499 MB / 0.7796 GB, free: 19.02 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006913/1.61, allocations: 289 kB / 0.7799 GB, free: 18.8 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001528/1.612, allocations: 399.3 kB / 0.7802 GB, free: 18.42 MB / 475.1 MB 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.001878/1.614, allocations: 463.3 kB / 0.7807 GB, free: 17.96 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000813/1.615, allocations: 327.8 kB / 0.781 GB, free: 17.64 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008845/1.623, allocations: 2.976 MB / 0.7839 GB, free: 14.66 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007338/1.631, allocations: 2.512 MB / 0.7864 GB, free: 12.13 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/1.631, allocations: 0 / 0.7864 GB, free: 12.13 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.398e-05/1.631, allocations: 11.97 kB / 0.7864 GB, free: 12.12 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02355/1.654, allocations: 9.141 MB / 0.7953 GB, free: 2.859 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/1.655, allocations: 4 kB / 0.7953 GB, free: 2.855 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/1.657, allocations: 283.6 kB / 0.7956 GB, free: 2.578 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004994/1.662, allocations: 1.002 MB / 0.7965 GB, free: 1.566 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/1.662, allocations: 23.97 kB / 0.7966 GB, free: 1.543 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008271/1.67, allocations: 4.677 MB / 0.8011 GB, free: 12.64 MB / 491.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001405/1.672, allocations: 1.399 MB / 0.8025 GB, free: 11.12 MB / 491.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/1.686, allocations: 5.862 MB / 0.8082 GB, free: 5.086 MB / 491.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.688, allocations: 376.7 kB / 0.8086 GB, free: 4.695 MB / 491.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000555/1.688, allocations: 19.94 kB / 0.8086 GB, free: 4.676 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002499/1.691, allocations: 115.7 kB / 0.8087 GB, free: 4.562 MB / 491.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003859/1.691, allocations: 120 kB / 0.8088 GB, free: 4.445 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002059/1.691, allocations: 55.97 kB / 0.8089 GB, free: 4.391 MB / 491.1 MB Notification: Performance of sorting global known variables: time 0.00466/1.696, allocations: 2.047 MB / 0.8109 GB, free: 2.355 MB / 491.1 MB Notification: Performance of sort global known variables: time 6.61e-07/1.696, allocations: 0 / 0.8109 GB, free: 2.355 MB / 491.1 MB Notification: Performance of remove unused functions: time 0.007279/1.703, allocations: 0.9258 MB / 0.8118 GB, free: 1.43 MB / 491.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET7089676680.x[3],$STATESET7089676680.x[2],$STATESET7089676680.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.0006126/1.704, allocations: 166.3 kB / 0.8119 GB, free: 1.266 MB / 491.1 MB Notification: Performance of simCode: created initialization part: time 0.0146/1.719, allocations: 5.325 MB / 0.8171 GB, free: 11.9 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.719, allocations: 4 kB / 0.8172 GB, free: 11.9 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.006837/1.726, allocations: 2.129 MB / 0.8192 GB, free: 9.707 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003083/1.729, allocations: 358.1 kB / 0.8196 GB, free: 9.359 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02506/1.754, allocations: 8.47 MB / 0.8278 GB, free: 0.8281 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3537/2.108, allocations: 3.347 MB / 0.8311 GB, free: 120.4 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/2.109, allocations: 285.6 kB / 0.8314 GB, free: 120.4 MB / 0.4952 GB Notification: Performance of SimCode: time 1.213e-06/2.109, allocations: 1.031 kB / 0.8314 GB, free: 120.4 MB / 0.4952 GB Notification: Performance of Templates: time 0.2128/2.322, allocations: 123.7 MB / 0.9522 GB, free: 49.91 MB / 0.4952 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