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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001511/0.001511, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001594/0.001594, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 55.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2408, allocations: 50.54 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01149/0.2524, allocations: 10.71 MB / 420.6 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008242/0.2607, allocations: 3.935 MB / 424.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.2624, allocations: 63.81 kB / 424.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005285/0.2678, allocations: 2.577 MB / 427.2 MB, free: 216 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004875/0.2727, allocations: 1.723 MB / 428.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.2745, allocations: 0.6863 MB / 429.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005608/0.2802, allocations: 3.712 MB / 433.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004952/0.2852, allocations: 3.554 MB / 436.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002881/0.2881, allocations: 1.468 MB / 438.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003324/0.2914, allocations: 1.954 MB / 440.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001221/0.2927, allocations: 316 kB / 440.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.2955, allocations: 1.135 MB / 441.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002431/0.298, allocations: 1.816 MB / 443.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003254/0.3013, allocations: 2.124 MB / 445.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007908/0.3092, allocations: 6.642 MB / 452.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.3092, allocations: 0 / 452.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3092, allocations: 0 / 452.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002253/0.3095, allocations: 0 / 452.3 MB, free: 6.957 MB / 366.1 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.01036/0.3198, allocations: 4.538 MB / 456.9 MB, free: 2.352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3199, allocations: 12.03 kB / 456.9 MB, free: 2.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007526/0.3274, allocations: 1.933 MB / 458.8 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004315/0.3318, allocations: 1.997 MB / 460.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002549/0.3321, allocations: 246.2 kB / 461.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/0.3335, allocations: 387.8 kB / 461.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02102/0.3545, allocations: 10.11 MB / 471.6 MB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.3547, allocations: 39.59 kB / 471.6 MB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009995/0.3558, allocations: 155.9 kB / 471.7 MB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003146/0.3589, allocations: 1.864 MB / 473.6 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01809/0.377, allocations: 8.367 MB / 482 MB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04935/0.4264, allocations: 39.23 MB / 0.509 GB, free: 104 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.4375, allocations: 4.035 MB / 0.5129 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/0.4397, allocations: 1.42 MB / 0.5143 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/0.4506, allocations: 7.725 MB / 0.5219 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.4507, allocations: 55.48 kB / 0.5219 GB, free: 2.191 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.069e-06/0.4507, allocations: 0 / 0.5219 GB, free: 2.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03492/0.4857, allocations: 12.49 MB / 0.5341 GB, free: 5.496 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001369/0.4871, allocations: 1.68 MB / 0.5358 GB, free: 3.637 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2055/0.6926, allocations: 3.809 MB / 0.5395 GB, free: 124 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003542/0.693, allocations: 46.11 kB / 0.5395 GB, free: 124 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002399/0.6954, allocations: 3.103 MB / 0.5425 GB, free: 122.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007808/0.6962, allocations: 0.6521 MB / 0.5432 GB, free: 121.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001836/0.698, allocations: 1.251 MB / 0.5444 GB, free: 121.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.206e-05/0.6981, allocations: 305.2 kB / 0.5447 GB, free: 121 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002839/0.7009, allocations: 2.056 MB / 0.5467 GB, free: 120.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003973/0.7049, allocations: 5.986 MB / 0.5526 GB, free: 114.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007356/0.7123, allocations: 8.658 MB / 0.561 GB, free: 106.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/0.7125, allocations: 37.5 kB / 0.561 GB, free: 106.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02202/0.7345, allocations: 9.847 MB / 0.5707 GB, free: 101.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-05/0.7346, allocations: 71.97 kB / 0.5707 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01134/0.746, allocations: 3.868 MB / 0.5745 GB, free: 97.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01172/0.7578, allocations: 2.719 MB / 0.5772 GB, free: 94.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003875/0.7617, allocations: 1.368 MB / 0.5785 GB, free: 93.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01372/0.7754, allocations: 11.57 MB / 0.5898 GB, free: 81.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004518/0.78, allocations: 407 kB / 0.5902 GB, free: 81.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007944/0.7808, allocations: 388 kB / 0.5906 GB, free: 80.8 MB / 462.1 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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.002617/0.7834, allocations: 2.013 MB / 0.5925 GB, free: 78.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005105/0.7839, allocations: 335.6 kB / 0.5928 GB, free: 78.44 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000713/0.7847, allocations: 436.4 kB / 0.5933 GB, free: 78.01 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00525/0.7899, allocations: 2.733 MB / 0.5959 GB, free: 75.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.79, allocations: 11.98 kB / 0.5959 GB, free: 75.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.79, allocations: 3.984 kB / 0.5959 GB, free: 75.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.8033, allocations: 8.594 MB / 0.6043 GB, free: 66.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/0.8033, allocations: 0 / 0.6043 GB, free: 66.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009027/0.8042, allocations: 191.9 kB / 0.6045 GB, free: 66.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004228/0.8085, allocations: 1.459 MB / 0.6059 GB, free: 64.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/0.8087, allocations: 47.5 kB / 0.606 GB, free: 64.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/0.8189, allocations: 9.805 MB / 0.6156 GB, free: 54.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006974/0.8197, allocations: 1.547 MB / 0.6171 GB, free: 52.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00806/0.8277, allocations: 5.373 MB / 0.6223 GB, free: 47.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008339/0.8286, allocations: 372.7 kB / 0.6227 GB, free: 47.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004869/0.8291, allocations: 39.42 kB / 0.6227 GB, free: 47.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.8306, allocations: 119.8 kB / 0.6228 GB, free: 47.01 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003341/0.8309, allocations: 104.9 kB / 0.6229 GB, free: 46.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.831, allocations: 55.91 kB / 0.623 GB, free: 46.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002973/0.834, allocations: 2.333 MB / 0.6253 GB, free: 44.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8341, allocations: 0 / 0.6253 GB, free: 44.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004873/0.8389, allocations: 1.069 MB / 0.6263 GB, free: 43.47 MB / 462.1 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 (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004404/0.8394, allocations: 168 kB / 0.6265 GB, free: 43.31 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008436/0.8478, allocations: 5.785 MB / 0.6321 GB, free: 37.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.8479, allocations: 4.188 kB / 0.6321 GB, free: 37.47 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0039/0.8518, allocations: 2.33 MB / 0.6344 GB, free: 35.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/0.8547, allocations: 390 kB / 0.6348 GB, free: 34.67 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/0.871, allocations: 9.418 MB / 0.644 GB, free: 25.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003869/0.8749, allocations: 3.131 MB / 0.647 GB, free: 22.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007883/0.8757, allocations: 271.4 kB / 0.6473 GB, free: 21.8 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.8758, allocations: 0 / 0.6473 GB, free: 21.8 MB / 462.1 MB Notification: Performance of Templates: time 0.3632/1.239, allocations: 144.5 MB / 0.7884 GB, free: 127 MB / 0.5137 GB 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches