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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002045/0.002045, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 250.8 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] 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=5003,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=5003,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 51.91 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3378, allocations: 52.13 MB / 420.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01466/0.3524, allocations: 10.81 MB / 431.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.3638, allocations: 3.97 MB / 435.7 MB, free: 444 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.3662, allocations: 59.81 kB / 435.7 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005904/0.3721, allocations: 2.632 MB / 438.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005997/0.3781, allocations: 1.798 MB / 440.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.3802, allocations: 0.6824 MB / 440.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00673/0.3869, allocations: 3.696 MB / 444.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004041/0.391, allocations: 2.521 MB / 447 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002683/0.3937, allocations: 1.48 MB / 448.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003462/0.3971, allocations: 2.118 MB / 450.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009095/0.398, allocations: 316 kB / 450.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.4008, allocations: 1.201 MB / 452.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002319/0.4031, allocations: 1.87 MB / 454 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002944/0.406, allocations: 2.144 MB / 456.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.4161, allocations: 6.723 MB / 462.9 MB, free: 5.055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4161, allocations: 0 / 462.9 MB, free: 5.055 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4161, allocations: 0 / 462.9 MB, free: 5.055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002083/0.4163, allocations: 0 / 462.9 MB, free: 5.055 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.01067/0.427, allocations: 4.69 MB / 467.6 MB, free: 296 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.4271, allocations: 12.03 kB / 467.6 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006766/0.4338, allocations: 1.899 MB / 469.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004635/0.4385, allocations: 2.035 MB / 471.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.4387, allocations: 246.2 kB / 471.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/0.4397, allocations: 395.7 kB / 472.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01917/0.4589, allocations: 10.06 MB / 482.2 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.459, allocations: 47.58 kB / 482.3 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000448/0.4594, allocations: 151.9 kB / 482.4 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002803/0.4622, allocations: 1.864 MB / 484.3 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01765/0.4799, allocations: 8.331 MB / 492.6 MB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05195/0.5318, allocations: 39.32 MB / 0.5195 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.542, allocations: 3.851 MB / 0.5232 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002109/0.5441, allocations: 1.341 MB / 0.5245 GB, free: 8.672 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01161/0.5557, allocations: 7.64 MB / 0.532 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/0.5557, allocations: 63.44 kB / 0.532 GB, free: 492 kB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.018e-06/0.5558, allocations: 0 / 0.532 GB, free: 492 kB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.2651/0.8209, allocations: 12.56 MB / 0.5443 GB, free: 105.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001042/0.8219, allocations: 1.683 MB / 0.546 GB, free: 103.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00446/0.8264, allocations: 3.825 MB / 0.5497 GB, free: 102.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002955/0.8267, allocations: 49.45 kB / 0.5497 GB, free: 102.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.8281, allocations: 3.247 MB / 0.5529 GB, free: 99.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005605/0.8287, allocations: 0.6756 MB / 0.5536 GB, free: 99.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/0.8299, allocations: 1.266 MB / 0.5548 GB, free: 98.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.204e-05/0.83, allocations: 301.1 kB / 0.5551 GB, free: 97.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.8322, allocations: 2.035 MB / 0.5571 GB, free: 96.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003492/0.8357, allocations: 5.969 MB / 0.5629 GB, free: 88.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006534/0.8422, allocations: 8.625 MB / 0.5713 GB, free: 77.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.656e-05/0.8423, allocations: 44 kB / 0.5714 GB, free: 77.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01862/0.8609, allocations: 9.727 MB / 0.5809 GB, free: 67.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.615e-05/0.861, allocations: 64 kB / 0.5809 GB, free: 67.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009603/0.8706, allocations: 3.721 MB / 0.5846 GB, free: 64.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/0.8809, allocations: 2.604 MB / 0.5871 GB, free: 61.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003738/0.8847, allocations: 1.376 MB / 0.5885 GB, free: 60.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00794/0.8926, allocations: 7.699 MB / 0.596 GB, free: 52.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004883/0.8975, allocations: 403.5 kB / 0.5964 GB, free: 51.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/0.8986, allocations: 391.3 kB / 0.5967 GB, free: 51.32 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.003548/0.9021, allocations: 2.021 MB / 0.5987 GB, free: 49.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007174/0.9028, allocations: 341.7 kB / 0.599 GB, free: 48.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005774/0.9086, allocations: 3.104 MB / 0.6021 GB, free: 45.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004605/0.9132, allocations: 2.664 MB / 0.6047 GB, free: 43.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.9132, allocations: 4 kB / 0.6047 GB, free: 43.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.9132, allocations: 7.969 kB / 0.6047 GB, free: 43.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/0.9254, allocations: 8.523 MB / 0.613 GB, free: 34.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.9254, allocations: 0 / 0.613 GB, free: 34.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000753/0.9261, allocations: 195.7 kB / 0.6132 GB, free: 34.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003792/0.9299, allocations: 1.436 MB / 0.6146 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.9301, allocations: 39.92 kB / 0.6146 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004842/0.9349, allocations: 6.008 MB / 0.6205 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006939/0.9356, allocations: 1.552 MB / 0.622 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007212/0.9428, allocations: 5.295 MB / 0.6272 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009553/0.9438, allocations: 386.7 kB / 0.6276 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/0.9441, allocations: 35.98 kB / 0.6276 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.9453, allocations: 127.3 kB / 0.6277 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.9456, allocations: 88.86 kB / 0.6278 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.9457, allocations: 47.97 kB / 0.6278 GB, free: 18.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002631/0.9483, allocations: 2.337 MB / 0.6301 GB, free: 16.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9483, allocations: 0 / 0.6301 GB, free: 16.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004272/0.9526, allocations: 1.027 MB / 0.6311 GB, free: 15.47 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.0003688/0.953, allocations: 174.7 kB / 0.6313 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007377/0.9603, allocations: 5.273 MB / 0.6364 GB, free: 9.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.9603, allocations: 8.062 kB / 0.6364 GB, free: 9.973 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003121/0.9635, allocations: 1.948 MB / 0.6384 GB, free: 7.957 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.9658, allocations: 391.3 kB / 0.6387 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.9793, allocations: 9.185 MB / 0.6477 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003605/0.9829, allocations: 3.107 MB / 0.6507 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004033/0.9869, allocations: 1.8 MB / 0.6525 GB, free: 9.387 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005439/0.9875, allocations: 219.4 kB / 0.6527 GB, free: 9.172 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/0.9875, allocations: 0 / 0.6527 GB, free: 9.172 MB / 462.1 MB Notification: Performance of Templates: time 0.07345/1.061, allocations: 37.67 MB / 0.6895 GB, free: 3.711 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.604825426824391]