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.001477/0.001477, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.892/1.892, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001116/0.001116, allocations: 92.58 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.0004211, allocations: 12 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3258, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.4776, allocations: 93.85 MB / 468.4 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/0.478, allocations: 95.95 kB / 468.5 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5674/1.045, allocations: 73.57 MB / 0.5294 GB, free: 86.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.046, allocations: 0 / 0.5294 GB, free: 86.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002078/1.046, allocations: 79.94 kB / 0.5294 GB, free: 86.04 MB / 378.7 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.02179/1.068, allocations: 4.072 MB / 0.5334 GB, free: 81.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.068, allocations: 8.031 kB / 0.5334 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/1.084, allocations: 2.151 MB / 0.5355 GB, free: 79.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01695/1.101, allocations: 4.501 MB / 0.5399 GB, free: 75.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/1.101, allocations: 286.6 kB / 0.5402 GB, free: 75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001946/1.103, allocations: 371.8 kB / 0.5405 GB, free: 74.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0263/1.13, allocations: 9.327 MB / 0.5496 GB, free: 64.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002355/1.13, allocations: 59.41 kB / 0.5497 GB, free: 64.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001444/1.131, allocations: 183.9 kB / 0.5499 GB, free: 64.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001955/1.133, allocations: 0.9115 MB / 0.5508 GB, free: 63.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02205/1.156, allocations: 7.563 MB / 0.5582 GB, free: 55.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05944/1.215, allocations: 43.91 MB / 0.601 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/1.229, allocations: 3.448 MB / 0.6044 GB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01509/1.244, allocations: 6.878 MB / 0.6111 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.933e-05/1.244, allocations: 43.22 kB / 0.6112 GB, free: 15.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=132): time 5.27e-06/1.244, allocations: 0 / 0.6112 GB, free: 15.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=139): time 0.04901/1.293, allocations: 11.39 MB / 0.6223 GB, free: 3.824 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001834/1.295, allocations: 1.624 MB / 0.6239 GB, free: 2.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008041/1.303, allocations: 3.176 MB / 0.627 GB, free: 14.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003827/1.304, allocations: 45.7 kB / 0.627 GB, free: 14.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002973/1.307, allocations: 2.759 MB / 0.6297 GB, free: 12.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00102/1.308, allocations: 0.5672 MB / 0.6303 GB, free: 11.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006035/1.308, allocations: 108 kB / 0.6304 GB, free: 11.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004688/1.309, allocations: 0.5461 MB / 0.6309 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005029/1.314, allocations: 1.892 MB / 0.6327 GB, free: 8.879 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008459/1.322, allocations: 5.331 MB / 0.638 GB, free: 1.809 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007822/1.33, allocations: 3.101 MB / 0.641 GB, free: 14.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.435e-05/1.33, allocations: 32 kB / 0.641 GB, free: 14.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=712) (initialization): time 0.03427/1.365, allocations: 8.371 MB / 0.6492 GB, free: 6.281 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/1.365, allocations: 60 kB / 0.6492 GB, free: 6.223 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01862/1.384, allocations: 3.168 MB / 0.6523 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01842/1.402, allocations: 1.95 MB / 0.6542 GB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2923/1.694, allocations: 1.243 MB / 0.6555 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/1.708, allocations: 5.909 MB / 0.6612 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006387/1.714, allocations: 378.1 kB / 0.6616 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001384/1.716, allocations: 348.9 kB / 0.6619 GB, free: 113.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 559 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (674): * Single equations (assignments): 665 * 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.005296/1.721, allocations: 1.858 MB / 0.6637 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008257/1.722, allocations: 306.6 kB / 0.664 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009802/1.732, allocations: 2.748 MB / 0.6667 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008214/1.74, allocations: 2.344 MB / 0.669 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.117e-05/1.74, allocations: 3.938 kB / 0.669 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.317e-05/1.74, allocations: 6.094 kB / 0.669 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02326/1.763, allocations: 7.838 MB / 0.6767 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.7e-05/1.763, allocations: 3.125 kB / 0.6767 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/1.765, allocations: 220.3 kB / 0.6769 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005477/1.771, allocations: 1.043 MB / 0.6779 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003608/1.771, allocations: 34.72 kB / 0.6779 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008072/1.779, allocations: 5.048 MB / 0.6829 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00116/1.781, allocations: 1.493 MB / 0.6843 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/1.793, allocations: 5.079 MB / 0.6893 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.794, allocations: 369.3 kB / 0.6896 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007504/1.795, allocations: 35.14 kB / 0.6897 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002622/1.798, allocations: 126.1 kB / 0.6898 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004097/1.798, allocations: 86.59 kB / 0.6899 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/1.798, allocations: 44.69 kB / 0.6899 GB, free: 104 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005226/1.804, allocations: 2.199 MB / 0.6921 GB, free: 103.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.222e-06/1.804, allocations: 0 / 0.6921 GB, free: 103.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006564/1.81, allocations: 0.9604 MB / 0.693 GB, free: 103.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 98 * 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.0006743/1.811, allocations: 173.1 kB / 0.6932 GB, free: 103 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01348/1.824, allocations: 5.153 MB / 0.6982 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.825, allocations: 3.844 kB / 0.6982 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006253/1.831, allocations: 2.02 MB / 0.7002 GB, free: 100.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002948/1.834, allocations: 362.3 kB / 0.7005 GB, free: 100.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02173/1.856, allocations: 10.3 MB / 0.7106 GB, free: 94.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005295/1.861, allocations: 2.997 MB / 0.7135 GB, free: 91.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/1.862, allocations: 257.1 kB / 0.7137 GB, free: 91.56 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/1.862, allocations: 0 / 0.7137 GB, free: 91.56 MB / 426.7 MB Notification: Performance of Templates: time 0.4717/2.334, allocations: 111.1 MB / 0.8223 GB, free: 129.2 MB / 442.7 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