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.001637/0.001637, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 221.5 MB / 230.3 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009184/0.0009184, allocations: 93.56 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.773e-05/1.741e-05, allocations: 4 kB / 337 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.0929, allocations: 50.42 MB / 387.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3612/0.4541, allocations: 93.76 MB / 481.2 MB, free: 1.055 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.4545, allocations: 83.95 kB / 481.3 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2011/0.6556, allocations: 79.5 MB / 0.5477 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6557, allocations: 4 kB / 0.5477 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001538/0.6559, allocations: 76 kB / 0.5477 GB, free: 0.7734 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.2661/0.922, allocations: 4.138 MB / 0.5518 GB, free: 95.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/0.9221, allocations: 9.438 kB / 0.5518 GB, free: 95.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/0.9353, allocations: 2.255 MB / 0.554 GB, free: 95.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.9486, allocations: 4.245 MB / 0.5581 GB, free: 95.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/0.9489, allocations: 139.3 kB / 0.5583 GB, free: 95.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001998/0.951, allocations: 253.2 kB / 0.5585 GB, free: 95.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01344/0.9644, allocations: 5.947 MB / 0.5643 GB, free: 95.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0187/0.9831, allocations: 9.287 MB / 0.5734 GB, free: 92.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001705/0.9834, allocations: 55.81 kB / 0.5734 GB, free: 92.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007124/0.9841, allocations: 36.12 kB / 0.5735 GB, free: 92.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001267/0.9854, allocations: 1.032 MB / 0.5745 GB, free: 92.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04102/1.026, allocations: 48.39 MB / 0.6217 GB, free: 57.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/1.029, allocations: 2.391 MB / 0.6241 GB, free: 55.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/1.03, allocations: 1.246 MB / 0.6253 GB, free: 55.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006553/1.031, allocations: 0.9969 MB / 0.6263 GB, free: 54.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/1.031, allocations: 53.22 kB / 0.6263 GB, free: 54.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=158): time 4.117e-06/1.031, allocations: 0 / 0.6263 GB, free: 54.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=165): time 0.01767/1.049, allocations: 9.216 MB / 0.6353 GB, free: 50.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/1.049, allocations: 154.3 kB / 0.6355 GB, free: 50.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003757/1.053, allocations: 2.946 MB / 0.6383 GB, free: 49.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002746/1.053, allocations: 29.64 kB / 0.6384 GB, free: 49.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/1.054, allocations: 3.163 MB / 0.6415 GB, free: 46.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005721/1.055, allocations: 0.6481 MB / 0.6421 GB, free: 46.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/1.055, allocations: 3.844 kB / 0.6421 GB, free: 46.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002695/1.055, allocations: 0.5803 MB / 0.6427 GB, free: 45.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/1.057, allocations: 1.872 MB / 0.6445 GB, free: 45.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003411/1.061, allocations: 5.9 MB / 0.6503 GB, free: 38.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003567/1.064, allocations: 3.293 MB / 0.6535 GB, free: 36.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.939e-05/1.064, allocations: 40 kB / 0.6535 GB, free: 36.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=840) (initialization): time 0.01341/1.078, allocations: 7.919 MB / 0.6612 GB, free: 29.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.621e-05/1.078, allocations: 68 kB / 0.6613 GB, free: 29.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00504/1.083, allocations: 2.693 MB / 0.6639 GB, free: 27.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004416/1.087, allocations: 1.522 MB / 0.6654 GB, free: 26.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004265/1.092, allocations: 1.434 MB / 0.6668 GB, free: 25.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004404/1.096, allocations: 5.365 MB / 0.6721 GB, free: 20.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005099/1.101, allocations: 327.7 kB / 0.6724 GB, free: 19.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/1.103, allocations: 402.6 kB / 0.6728 GB, free: 19.38 MB / 426.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.0008511/1.103, allocations: 479.4 kB / 0.6732 GB, free: 18.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00057/1.104, allocations: 308 kB / 0.6735 GB, free: 18.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005566/1.11, allocations: 2.988 MB / 0.6764 GB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004665/1.114, allocations: 2.576 MB / 0.6789 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/1.114, allocations: 3.938 kB / 0.679 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.94e-05/1.114, allocations: 11.12 kB / 0.679 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/1.129, allocations: 8.087 MB / 0.6869 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/1.129, allocations: 3.953 kB / 0.6869 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009012/1.13, allocations: 199.7 kB / 0.6871 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004106/1.134, allocations: 1.393 MB / 0.6884 GB, free: 6.133 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/1.134, allocations: 27.91 kB / 0.6884 GB, free: 6.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004671/1.139, allocations: 5.597 MB / 0.6939 GB, free: 268 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009583/1.14, allocations: 1.394 MB / 0.6953 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009835/1.15, allocations: 5.276 MB / 0.7004 GB, free: 9.426 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/1.151, allocations: 360.9 kB / 0.7008 GB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003902/1.151, allocations: 8 kB / 0.7008 GB, free: 9.043 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.153, allocations: 115.8 kB / 0.7009 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/1.153, allocations: 101.1 kB / 0.701 GB, free: 8.832 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/1.153, allocations: 43.98 kB / 0.701 GB, free: 8.789 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003745/1.157, allocations: 1.921 MB / 0.7029 GB, free: 6.875 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.157, allocations: 4 kB / 0.7029 GB, free: 6.871 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007068/1.164, allocations: 0.8988 MB / 0.7038 GB, free: 5.977 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.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.0006107/1.165, allocations: 157.3 kB / 0.7039 GB, free: 5.824 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0103/1.175, allocations: 5.11 MB / 0.7089 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/1.175, allocations: 192 / 0.7089 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2244/1.399, allocations: 1.977 MB / 0.7108 GB, free: 100.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/1.402, allocations: 287.1 kB / 0.7111 GB, free: 100.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/1.419, allocations: 7.384 MB / 0.7183 GB, free: 98.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004633/1.423, allocations: 3.189 MB / 0.7214 GB, free: 97.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005478/1.429, allocations: 1.91 MB / 0.7233 GB, free: 97.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000742/1.429, allocations: 213 kB / 0.7235 GB, free: 97.75 MB / 442.7 MB Notification: Performance of SimCode: time 1.312e-06/1.43, allocations: 0 / 0.7235 GB, free: 97.75 MB / 442.7 MB Notification: Performance of Templates: time 0.05348/1.483, allocations: 30.63 MB / 0.7534 GB, free: 96.2 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/jenkins/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