Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002184/0.002184, allocations: 179.4 kB / 8.364 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.162/2.162, 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.001155/0.001155, allocations: 82.34 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.151e-05, allocations: 4 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3402, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.4956, allocations: 93.1 MB / 455.4 MB, free: 9.188 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/0.496, allocations: 91.14 kB / 455.5 MB, free: 9.102 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5709/1.067, allocations: 71.98 MB / 0.5151 GB, free: 95.73 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.595e-06/1.067, allocations: 1.594 kB / 0.5151 GB, free: 95.73 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.000253/1.067, allocations: 73.75 kB / 0.5152 GB, free: 95.72 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.02204/1.089, allocations: 3.859 MB / 0.519 GB, free: 94.16 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.089, allocations: 11.19 kB / 0.519 GB, free: 94.16 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0166/1.106, allocations: 2.155 MB / 0.5211 GB, free: 93.9 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01774/1.124, allocations: 4.482 MB / 0.5255 GB, free: 93.33 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/1.124, allocations: 121.3 kB / 0.5256 GB, free: 93.33 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001911/1.126, allocations: 223.2 kB / 0.5258 GB, free: 93.33 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01286/1.139, allocations: 5.344 MB / 0.531 GB, free: 93.31 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01953/1.158, allocations: 8.285 MB / 0.5391 GB, free: 88.74 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002013/1.159, allocations: 62.53 kB / 0.5392 GB, free: 88.7 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001223/1.16, allocations: 28.59 kB / 0.5392 GB, free: 88.7 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001884/1.162, allocations: 0.9093 MB / 0.5401 GB, free: 88.54 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05596/1.218, allocations: 42.82 MB / 0.5819 GB, free: 54.1 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004159/1.222, allocations: 2.39 MB / 0.5842 GB, free: 51.75 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/1.225, allocations: 1.335 MB / 0.5855 GB, free: 50.53 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000831/1.226, allocations: 0.6689 MB / 0.5862 GB, free: 49.8 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/1.226, allocations: 50.86 kB / 0.5862 GB, free: 49.75 MB / 395.1 MB Notification: Performance of pre-optimization done (n=138): time 5.801e-06/1.226, allocations: 0 / 0.5862 GB, free: 49.75 MB / 395.1 MB Notification: Performance of matching and sorting (n=145): time 0.03089/1.257, allocations: 8.837 MB / 0.5949 GB, free: 41.86 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/1.257, allocations: 149.2 kB / 0.595 GB, free: 41.68 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006356/1.263, allocations: 2.795 MB / 0.5977 GB, free: 38.89 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004078/1.263, allocations: 25.7 kB / 0.5978 GB, free: 38.86 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002292/1.266, allocations: 2.829 MB / 0.6005 GB, free: 35.99 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009558/1.267, allocations: 0.5748 MB / 0.6011 GB, free: 35.41 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006877/1.268, allocations: 0 / 0.6011 GB, free: 35.41 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0004562/1.268, allocations: 0.5504 MB / 0.6016 GB, free: 34.84 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004419/1.272, allocations: 1.811 MB / 0.6034 GB, free: 33.03 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006715/1.279, allocations: 5.356 MB / 0.6086 GB, free: 25.87 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006611/1.286, allocations: 3.082 MB / 0.6116 GB, free: 22.79 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/1.286, allocations: 36 kB / 0.6117 GB, free: 22.75 MB / 395.1 MB Notification: Performance of matching and sorting (n=742) (initialization): time 0.02941/1.315, allocations: 7.721 MB / 0.6192 GB, free: 15.02 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.872e-05/1.316, allocations: 64.97 kB / 0.6193 GB, free: 14.95 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01624/1.332, allocations: 3.083 MB / 0.6223 GB, free: 11.86 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01662/1.349, allocations: 1.938 MB / 0.6242 GB, free: 9.902 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007381/1.356, allocations: 1.298 MB / 0.6255 GB, free: 8.602 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.367, allocations: 5.517 MB / 0.6308 GB, free: 2.863 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006643/1.374, allocations: 279.4 kB / 0.6311 GB, free: 2.59 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001433/1.376, allocations: 356 kB / 0.6314 GB, free: 2.242 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 36 (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 (704): * Single equations (assignments): 695 * 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.001894/1.378, allocations: 427.9 kB / 0.6319 GB, free: 1.82 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007614/1.378, allocations: 288.2 kB / 0.6321 GB, free: 1.535 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009467/1.388, allocations: 2.646 MB / 0.6347 GB, free: 14.87 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008573/1.396, allocations: 2.268 MB / 0.6369 GB, free: 12.58 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/1.397, allocations: 0.9375 kB / 0.6369 GB, free: 12.58 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.75e-05/1.397, allocations: 11.97 kB / 0.6369 GB, free: 12.57 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02667/1.423, allocations: 7.542 MB / 0.6443 GB, free: 4.953 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-05/1.423, allocations: 7.938 kB / 0.6443 GB, free: 4.945 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/1.426, allocations: 235.6 kB / 0.6445 GB, free: 4.715 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0058/1.432, allocations: 1.026 MB / 0.6455 GB, free: 3.676 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004474/1.432, allocations: 19.97 kB / 0.6456 GB, free: 3.656 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3018/1.734, allocations: 4.842 MB / 0.6503 GB, free: 97.09 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001156/1.735, allocations: 1.416 MB / 0.6517 GB, free: 95.8 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/1.749, allocations: 5.025 MB / 0.6566 GB, free: 95.16 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/1.75, allocations: 349.5 kB / 0.6569 GB, free: 95.07 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.751, allocations: 16.94 kB / 0.6569 GB, free: 95.07 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003141/1.754, allocations: 105.2 kB / 0.657 GB, free: 95.07 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000587/1.755, allocations: 93.23 kB / 0.6571 GB, free: 95.07 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/1.755, allocations: 43.14 kB / 0.6572 GB, free: 95.07 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.005596/1.761, allocations: 1.844 MB / 0.659 GB, free: 94.92 MB / 411.1 MB Notification: Performance of sort global known variables: time 8.22e-07/1.761, allocations: 0 / 0.659 GB, free: 94.92 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.007647/1.768, allocations: 0.8815 MB / 0.6598 GB, free: 94.92 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET4360434056.x[3],$STATESET4360434056.x[2],$STATESET4360434056.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 104 * 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 {(3,100.0%),(4,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.0008199/1.769, allocations: 152.4 kB / 0.66 GB, free: 94.84 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.01416/1.784, allocations: 4.927 MB / 0.6648 GB, free: 94.41 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/1.784, allocations: 0 / 0.6648 GB, free: 94.41 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00647/1.79, allocations: 1.994 MB / 0.6667 GB, free: 93.98 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/1.793, allocations: 308.5 kB / 0.667 GB, free: 93.96 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02094/1.814, allocations: 7.383 MB / 0.6742 GB, free: 92.47 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006275/1.821, allocations: 2.999 MB / 0.6772 GB, free: 91.42 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/1.822, allocations: 251.3 kB / 0.6774 GB, free: 91.41 MB / 411.1 MB Notification: Performance of SimCode: time 1.232e-06/1.822, allocations: 0 / 0.6774 GB, free: 91.41 MB / 411.1 MB Notification: Performance of Templates: time 0.189/2.011, allocations: 109.7 MB / 0.7845 GB, free: 4.461 MB / 411.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches