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.0008807/0.0008808, allocations: 182.6 kB / 18.04 MB, free: 3.781 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.274/1.274, allocations: 205.4 MB / 224.2 MB, free: 9.035 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.000709/0.000709, allocations: 89 kB / 272.5 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002994, allocations: 8 kB / 329.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2105, allocations: 47.58 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.324, allocations: 93.98 MB / 471 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003908/0.3244, allocations: 95.95 kB / 471.1 MB, free: 2.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3714/0.6958, allocations: 72.72 MB / 0.5311 GB, free: 86.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.6959, allocations: 4 kB / 0.5311 GB, free: 86.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001715/0.696, allocations: 79.94 kB / 0.5312 GB, free: 86.36 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.01384/0.7099, allocations: 4.014 MB / 0.5351 GB, free: 82.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.71, allocations: 8.031 kB / 0.5351 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008716/0.7187, allocations: 2.125 MB / 0.5372 GB, free: 80.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007291/0.726, allocations: 3.442 MB / 0.5405 GB, free: 76.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/0.7263, allocations: 279.1 kB / 0.5408 GB, free: 76.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/0.7278, allocations: 377.4 kB / 0.5411 GB, free: 76.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.7436, allocations: 9.253 MB / 0.5502 GB, free: 65.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001818/0.7439, allocations: 59.5 kB / 0.5502 GB, free: 65.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009826/0.7448, allocations: 183.9 kB / 0.5504 GB, free: 65.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001064/0.7459, allocations: 0.9038 MB / 0.5513 GB, free: 64.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/0.7587, allocations: 7.473 MB / 0.5586 GB, free: 57.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0389/0.7976, allocations: 43.86 MB / 0.6014 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00711/0.8048, allocations: 3.433 MB / 0.6048 GB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.8065, allocations: 1.436 MB / 0.6062 GB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008473/0.8149, allocations: 6.838 MB / 0.6129 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.815, allocations: 47.16 kB / 0.6129 GB, free: 15.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=132): time 4.509e-06/0.8151, allocations: 0 / 0.6129 GB, free: 15.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=139): time 0.02649/0.8415, allocations: 11.13 MB / 0.6238 GB, free: 4.453 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001474/0.8431, allocations: 1.6 MB / 0.6253 GB, free: 2.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007083/0.8502, allocations: 3.552 MB / 0.6288 GB, free: 15.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003327/0.8506, allocations: 45.7 kB / 0.6288 GB, free: 15.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002549/0.8531, allocations: 2.813 MB / 0.6316 GB, free: 12.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009405/0.8541, allocations: 0.5672 MB / 0.6321 GB, free: 11.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006355/0.8547, allocations: 112 kB / 0.6323 GB, free: 11.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000605/0.8554, allocations: 0.5373 MB / 0.6328 GB, free: 11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003521/0.8589, allocations: 1.892 MB / 0.6346 GB, free: 9.098 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006307/0.8652, allocations: 5.351 MB / 0.6399 GB, free: 2.008 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009215/0.8745, allocations: 7.816 MB / 0.6475 GB, free: 8.473 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/0.8746, allocations: 36 kB / 0.6475 GB, free: 8.438 MB / 426.7 MB Notification: Performance of matching and sorting (n=712) (initialization): time 0.2221/1.097, allocations: 8.458 MB / 0.6558 GB, free: 115.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/1.097, allocations: 58.03 kB / 0.6558 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009116/1.106, allocations: 3.172 MB / 0.6589 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008626/1.115, allocations: 1.926 MB / 0.6608 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004531/1.119, allocations: 1.249 MB / 0.662 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008317/1.128, allocations: 5.714 MB / 0.6676 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005202/1.133, allocations: 372.5 kB / 0.668 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001212/1.134, allocations: 347.1 kB / 0.6683 GB, free: 113.2 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.004235/1.138, allocations: 1.857 MB / 0.6701 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007121/1.139, allocations: 304.9 kB / 0.6704 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0052/1.144, allocations: 2.749 MB / 0.6731 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003776/1.148, allocations: 2.348 MB / 0.6754 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/1.148, allocations: 0 / 0.6754 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/1.148, allocations: 10.66 kB / 0.6754 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/1.162, allocations: 7.83 MB / 0.683 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.162, allocations: 3.062 kB / 0.683 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/1.163, allocations: 223.2 kB / 0.6833 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002702/1.165, allocations: 1.048 MB / 0.6843 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/1.166, allocations: 30.14 kB / 0.6843 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004427/1.17, allocations: 4.961 MB / 0.6892 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007337/1.171, allocations: 1.483 MB / 0.6906 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006756/1.178, allocations: 4.939 MB / 0.6954 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.179, allocations: 370.8 kB / 0.6958 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003444/1.179, allocations: 30.14 kB / 0.6958 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.18, allocations: 126.3 kB / 0.6959 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/1.18, allocations: 81.7 kB / 0.696 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.826e-05/1.18, allocations: 46.02 kB / 0.696 GB, free: 103.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003107/1.184, allocations: 2.198 MB / 0.6982 GB, free: 103.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.242e-06/1.184, allocations: 0 / 0.6982 GB, free: 103.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004928/1.189, allocations: 0.9736 MB / 0.6991 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.0005271/1.189, allocations: 167.8 kB / 0.6993 GB, free: 103 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01038/1.199, allocations: 5.149 MB / 0.7043 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.2, allocations: 0 / 0.7043 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003556/1.203, allocations: 2.018 MB / 0.7063 GB, free: 100.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003941/1.207, allocations: 375.5 kB / 0.7067 GB, free: 99.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0177/1.225, allocations: 9.913 MB / 0.7163 GB, free: 91.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005118/1.23, allocations: 2.913 MB / 0.7192 GB, free: 88.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005002/1.235, allocations: 1.695 MB / 0.7208 GB, free: 87.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009385/1.236, allocations: 218.7 kB / 0.7211 GB, free: 87.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/1.236, allocations: 0 / 0.7211 GB, free: 87.52 MB / 426.7 MB Notification: Performance of Templates: time 0.06278/1.299, allocations: 33.06 MB / 0.7533 GB, free: 56.11 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/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_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches