Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 196.7 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007281/0.0007281, allocations: 97.64 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002198/0.0002198, allocations: 4 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2052, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.3076, allocations: 95.16 MB / 0.4927 GB, free: 12.31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.3079, allocations: 89.39 kB / 0.4928 GB, free: 12.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3421/0.65, allocations: 80.63 MB / 0.5715 GB, free: 40.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.65, allocations: 0 / 0.5715 GB, free: 40.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001761/0.6502, allocations: 80 kB / 0.5716 GB, free: 40.14 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01518/0.6654, allocations: 4.375 MB / 0.5759 GB, free: 35.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.6655, allocations: 8.031 kB / 0.5759 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009292/0.6748, allocations: 2.281 MB / 0.5781 GB, free: 33.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007183/0.682, allocations: 3.106 MB / 0.5812 GB, free: 30.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/0.6823, allocations: 332.9 kB / 0.5815 GB, free: 29.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001741/0.6841, allocations: 432.2 kB / 0.5819 GB, free: 29.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02112/0.7052, allocations: 10.52 MB / 0.5922 GB, free: 17.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002159/0.7055, allocations: 63.42 kB / 0.5922 GB, free: 17.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001395/0.7069, allocations: 215.9 kB / 0.5924 GB, free: 17.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001288/0.7082, allocations: 1.025 MB / 0.5934 GB, free: 16.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/0.7234, allocations: 8.333 MB / 0.6016 GB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05251/0.7759, allocations: 49.04 MB / 0.6495 GB, free: 5.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009636/0.7856, allocations: 3.96 MB / 0.6533 GB, free: 1.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/0.7877, allocations: 1.412 MB / 0.6547 GB, free: 60 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01368/0.8014, allocations: 7.611 MB / 0.6621 GB, free: 7.961 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/0.8015, allocations: 51.5 kB / 0.6622 GB, free: 7.902 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 9.788e-06/0.8015, allocations: 3.984 kB / 0.6622 GB, free: 7.898 MB / 442.7 MB Notification: Performance of matching and sorting (n=159): time 0.2844/1.086, allocations: 12.22 MB / 0.6741 GB, free: 108.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008876/1.087, allocations: 1.582 MB / 0.6757 GB, free: 106.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005184/1.092, allocations: 3.818 MB / 0.6794 GB, free: 106.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002839/1.092, allocations: 48.45 kB / 0.6794 GB, free: 106.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001782/1.094, allocations: 3.125 MB / 0.6825 GB, free: 105 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005732/1.095, allocations: 0.6447 MB / 0.6831 GB, free: 104.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/1.095, allocations: 126.4 kB / 0.6832 GB, free: 104.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002742/1.095, allocations: 0.5664 MB / 0.6838 GB, free: 104.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002673/1.098, allocations: 2.007 MB / 0.6858 GB, free: 104.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004346/1.102, allocations: 5.938 MB / 0.6916 GB, free: 99.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00868/1.111, allocations: 8.573 MB / 0.6999 GB, free: 94.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001367/1.111, allocations: 46.31 kB / 0.7 GB, free: 94.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.0171/1.128, allocations: 8.77 MB / 0.7085 GB, free: 92.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.453e-05/1.128, allocations: 66.06 kB / 0.7086 GB, free: 92.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005113/1.133, allocations: 2.778 MB / 0.7113 GB, free: 91.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004283/1.138, allocations: 1.517 MB / 0.7128 GB, free: 91.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003855/1.142, allocations: 1.375 MB / 0.7141 GB, free: 91.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004425/1.146, allocations: 5.514 MB / 0.7195 GB, free: 87.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004841/1.151, allocations: 437.8 kB / 0.7199 GB, free: 87.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006423/1.152, allocations: 395.9 kB / 0.7203 GB, free: 87.15 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (738): * Single equations (assignments): 728 * 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: 2 * 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: 1 {4 31} Notification: Performance of prepare postOptimizeDAE: time 0.003094/1.155, allocations: 2.006 MB / 0.7223 GB, free: 86.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005957/1.155, allocations: 328.7 kB / 0.7226 GB, free: 86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005698/1.161, allocations: 3.133 MB / 0.7257 GB, free: 84.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004941/1.166, allocations: 2.664 MB / 0.7283 GB, free: 84.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/1.166, allocations: 3.688 kB / 0.7283 GB, free: 84.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/1.166, allocations: 6.328 kB / 0.7283 GB, free: 84.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/1.182, allocations: 8.591 MB / 0.7367 GB, free: 79.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.182, allocations: 2.297 kB / 0.7367 GB, free: 79.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000828/1.183, allocations: 188 kB / 0.7368 GB, free: 79.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003684/1.186, allocations: 1.429 MB / 0.7382 GB, free: 78.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/1.186, allocations: 35.7 kB / 0.7383 GB, free: 78.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004609/1.191, allocations: 5.715 MB / 0.7438 GB, free: 73.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006256/1.192, allocations: 1.458 MB / 0.7453 GB, free: 71.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00731/1.199, allocations: 5.275 MB / 0.7504 GB, free: 67.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.2, allocations: 379.7 kB / 0.7508 GB, free: 66.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003277/1.2, allocations: 37.73 kB / 0.7508 GB, free: 66.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/1.202, allocations: 145.3 kB / 0.751 GB, free: 66.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/1.202, allocations: 95.19 kB / 0.751 GB, free: 66.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.68e-05/1.202, allocations: 43.05 kB / 0.7511 GB, free: 66.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003172/1.205, allocations: 2.35 MB / 0.7534 GB, free: 64.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.205, allocations: 0 / 0.7534 GB, free: 64.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004279/1.209, allocations: 1.017 MB / 0.7544 GB, free: 63.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (91): * Single equations (assignments): 83 * 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: 2 * 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: 1 {7 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.000351/1.21, allocations: 175.4 kB / 0.7545 GB, free: 63.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006997/1.217, allocations: 5.379 MB / 0.7598 GB, free: 58.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.217, allocations: 0 / 0.7598 GB, free: 58.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003011/1.22, allocations: 2.014 MB / 0.7618 GB, free: 57.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/1.222, allocations: 381.2 kB / 0.7621 GB, free: 56.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/1.235, allocations: 10.63 MB / 0.7725 GB, free: 47.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002568/1.237, allocations: 3.1 MB / 0.7755 GB, free: 44.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004009/1.241, allocations: 1.804 MB / 0.7773 GB, free: 43.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/1.242, allocations: 227 kB / 0.7775 GB, free: 43.42 MB / 442.7 MB Notification: Performance of SimCode: time 8.81e-07/1.242, allocations: 0 / 0.7775 GB, free: 43.42 MB / 442.7 MB Notification: Performance of Templates: time 0.05222/1.294, allocations: 33.93 MB / 0.8107 GB, free: 10.36 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches