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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 113.2 kB / 17.69 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 187 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 54.33 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1051, allocations: 49.45 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01143/0.1166, allocations: 10.73 MB / 362.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007452/0.1241, allocations: 3.944 MB / 366.2 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.1255, allocations: 63.81 kB / 366.2 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004385/0.13, allocations: 2.577 MB / 368.8 MB, free: 2.301 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.134, allocations: 1.755 MB / 370.6 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1899/0.3238, allocations: 0.6818 MB / 371.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006519/0.3304, allocations: 3.687 MB / 374.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004864/0.3353, allocations: 3.557 MB / 378.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003746/0.3391, allocations: 1.479 MB / 380 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004378/0.3435, allocations: 1.953 MB / 381.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009676/0.3445, allocations: 317.8 kB / 382.2 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.3469, allocations: 1.176 MB / 383.4 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00186/0.3487, allocations: 1.805 MB / 385.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002235/0.351, allocations: 2.15 MB / 387.4 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006265/0.3573, allocations: 6.689 MB / 394.1 MB, free: 4.012 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.3573, allocations: 3.781 kB / 394.1 MB, free: 4.012 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.3573, allocations: 0 / 394.1 MB, free: 4.012 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002177/0.3575, allocations: 0 / 394.1 MB, free: 4.012 MB / 302.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.009637/0.3672, allocations: 4.57 MB / 398.6 MB, free: 0.918 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3672, allocations: 9.688 kB / 398.6 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005805/0.3731, allocations: 1.88 MB / 400.5 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004319/0.3774, allocations: 2.017 MB / 402.5 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.3776, allocations: 243.4 kB / 402.8 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008741/0.3785, allocations: 398.3 kB / 403.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/0.3961, allocations: 10.07 MB / 413.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.802e-05/0.3962, allocations: 40.19 kB / 413.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003853/0.3966, allocations: 157 kB / 413.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002497/0.3991, allocations: 1.864 MB / 415.3 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/0.4145, allocations: 8.327 MB / 423.6 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04881/0.4634, allocations: 39.23 MB / 462.9 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.4735, allocations: 3.997 MB / 466.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00224/0.4757, allocations: 1.431 MB / 468.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/0.4876, allocations: 7.621 MB / 475.9 MB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.4876, allocations: 51.56 kB / 476 MB, free: 2.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 4.909e-06/0.4877, allocations: 0 / 476 MB, free: 2.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.03221/0.5199, allocations: 12.38 MB / 488.3 MB, free: 6.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001377/0.5213, allocations: 1.683 MB / 490 MB, free: 4.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005703/0.527, allocations: 3.812 MB / 493.8 MB, free: 0.6602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004086/0.5274, allocations: 45.7 kB / 493.9 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002376/0.5298, allocations: 3.113 MB / 497 MB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009475/0.5308, allocations: 0.6542 MB / 497.6 MB, free: 12.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00169/0.5325, allocations: 1.257 MB / 498.9 MB, free: 11.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.5326, allocations: 301.1 kB / 499.2 MB, free: 11.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002949/0.5355, allocations: 2.038 MB / 0.4895 GB, free: 9.242 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005547/0.5411, allocations: 5.967 MB / 0.4953 GB, free: 1.312 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009754/0.5509, allocations: 8.626 MB / 0.5037 GB, free: 6.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001174/0.551, allocations: 40 kB / 0.5038 GB, free: 6.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02391/0.5749, allocations: 9.73 MB / 0.5133 GB, free: 12.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.526e-05/0.5751, allocations: 71.16 kB / 0.5133 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01102/0.5861, allocations: 3.737 MB / 0.517 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01147/0.5976, allocations: 2.617 MB / 0.5196 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004408/0.602, allocations: 1.365 MB / 0.5209 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1961/0.7981, allocations: 7.706 MB / 0.5284 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004703/0.8029, allocations: 395.6 kB / 0.5288 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008972/0.8038, allocations: 393.4 kB / 0.5292 GB, free: 139.6 MB / 446.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.003092/0.8069, allocations: 2.012 MB / 0.5311 GB, free: 139.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005532/0.8075, allocations: 325.6 kB / 0.5314 GB, free: 139.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006295/0.8138, allocations: 3.129 MB / 0.5345 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005554/0.8193, allocations: 2.685 MB / 0.5371 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/0.8194, allocations: 3.125 kB / 0.5371 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/0.8194, allocations: 7.641 kB / 0.5371 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/0.8341, allocations: 8.553 MB / 0.5455 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.8342, allocations: 0 / 0.5455 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008398/0.835, allocations: 195.5 kB / 0.5457 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003888/0.8389, allocations: 1.435 MB / 0.5471 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/0.8391, allocations: 34.69 kB / 0.5471 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004754/0.8439, allocations: 6.016 MB / 0.553 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006918/0.8446, allocations: 1.538 MB / 0.5545 GB, free: 129.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007652/0.8522, allocations: 5.323 MB / 0.5597 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009772/0.8532, allocations: 373.4 kB / 0.56 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003664/0.8536, allocations: 24.5 kB / 0.5601 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.8549, allocations: 132.1 kB / 0.5602 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/0.8551, allocations: 93.02 kB / 0.5603 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.8552, allocations: 44.25 kB / 0.5603 GB, free: 127.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003034/0.8583, allocations: 2.342 MB / 0.5626 GB, free: 126.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8583, allocations: 3.938 kB / 0.5626 GB, free: 126.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005715/0.864, allocations: 1.027 MB / 0.5636 GB, free: 126.2 MB / 446.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.0004467/0.8645, allocations: 173 kB / 0.5638 GB, free: 126.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007859/0.8724, allocations: 5.506 MB / 0.5691 GB, free: 122.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.8724, allocations: 0 / 0.5691 GB, free: 122.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003413/0.8758, allocations: 2.032 MB / 0.5711 GB, free: 120.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/0.8782, allocations: 392.3 kB / 0.5715 GB, free: 119.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.8919, allocations: 8.955 MB / 0.5802 GB, free: 110.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/0.8946, allocations: 3.102 MB / 0.5833 GB, free: 107.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003458/0.8981, allocations: 1.811 MB / 0.585 GB, free: 105.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/0.8986, allocations: 215.4 kB / 0.5853 GB, free: 105.6 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.8986, allocations: 3.938 kB / 0.5853 GB, free: 105.6 MB / 446.1 MB Notification: Performance of Templates: time 0.05125/0.9499, allocations: 33.37 MB / 0.6178 GB, free: 72.47 MB / 446.1 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches