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.001451/0.001451, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009073/0.0009075, allocations: 98.81 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.773e-05/1.774e-05, allocations: 8 kB / 343.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3449/0.449, allocations: 94.41 MB / 489.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.4493, allocations: 87.33 kB / 489.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2029/0.6522, allocations: 80.24 MB / 0.5566 GB, free: 3.301 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6523, allocations: 4 kB / 0.5566 GB, free: 3.297 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000221/0.6525, allocations: 84 kB / 0.5566 GB, free: 3.215 MB / 426.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.0176/0.6701, allocations: 4.239 MB / 0.5608 GB, free: 14.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.6702, allocations: 12.02 kB / 0.5608 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.6813, allocations: 2.311 MB / 0.563 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/0.6922, allocations: 3.746 MB / 0.5667 GB, free: 8.785 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002952/0.6925, allocations: 140 kB / 0.5668 GB, free: 8.648 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001998/0.6945, allocations: 251.9 kB / 0.5671 GB, free: 8.402 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01199/0.7065, allocations: 5.944 MB / 0.5729 GB, free: 2.453 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2716/0.9783, allocations: 9.284 MB / 0.5819 GB, free: 76.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/0.9784, allocations: 54.03 kB / 0.582 GB, free: 76.47 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004937/0.9789, allocations: 31.78 kB / 0.582 GB, free: 76.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001316/0.9803, allocations: 1.036 MB / 0.583 GB, free: 76.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04052/1.021, allocations: 48.37 MB / 0.6303 GB, free: 45.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002864/1.024, allocations: 2.409 MB / 0.6326 GB, free: 44.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/1.025, allocations: 1.243 MB / 0.6338 GB, free: 44.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006893/1.026, allocations: 0.9965 MB / 0.6348 GB, free: 43.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/1.026, allocations: 53.47 kB / 0.6349 GB, free: 43.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=158): time 5.571e-06/1.026, allocations: 0 / 0.6349 GB, free: 43.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=165): time 0.01869/1.044, allocations: 9.217 MB / 0.6439 GB, free: 40.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/1.045, allocations: 143.6 kB / 0.644 GB, free: 40.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004922/1.049, allocations: 2.955 MB / 0.6469 GB, free: 39.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003092/1.05, allocations: 27.36 kB / 0.6469 GB, free: 39.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001968/1.052, allocations: 3.161 MB / 0.65 GB, free: 37.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007076/1.053, allocations: 0.6525 MB / 0.6506 GB, free: 36.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/1.053, allocations: 0 / 0.6506 GB, free: 36.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003477/1.053, allocations: 0.5717 MB / 0.6512 GB, free: 36.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002415/1.056, allocations: 1.874 MB / 0.653 GB, free: 35.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004555/1.06, allocations: 5.899 MB / 0.6588 GB, free: 29.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005386/1.065, allocations: 3.296 MB / 0.662 GB, free: 28.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001434/1.066, allocations: 42.5 kB / 0.662 GB, free: 28.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=840) (initialization): time 0.018/1.084, allocations: 7.936 MB / 0.6698 GB, free: 25.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.084, allocations: 71.48 kB / 0.6699 GB, free: 25.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006263/1.09, allocations: 2.682 MB / 0.6725 GB, free: 24.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005614/1.096, allocations: 1.519 MB / 0.674 GB, free: 24.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005699/1.101, allocations: 1.434 MB / 0.6754 GB, free: 24.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004952/1.106, allocations: 5.37 MB / 0.6806 GB, free: 20.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006028/1.113, allocations: 325.1 kB / 0.6809 GB, free: 20.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001885/1.114, allocations: 403.5 kB / 0.6813 GB, free: 20.6 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring2.s:VARIABLE(unit = "m" ) "(Guarded) distance between the origin of frame_a and the origin of frame_b (>= s_small))" type: Real spring3.r_rel_0[1]:VARIABLE(unit = "m" ) "Position vector from frame_a to frame_b resolved in world frame" type: Real [3] spring1.f:VARIABLE(unit = "N" ) "Line force acting on frame_a and on frame_b (positive, if acting on frame_b and directed from frame_a to frame_b)" type: Real spring1.s:VARIABLE(unit = "m" ) "(Guarded) distance between the origin of frame_a and the origin of frame_b (>= s_small))" type: Real spring3.f:VARIABLE(unit = "N" ) "Line force acting on frame_a and on frame_b (positive, if acting on frame_b and directed from frame_a to frame_b)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 661 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (768): * Single equations (assignments): 758 * 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 {7 28} Notification: Performance of prepare postOptimizeDAE: time 0.002074/1.117, allocations: 474.5 kB / 0.6818 GB, free: 20.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/1.118, allocations: 306.4 kB / 0.6821 GB, free: 20.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006822/1.124, allocations: 2.992 MB / 0.685 GB, free: 19.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004883/1.129, allocations: 2.577 MB / 0.6875 GB, free: 18.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.077e-05/1.129, allocations: 7.516 kB / 0.6875 GB, free: 18.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/1.129, allocations: 7.219 kB / 0.6875 GB, free: 18.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/1.148, allocations: 8.082 MB / 0.6954 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/1.148, allocations: 4.688 kB / 0.6954 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009284/1.149, allocations: 200.4 kB / 0.6956 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004106/1.153, allocations: 1.389 MB / 0.6969 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/1.153, allocations: 18.19 kB / 0.697 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005644/1.159, allocations: 5.616 MB / 0.7025 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009762/1.16, allocations: 1.381 MB / 0.7038 GB, free: 26.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008008/1.168, allocations: 5.286 MB / 0.709 GB, free: 24.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.169, allocations: 346.3 kB / 0.7093 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003776/1.169, allocations: 13.86 kB / 0.7093 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.171, allocations: 116.3 kB / 0.7094 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/1.171, allocations: 96.84 kB / 0.7095 GB, free: 23.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.171, allocations: 43.7 kB / 0.7096 GB, free: 23.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002635/1.174, allocations: 1.931 MB / 0.7114 GB, free: 23.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.174, allocations: 0 / 0.7114 GB, free: 23.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00522/1.179, allocations: 0.8947 MB / 0.7123 GB, free: 23.11 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 89 * 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.000463/1.179, allocations: 165.2 kB / 0.7125 GB, free: 23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007969/1.187, allocations: 5.115 MB / 0.7175 GB, free: 20.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.187, allocations: 0 / 0.7175 GB, free: 20.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00333/1.191, allocations: 1.974 MB / 0.7194 GB, free: 19.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/1.193, allocations: 297.2 kB / 0.7197 GB, free: 18.85 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/1.209, allocations: 7.391 MB / 0.7269 GB, free: 12.31 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00513/1.215, allocations: 3.196 MB / 0.73 GB, free: 9.871 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00511/1.22, allocations: 1.903 MB / 0.7319 GB, free: 8.695 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/1.22, allocations: 213.5 kB / 0.7321 GB, free: 8.5 MB / 458.7 MB Notification: Performance of SimCode: time 8.12e-07/1.22, allocations: 0 / 0.7321 GB, free: 8.5 MB / 458.7 MB Notification: Performance of Templates: time 0.2994/1.52, allocations: 30.62 MB / 0.762 GB, free: 81.76 MB / 458.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/jenkins/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