Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001448/0.001448, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008742/0.0008742, allocations: 86.23 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.668e-05/1.668e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.09209, allocations: 47.58 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3214/0.4135, allocations: 93.33 MB / 456.4 MB, free: 2.602 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.4138, allocations: 83.02 kB / 456.5 MB, free: 2.559 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1792/0.5931, allocations: 71.99 MB / 0.5161 GB, free: 15.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5931, allocations: 4 kB / 0.5161 GB, free: 15.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001312/0.5933, allocations: 71.98 kB / 0.5162 GB, free: 15.71 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.01273/0.606, allocations: 3.847 MB / 0.5199 GB, free: 11.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.6061, allocations: 8.031 kB / 0.5199 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009827/0.6159, allocations: 2.163 MB / 0.522 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/0.6286, allocations: 4.49 MB / 0.5264 GB, free: 5.074 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003088/0.6289, allocations: 120 kB / 0.5265 GB, free: 4.957 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002075/0.631, allocations: 223.8 kB / 0.5268 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2349/0.8659, allocations: 5.343 MB / 0.532 GB, free: 95.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01406/0.8801, allocations: 8.285 MB / 0.5401 GB, free: 93.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.8802, allocations: 50.42 kB / 0.5401 GB, free: 93.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004389/0.8807, allocations: 29.03 kB / 0.5401 GB, free: 93.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001474/0.8822, allocations: 0.9048 MB / 0.541 GB, free: 93.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03875/0.9209, allocations: 42.82 MB / 0.5828 GB, free: 66.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/0.9234, allocations: 2.393 MB / 0.5852 GB, free: 64.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.9246, allocations: 1.334 MB / 0.5865 GB, free: 64.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/0.9251, allocations: 0.6656 MB / 0.5871 GB, free: 63.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.9251, allocations: 46.81 kB / 0.5872 GB, free: 63.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=138): time 3.577e-06/0.9251, allocations: 3.281 kB / 0.5872 GB, free: 63.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.01556/0.9407, allocations: 8.838 MB / 0.5958 GB, free: 59.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.9408, allocations: 147.1 kB / 0.596 GB, free: 59.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00362/0.9444, allocations: 2.794 MB / 0.5987 GB, free: 58.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002319/0.9447, allocations: 25.7 kB / 0.5987 GB, free: 58.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.9459, allocations: 2.851 MB / 0.6015 GB, free: 56.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004382/0.9464, allocations: 0.5758 MB / 0.6021 GB, free: 56.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.9465, allocations: 3.469 kB / 0.6021 GB, free: 56.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.9468, allocations: 0.547 MB / 0.6026 GB, free: 55.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.9487, allocations: 1.81 MB / 0.6044 GB, free: 55.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003046/0.9518, allocations: 5.346 MB / 0.6096 GB, free: 49.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003022/0.9548, allocations: 3.08 MB / 0.6126 GB, free: 48.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.554e-05/0.9549, allocations: 39.09 kB / 0.6126 GB, free: 48.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=742) (initialization): time 0.01619/0.9711, allocations: 7.802 MB / 0.6202 GB, free: 46.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.289e-05/0.9712, allocations: 58.25 kB / 0.6203 GB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00852/0.9797, allocations: 3.079 MB / 0.6233 GB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008676/0.9884, allocations: 1.941 MB / 0.6252 GB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004031/0.9925, allocations: 1.301 MB / 0.6265 GB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006406/0.9989, allocations: 5.526 MB / 0.6319 GB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004794/1.004, allocations: 273.3 kB / 0.6321 GB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009762/1.005, allocations: 355.4 kB / 0.6325 GB, free: 39.59 MB / 410.7 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.0008835/1.006, allocations: 436.7 kB / 0.6329 GB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005998/1.006, allocations: 288.2 kB / 0.6332 GB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004698/1.011, allocations: 2.638 MB / 0.6357 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003687/1.015, allocations: 2.27 MB / 0.6379 GB, free: 34.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/1.015, allocations: 3.953 kB / 0.638 GB, free: 34.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/1.015, allocations: 11.36 kB / 0.638 GB, free: 34.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/1.026, allocations: 7.548 MB / 0.6453 GB, free: 29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.026, allocations: 4 kB / 0.6453 GB, free: 28.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.027, allocations: 229.6 kB / 0.6456 GB, free: 28.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002688/1.03, allocations: 1.025 MB / 0.6466 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/1.03, allocations: 19.36 kB / 0.6466 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004141/1.034, allocations: 4.851 MB / 0.6513 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006355/1.035, allocations: 1.416 MB / 0.6527 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006151/1.041, allocations: 5.035 MB / 0.6576 GB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007144/1.042, allocations: 346.9 kB / 0.6579 GB, free: 17.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003125/1.042, allocations: 12 kB / 0.658 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/1.043, allocations: 106.3 kB / 0.6581 GB, free: 17.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/1.043, allocations: 104 kB / 0.6582 GB, free: 17.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/1.043, allocations: 41.98 kB / 0.6582 GB, free: 17.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002525/1.046, allocations: 1.848 MB / 0.66 GB, free: 15.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/1.046, allocations: 0 / 0.66 GB, free: 15.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00441/1.05, allocations: 0.8665 MB / 0.6608 GB, free: 14.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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.0004419/1.051, allocations: 160.8 kB / 0.661 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007746/1.059, allocations: 4.924 MB / 0.6658 GB, free: 9.453 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/1.059, allocations: 0 / 0.6658 GB, free: 9.453 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003274/1.062, allocations: 1.986 MB / 0.6678 GB, free: 7.402 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/1.064, allocations: 302.2 kB / 0.668 GB, free: 7.109 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/1.076, allocations: 6.98 MB / 0.6749 GB, free: 116 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003259/1.08, allocations: 2.985 MB / 0.6778 GB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004352/1.084, allocations: 1.787 MB / 0.6795 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005595/1.085, allocations: 207.4 kB / 0.6797 GB, free: 11.12 MB / 426.7 MB Notification: Performance of SimCode: time 8.21e-07/1.085, allocations: 0 / 0.6797 GB, free: 11.12 MB / 426.7 MB Notification: Performance of Templates: time 0.2592/1.344, allocations: 29.91 MB / 0.7089 GB, free: 96.7 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches