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.001031/0.001031, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.00116, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.84 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2624, allocations: 50.54 MB / 409.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01063/0.2731, allocations: 10.71 MB / 420 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009286/0.2824, allocations: 3.931 MB / 423.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/0.2844, allocations: 63.81 kB / 424 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004891/0.2894, allocations: 2.577 MB / 426.5 MB, free: 412 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005048/0.2944, allocations: 1.723 MB / 428.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.2962, allocations: 0.6863 MB / 428.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005692/0.3019, allocations: 3.712 MB / 432.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004158/0.306, allocations: 3.559 MB / 436.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/0.3087, allocations: 1.464 MB / 437.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003029/0.3117, allocations: 1.954 MB / 439.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008869/0.3126, allocations: 316 kB / 439.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.315, allocations: 1.139 MB / 441.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001708/0.3167, allocations: 1.812 MB / 442.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002439/0.3192, allocations: 2.124 MB / 445 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006963/0.3262, allocations: 6.641 MB / 451.7 MB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3262, allocations: 3.984 kB / 451.7 MB, free: 7.141 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3262, allocations: 0 / 451.7 MB, free: 7.141 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001487/0.3264, allocations: 0 / 451.7 MB, free: 7.141 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.008495/0.3349, allocations: 4.534 MB / 456.2 MB, free: 2.539 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3349, allocations: 15.97 kB / 456.2 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007001/0.342, allocations: 1.937 MB / 458.1 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004244/0.3462, allocations: 1.993 MB / 460.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.3464, allocations: 242.2 kB / 460.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009107/0.3474, allocations: 395.7 kB / 460.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01855/0.3659, allocations: 10.11 MB / 470.9 MB, free: 3.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/0.3661, allocations: 43.53 kB / 470.9 MB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004794/0.3665, allocations: 155.9 kB / 471.1 MB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002657/0.3692, allocations: 1.861 MB / 472.9 MB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01713/0.3864, allocations: 8.37 MB / 481.3 MB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05063/0.437, allocations: 39.23 MB / 0.5083 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/0.4479, allocations: 4.039 MB / 0.5123 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002244/0.4502, allocations: 1.427 MB / 0.5137 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01038/0.4606, allocations: 7.717 MB / 0.5212 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.4607, allocations: 55.48 kB / 0.5213 GB, free: 2.375 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 3.246e-06/0.4607, allocations: 0 / 0.5213 GB, free: 2.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03136/0.492, allocations: 12.5 MB / 0.5335 GB, free: 5.676 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001255/0.4933, allocations: 1.683 MB / 0.5351 GB, free: 3.812 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004983/0.4983, allocations: 3.807 MB / 0.5388 GB, free: 16 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.2001/0.6985, allocations: 44.98 kB / 0.5389 GB, free: 126.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002465/0.701, allocations: 3.106 MB / 0.5419 GB, free: 124.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008825/0.7019, allocations: 0.6476 MB / 0.5425 GB, free: 124.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002368/0.7042, allocations: 1.256 MB / 0.5438 GB, free: 123.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.7043, allocations: 303.7 kB / 0.544 GB, free: 123.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/0.7072, allocations: 2.05 MB / 0.546 GB, free: 122.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003695/0.7109, allocations: 5.983 MB / 0.5519 GB, free: 116.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007047/0.718, allocations: 8.652 MB / 0.5603 GB, free: 109.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.38e-05/0.7181, allocations: 42.97 kB / 0.5604 GB, free: 109.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02049/0.7386, allocations: 9.846 MB / 0.57 GB, free: 103.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.534e-05/0.7387, allocations: 69.09 kB / 0.5701 GB, free: 103.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01083/0.7495, allocations: 3.878 MB / 0.5738 GB, free: 99.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01133/0.7609, allocations: 2.711 MB / 0.5765 GB, free: 96.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004072/0.765, allocations: 1.376 MB / 0.5778 GB, free: 95.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/0.7788, allocations: 11.57 MB / 0.5891 GB, free: 83.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005033/0.7839, allocations: 407.2 kB / 0.5895 GB, free: 82.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009004/0.7848, allocations: 388 kB / 0.5899 GB, free: 82.47 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.002802/0.7876, allocations: 2.003 MB / 0.5919 GB, free: 80.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004982/0.7881, allocations: 334.4 kB / 0.5922 GB, free: 80.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006106/0.7887, allocations: 436.3 kB / 0.5926 GB, free: 79.69 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005327/0.7941, allocations: 2.741 MB / 0.5953 GB, free: 76.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.7941, allocations: 7.984 kB / 0.5953 GB, free: 76.92 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.7941, allocations: 3.984 kB / 0.5953 GB, free: 76.92 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.8079, allocations: 8.605 MB / 0.6037 GB, free: 68.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.8079, allocations: 0 / 0.6037 GB, free: 68.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008661/0.8088, allocations: 191.7 kB / 0.6039 GB, free: 68.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004301/0.8131, allocations: 1.447 MB / 0.6053 GB, free: 66.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002054/0.8133, allocations: 39.97 kB / 0.6053 GB, free: 66.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/0.8236, allocations: 9.812 MB / 0.6149 GB, free: 56.33 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007212/0.8244, allocations: 1.547 MB / 0.6164 GB, free: 54.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008088/0.8325, allocations: 5.378 MB / 0.6217 GB, free: 49.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009141/0.8334, allocations: 372.7 kB / 0.622 GB, free: 48.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.8338, allocations: 32 kB / 0.622 GB, free: 48.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.835, allocations: 127.8 kB / 0.6222 GB, free: 48.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003018/0.8353, allocations: 104.8 kB / 0.6223 GB, free: 48.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.923e-05/0.8354, allocations: 47.92 kB / 0.6223 GB, free: 48.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002888/0.8383, allocations: 2.333 MB / 0.6246 GB, free: 46.22 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8383, allocations: 0 / 0.6246 GB, free: 46.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005168/0.8435, allocations: 1.08 MB / 0.6256 GB, free: 45.15 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.0004414/0.844, allocations: 165 kB / 0.6258 GB, free: 44.99 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00882/0.8528, allocations: 5.786 MB / 0.6315 GB, free: 39.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.8528, allocations: 0 / 0.6315 GB, free: 39.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003604/0.8564, allocations: 2.326 MB / 0.6337 GB, free: 36.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.8584, allocations: 400.8 kB / 0.6341 GB, free: 36.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.87, allocations: 8.957 MB / 0.6429 GB, free: 27.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002251/0.8722, allocations: 3.13 MB / 0.6459 GB, free: 24.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003081/0.8753, allocations: 1.803 MB / 0.6477 GB, free: 22.39 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/0.8758, allocations: 219.4 kB / 0.6479 GB, free: 22.17 MB / 462.1 MB Notification: Performance of SimCode: time 7.32e-07/0.8758, allocations: 4 kB / 0.6479 GB, free: 22.17 MB / 462.1 MB Notification: Performance of Templates: time 0.06421/0.94, allocations: 39.05 MB / 0.686 GB, free: 15.39 MB / 494.1 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","/var/lib/jenkins/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