Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001747/0.001747, allocations: 200.7 kB / 16.1 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 226.5 MB / 243.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007891/0.0007891, allocations: 100.1 kB / 295.5 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4354/0.4354, allocations: 44.82 MB / 392.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003852, allocations: 8 kB / 465.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3215, allocations: 62.96 MB / 0.5159 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.02874/0.3503, allocations: 41.72 MB / 0.5566 GB, free: 7.359 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02059/0.3709, allocations: 9.448 MB / 0.5658 GB, free: 0.918 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008556/0.3796, allocations: 196.8 kB / 0.566 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007596/0.3872, allocations: 2.152 MB / 0.5681 GB, free: 124 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0197/0.4069, allocations: 6.449 MB / 0.5744 GB, free: 12.81 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003664/0.4106, allocations: 0.6575 MB / 0.5751 GB, free: 12.38 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007026/0.4177, allocations: 4.857 MB / 0.5798 GB, free: 7.848 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006104/0.4238, allocations: 4.254 MB / 0.584 GB, free: 3.504 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.4261, allocations: 1.222 MB / 0.5852 GB, free: 2.277 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/0.4286, allocations: 1.814 MB / 0.5869 GB, free: 468 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005138/0.4292, allocations: 128 kB / 0.5871 GB, free: 340 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.4314, allocations: 1.092 MB / 0.5881 GB, free: 15.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001638/0.4331, allocations: 1.683 MB / 0.5898 GB, free: 13.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002077/0.4352, allocations: 1.842 MB / 0.5916 GB, free: 11.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005503/0.4407, allocations: 5.272 MB / 0.5967 GB, free: 6.406 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.4407, allocations: 4 kB / 0.5967 GB, free: 6.402 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4407, allocations: 0 / 0.5967 GB, free: 6.402 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001981/0.4409, allocations: 4 kB / 0.5967 GB, free: 6.398 MB / 410.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.007295/0.4482, allocations: 3.839 MB / 0.6005 GB, free: 2.492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4483, allocations: 8.031 kB / 0.6005 GB, free: 2.484 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006879/0.4552, allocations: 2.023 MB / 0.6025 GB, free: 464 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004461/0.4597, allocations: 2.315 MB / 0.6047 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.4599, allocations: 246.2 kB / 0.6049 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009/0.4608, allocations: 395.5 kB / 0.6053 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01587/0.4767, allocations: 9.86 MB / 0.615 GB, free: 2.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.4768, allocations: 51.52 kB / 0.615 GB, free: 2.859 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004218/0.4773, allocations: 151.8 kB / 0.6151 GB, free: 2.711 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002703/0.48, allocations: 1.822 MB / 0.6169 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01646/0.4965, allocations: 8.281 MB / 0.625 GB, free: 8.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04817/0.5447, allocations: 38.89 MB / 0.663 GB, free: 472 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008976/0.5537, allocations: 3.734 MB / 0.6666 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002592/0.5563, allocations: 1.558 MB / 0.6682 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01222/0.5686, allocations: 7.744 MB / 0.6757 GB, free: 2.898 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.5687, allocations: 59.42 kB / 0.6758 GB, free: 2.832 MB / 490.7 MB Notification: Performance of pre-optimization done (n=144): time 4.789e-06/0.5687, allocations: 0 / 0.6758 GB, free: 2.832 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.2439/0.8126, allocations: 14.21 MB / 0.6897 GB, free: 128.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009255/0.8136, allocations: 1.583 MB / 0.6912 GB, free: 126.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00431/0.8179, allocations: 3.835 MB / 0.6949 GB, free: 125.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002936/0.8182, allocations: 51.42 kB / 0.695 GB, free: 125.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/0.8197, allocations: 3.087 MB / 0.698 GB, free: 122.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006305/0.8203, allocations: 0.643 MB / 0.6986 GB, free: 122.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.8206, allocations: 121.7 kB / 0.6988 GB, free: 122.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.8208, allocations: 0.5595 MB / 0.6993 GB, free: 121.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002429/0.8232, allocations: 2.005 MB / 0.7013 GB, free: 121.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004044/0.8273, allocations: 5.751 MB / 0.7069 GB, free: 115.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007996/0.8353, allocations: 8.388 MB / 0.7151 GB, free: 108.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001601/0.8355, allocations: 37.44 kB / 0.7151 GB, free: 108.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02069/0.8562, allocations: 9.316 MB / 0.7242 GB, free: 105.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002499/0.8565, allocations: 66.91 kB / 0.7243 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009562/0.8661, allocations: 3.585 MB / 0.7278 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009398/0.8755, allocations: 2.354 MB / 0.7301 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004039/0.8796, allocations: 1.378 MB / 0.7314 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007133/0.8867, allocations: 6.347 MB / 0.7376 GB, free: 97.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00479/0.8916, allocations: 400.2 kB / 0.738 GB, free: 96.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009798/0.8926, allocations: 373.2 kB / 0.7383 GB, free: 96.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (748): * Single equations (assignments): 739 * 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.003632/0.8962, allocations: 2.046 MB / 0.7403 GB, free: 94.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006754/0.8969, allocations: 331.7 kB / 0.7407 GB, free: 94.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004908/0.9018, allocations: 2.963 MB / 0.7435 GB, free: 91.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003872/0.9057, allocations: 2.485 MB / 0.746 GB, free: 88.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.9058, allocations: 4 kB / 0.746 GB, free: 88.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.9058, allocations: 15.97 kB / 0.746 GB, free: 88.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/0.919, allocations: 9.37 MB / 0.7551 GB, free: 79.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.9191, allocations: 4 kB / 0.7551 GB, free: 79.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009873/0.92, allocations: 255.6 kB / 0.7554 GB, free: 78.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002666/0.9227, allocations: 1.069 MB / 0.7564 GB, free: 77.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.9229, allocations: 40.91 kB / 0.7565 GB, free: 77.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00383/0.9267, allocations: 4.801 MB / 0.7612 GB, free: 72.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006237/0.9274, allocations: 1.462 MB / 0.7626 GB, free: 71.06 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006496/0.9339, allocations: 5.329 MB / 0.7678 GB, free: 65.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008737/0.9348, allocations: 396.5 kB / 0.7682 GB, free: 65.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003572/0.9351, allocations: 36.09 kB / 0.7682 GB, free: 65.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.9364, allocations: 131.8 kB / 0.7683 GB, free: 65.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.9367, allocations: 114 kB / 0.7684 GB, free: 64.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.9368, allocations: 47.98 kB / 0.7685 GB, free: 64.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002793/0.9396, allocations: 2.359 MB / 0.7708 GB, free: 62.58 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.9396, allocations: 0 / 0.7708 GB, free: 62.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004414/0.944, allocations: 1.026 MB / 0.7718 GB, free: 61.56 MB / 490.7 MB 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 (126): * Single equations (assignments): 119 * 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.0003933/0.9444, allocations: 181.5 kB / 0.772 GB, free: 61.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007631/0.9521, allocations: 5.456 MB / 0.7773 GB, free: 55.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.9521, allocations: 4.844 kB / 0.7773 GB, free: 55.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002992/0.9551, allocations: 2.068 MB / 0.7793 GB, free: 53.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004259/0.9594, allocations: 450 kB / 0.7797 GB, free: 53.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.9723, allocations: 11.43 MB / 0.7909 GB, free: 41.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002462/0.9748, allocations: 3.168 MB / 0.794 GB, free: 38.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007931/0.9756, allocations: 283.4 kB / 0.7943 GB, free: 38.3 MB / 490.7 MB Notification: Performance of SimCode: time 6.92e-07/0.9756, allocations: 0 / 0.7943 GB, free: 38.3 MB / 490.7 MB Notification: Performance of Templates: time 0.3291/1.305, allocations: 128.3 MB / 0.9196 GB, free: 147.1 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches