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.001513/0.001514, allocations: 116.2 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001948, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.4 MB, free: 9.117 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 66.44 kB / 306.4 MB, free: 0.7344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1047, allocations: 50.53 MB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2091/0.3138, allocations: 41.91 MB / 398.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02338/0.3372, allocations: 8.986 MB / 407.9 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009324/0.3466, allocations: 178.2 kB / 408 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005245/0.3519, allocations: 2.475 MB / 410.5 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005453/0.3574, allocations: 1.605 MB / 412.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.3589, allocations: 0.628 MB / 412.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004583/0.3635, allocations: 3.756 MB / 416.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004048/0.3676, allocations: 3.749 MB / 420.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.3697, allocations: 1.491 MB / 421.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.3721, allocations: 2.157 MB / 423.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005123/0.3726, allocations: 316 kB / 424.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.3746, allocations: 1.163 MB / 425.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001523/0.3762, allocations: 1.831 MB / 427.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001991/0.3782, allocations: 2.151 MB / 429.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00574/0.3839, allocations: 6.449 MB / 435.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3839, allocations: 0 / 435.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3839, allocations: 0 / 435.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.111e-05/0.384, allocations: 0 / 435.8 MB, free: 12.57 MB / 350.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.007095/0.3911, allocations: 4.538 MB / 440.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3912, allocations: 8.031 kB / 440.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006812/0.398, allocations: 1.933 MB / 442.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/0.4016, allocations: 1.974 MB / 444.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.4018, allocations: 250.2 kB / 444.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008534/0.4027, allocations: 391.7 kB / 444.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01679/0.4195, allocations: 10.1 MB / 455 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.224e-05/0.4196, allocations: 43.53 kB / 455 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004059/0.42, allocations: 163.8 kB / 455.2 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002623/0.4227, allocations: 1.853 MB / 457.1 MB, free: 6.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01876/0.4414, allocations: 8.374 MB / 465.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05167/0.4931, allocations: 39.37 MB / 0.493 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.5039, allocations: 4.039 MB / 0.4969 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002114/0.5061, allocations: 1.42 MB / 0.4983 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01168/0.5178, allocations: 7.725 MB / 0.5058 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.5178, allocations: 51.48 kB / 0.5059 GB, free: 7.684 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 4.579e-06/0.5179, allocations: 0 / 0.5059 GB, free: 7.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03471/0.5526, allocations: 12.5 MB / 0.5181 GB, free: 10.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00196/0.5546, allocations: 1.676 MB / 0.5197 GB, free: 9.129 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008023/0.5627, allocations: 3.804 MB / 0.5234 GB, free: 5.336 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004324/0.5631, allocations: 53.69 kB / 0.5235 GB, free: 5.277 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002591/0.5657, allocations: 3.103 MB / 0.5265 GB, free: 2.129 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009648/0.5667, allocations: 0.6482 MB / 0.5272 GB, free: 1.473 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002374/0.5691, allocations: 1.261 MB / 0.5284 GB, free: 204 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.1544/0.7235, allocations: 301.1 kB / 0.5287 GB, free: 145.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004011/0.7276, allocations: 2.043 MB / 0.5307 GB, free: 145.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005155/0.7328, allocations: 5.991 MB / 0.5365 GB, free: 140 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/0.7432, allocations: 8.646 MB / 0.545 GB, free: 132.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000255/0.7435, allocations: 40.75 kB / 0.545 GB, free: 132.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02472/0.7683, allocations: 9.847 MB / 0.5546 GB, free: 129.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.7685, allocations: 65.62 kB / 0.5547 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01096/0.7794, allocations: 3.874 MB / 0.5585 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0112/0.7907, allocations: 2.727 MB / 0.5611 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003725/0.7944, allocations: 1.375 MB / 0.5625 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/0.8078, allocations: 11.59 MB / 0.5738 GB, free: 117.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004423/0.8123, allocations: 411.9 kB / 0.5742 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008442/0.8131, allocations: 395.8 kB / 0.5746 GB, free: 116.7 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.003195/0.8164, allocations: 2.018 MB / 0.5765 GB, free: 114.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000596/0.817, allocations: 322.7 kB / 0.5768 GB, free: 114.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000731/0.8177, allocations: 428.4 kB / 0.5773 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005193/0.8229, allocations: 2.738 MB / 0.5799 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.8229, allocations: 0 / 0.5799 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.8229, allocations: 11.97 kB / 0.5799 GB, free: 111.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/0.8362, allocations: 8.603 MB / 0.5883 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.8362, allocations: 192 / 0.5883 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/0.837, allocations: 195.7 kB / 0.5885 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004085/0.8411, allocations: 1.463 MB / 0.59 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.8412, allocations: 31.98 kB / 0.59 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009906/0.8511, allocations: 9.832 MB / 0.5996 GB, free: 90.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006497/0.8518, allocations: 1.542 MB / 0.6011 GB, free: 89.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00756/0.8594, allocations: 5.36 MB / 0.6063 GB, free: 83.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008446/0.8602, allocations: 384.6 kB / 0.6067 GB, free: 83.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007227/0.861, allocations: 27.98 kB / 0.6067 GB, free: 83.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.8625, allocations: 127.8 kB / 0.6068 GB, free: 83.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003448/0.8628, allocations: 108.8 kB / 0.607 GB, free: 83.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.863, allocations: 47.98 kB / 0.607 GB, free: 83.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003546/0.8665, allocations: 2.337 MB / 0.6093 GB, free: 80.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.8665, allocations: 0 / 0.6093 GB, free: 80.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004942/0.8715, allocations: 1.073 MB / 0.6103 GB, free: 79.71 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.0004186/0.8719, allocations: 170.7 kB / 0.6105 GB, free: 79.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008665/0.8806, allocations: 6.26 MB / 0.6166 GB, free: 73.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.8806, allocations: 4 kB / 0.6166 GB, free: 73.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003544/0.8842, allocations: 2.319 MB / 0.6189 GB, free: 70.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.8864, allocations: 405.3 kB / 0.6193 GB, free: 70.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.8991, allocations: 10.98 MB / 0.63 GB, free: 59.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002732/0.9019, allocations: 3.125 MB / 0.633 GB, free: 56.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003654/0.9055, allocations: 1.803 MB / 0.6348 GB, free: 54.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004843/0.906, allocations: 223.4 kB / 0.635 GB, free: 54.27 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.906, allocations: 4 kB / 0.635 GB, free: 54.27 MB / 446.1 MB Notification: Performance of Templates: time 0.05934/0.9654, allocations: 42.26 MB / 0.6763 GB, free: 12.21 MB / 446.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