Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009079/0.000908, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 223.3 MB / 241.4 MB, free: 11.73 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008303/0.0008302, allocations: 96.64 kB / 292.6 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003016, allocations: 11.98 kB / 352.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2146, allocations: 50.39 MB / 402.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.3526, allocations: 94.62 MB / 497.4 MB, free: 1.727 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/0.3531, allocations: 89.08 kB / 497.5 MB, free: 1.641 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3408/0.6939, allocations: 80.43 MB / 0.5643 GB, free: 49.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.694, allocations: 0 / 0.5643 GB, free: 49.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002459/0.6942, allocations: 80 kB / 0.5644 GB, free: 49.35 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.01394/0.7082, allocations: 4.266 MB / 0.5686 GB, free: 45.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.7083, allocations: 15.95 kB / 0.5686 GB, free: 44.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008961/0.7172, allocations: 2.218 MB / 0.5708 GB, free: 42.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006736/0.724, allocations: 3.208 MB / 0.5739 GB, free: 39.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.7243, allocations: 332.9 kB / 0.5742 GB, free: 39.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001574/0.7259, allocations: 428.2 kB / 0.5746 GB, free: 38.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01846/0.7443, allocations: 10.52 MB / 0.5849 GB, free: 27.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001965/0.7446, allocations: 59.44 kB / 0.585 GB, free: 27.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001304/0.7459, allocations: 211.9 kB / 0.5852 GB, free: 26.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00127/0.7472, allocations: 1.029 MB / 0.5862 GB, free: 25.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01493/0.7621, allocations: 8.326 MB / 0.5943 GB, free: 17.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05046/0.8126, allocations: 49.05 MB / 0.6422 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/0.8227, allocations: 3.96 MB / 0.6461 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/0.8249, allocations: 1.411 MB / 0.6474 GB, free: 9.328 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.836, allocations: 7.611 MB / 0.6549 GB, free: 1.234 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.836, allocations: 67.48 kB / 0.6549 GB, free: 1.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=152): time 3.778e-06/0.8361, allocations: 0 / 0.6549 GB, free: 1.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=159): time 0.03107/0.8671, allocations: 12.21 MB / 0.6669 GB, free: 4.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001216/0.8684, allocations: 1.589 MB / 0.6684 GB, free: 2.984 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1961/1.064, allocations: 3.814 MB / 0.6721 GB, free: 114 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003361/1.065, allocations: 48.52 kB / 0.6722 GB, free: 114 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001933/1.067, allocations: 3.125 MB / 0.6752 GB, free: 113 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005724/1.067, allocations: 0.6457 MB / 0.6759 GB, free: 112.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/1.068, allocations: 124.3 kB / 0.676 GB, free: 112.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002449/1.068, allocations: 0.5614 MB / 0.6765 GB, free: 112.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002652/1.071, allocations: 2.005 MB / 0.6785 GB, free: 112.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003818/1.074, allocations: 5.945 MB / 0.6843 GB, free: 107.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007187/1.082, allocations: 8.561 MB / 0.6927 GB, free: 102.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/1.082, allocations: 41.91 kB / 0.6927 GB, free: 102.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01552/1.097, allocations: 8.761 MB / 0.7013 GB, free: 100.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/1.097, allocations: 63.03 kB / 0.7013 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005739/1.103, allocations: 2.784 MB / 0.704 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004629/1.108, allocations: 1.521 MB / 0.7055 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004263/1.112, allocations: 1.377 MB / 0.7069 GB, free: 99.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00513/1.117, allocations: 5.511 MB / 0.7122 GB, free: 96.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005398/1.123, allocations: 440.4 kB / 0.7127 GB, free: 95.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/1.124, allocations: 394.8 kB / 0.713 GB, free: 95.93 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.004804/1.129, allocations: 2.006 MB / 0.715 GB, free: 94.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007777/1.13, allocations: 329.1 kB / 0.7153 GB, free: 94.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006601/1.136, allocations: 3.123 MB / 0.7184 GB, free: 93.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005364/1.142, allocations: 2.668 MB / 0.721 GB, free: 92.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/1.142, allocations: 7.781 kB / 0.721 GB, free: 92.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.48e-05/1.142, allocations: 11.06 kB / 0.721 GB, free: 92.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/1.16, allocations: 8.583 MB / 0.7294 GB, free: 89.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.16, allocations: 3.938 kB / 0.7294 GB, free: 89.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008689/1.161, allocations: 186 kB / 0.7295 GB, free: 89.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004049/1.165, allocations: 1.447 MB / 0.731 GB, free: 89.65 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002111/1.165, allocations: 41.97 kB / 0.731 GB, free: 89.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00511/1.17, allocations: 5.697 MB / 0.7366 GB, free: 85.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007064/1.171, allocations: 1.464 MB / 0.738 GB, free: 83.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008623/1.179, allocations: 5.27 MB / 0.7431 GB, free: 79.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.181, allocations: 381 kB / 0.7435 GB, free: 78.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008812/1.182, allocations: 32.73 kB / 0.7435 GB, free: 78.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/1.183, allocations: 141.3 kB / 0.7437 GB, free: 78.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/1.184, allocations: 102.1 kB / 0.7438 GB, free: 78.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/1.184, allocations: 47.08 kB / 0.7438 GB, free: 78.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004789/1.189, allocations: 2.349 MB / 0.7461 GB, free: 76.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.189, allocations: 0 / 0.7461 GB, free: 76.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006185/1.195, allocations: 1.01 MB / 0.7471 GB, free: 75.55 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.0006184/1.195, allocations: 185.9 kB / 0.7473 GB, free: 75.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008668/1.204, allocations: 5.374 MB / 0.7525 GB, free: 70.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.204, allocations: 0 / 0.7525 GB, free: 70.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003473/1.208, allocations: 2.019 MB / 0.7545 GB, free: 68.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004157/1.212, allocations: 382.2 kB / 0.7549 GB, free: 68.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/1.228, allocations: 10.63 MB / 0.7652 GB, free: 58.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00408/1.233, allocations: 3.102 MB / 0.7683 GB, free: 56.49 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004495/1.237, allocations: 1.813 MB / 0.77 GB, free: 55.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006608/1.238, allocations: 218.5 kB / 0.7702 GB, free: 55.15 MB / 442.7 MB Notification: Performance of SimCode: time 1.203e-06/1.238, allocations: 0 / 0.7702 GB, free: 55.15 MB / 442.7 MB Notification: Performance of Templates: time 0.05688/1.295, allocations: 33.93 MB / 0.8034 GB, free: 23.05 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches