Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002257/0.002257, allocations: 208.1 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.576/1.576, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 51.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3106, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01212/0.3227, allocations: 9.368 MB / 441 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008442/0.3311, allocations: 3.772 MB / 444.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.3326, allocations: 71.69 kB / 444.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005153/0.3378, allocations: 2.507 MB / 447.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004938/0.3427, allocations: 1.79 MB / 449.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.3444, allocations: 0.6863 MB / 449.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006084/0.3505, allocations: 3.716 MB / 453.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003798/0.3543, allocations: 2.721 MB / 456.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002763/0.357, allocations: 1.495 MB / 457.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003419/0.3605, allocations: 2.11 MB / 459.8 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007978/0.3613, allocations: 316 kB / 460.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002262/0.3635, allocations: 1.065 MB / 461.2 MB, free: 8.957 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001908/0.3654, allocations: 1.846 MB / 463 MB, free: 7.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002042/0.3675, allocations: 1.58 MB / 464.6 MB, free: 5.516 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008016/0.3755, allocations: 6.694 MB / 471.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3755, allocations: 0 / 471.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3755, allocations: 4 kB / 471.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001882/0.3757, allocations: 0 / 471.3 MB, free: 14.79 MB / 382.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.009341/0.385, allocations: 4.584 MB / 475.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3851, allocations: 12.03 kB / 475.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007281/0.3923, allocations: 1.956 MB / 477.9 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005206/0.3975, allocations: 1.953 MB / 479.8 MB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002995/0.3978, allocations: 246.2 kB / 480.1 MB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001188/0.399, allocations: 391.7 kB / 480.4 MB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02052/0.4196, allocations: 10.19 MB / 490.6 MB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/0.4197, allocations: 43.62 kB / 490.7 MB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004551/0.4201, allocations: 155.9 kB / 490.8 MB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002939/0.4231, allocations: 1.868 MB / 492.7 MB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01798/0.441, allocations: 8.343 MB / 0.4893 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05161/0.4927, allocations: 36.91 MB / 0.5253 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/0.5036, allocations: 3.443 MB / 0.5287 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.5057, allocations: 1.338 MB / 0.53 GB, free: 5.367 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2345/0.7402, allocations: 5.522 MB / 0.5354 GB, free: 101.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.517e-05/0.7403, allocations: 50.78 kB / 0.5354 GB, free: 101 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.921e-06/0.7403, allocations: 4.031 kB / 0.5354 GB, free: 101 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.0296/0.7699, allocations: 12.31 MB / 0.5475 GB, free: 97.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009011/0.7708, allocations: 1.553 MB / 0.549 GB, free: 95.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003654/0.7744, allocations: 3.657 MB / 0.5526 GB, free: 94.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002227/0.7746, allocations: 53.61 kB / 0.5526 GB, free: 94.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.7757, allocations: 3.26 MB / 0.5558 GB, free: 91.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/0.7762, allocations: 0.6783 MB / 0.5564 GB, free: 91.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/0.7773, allocations: 1.272 MB / 0.5577 GB, free: 90.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.948e-05/0.7774, allocations: 301.1 kB / 0.558 GB, free: 89.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.7797, allocations: 2.05 MB / 0.56 GB, free: 88.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003473/0.7832, allocations: 5.989 MB / 0.5658 GB, free: 80.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0064/0.7896, allocations: 8.639 MB / 0.5743 GB, free: 69.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.061e-05/0.7896, allocations: 40 kB / 0.5743 GB, free: 69.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01915/0.8088, allocations: 9.815 MB / 0.5839 GB, free: 59.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.68e-05/0.8089, allocations: 64 kB / 0.5839 GB, free: 59.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01052/0.8194, allocations: 3.85 MB / 0.5877 GB, free: 55.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01124/0.8306, allocations: 2.717 MB / 0.5904 GB, free: 53.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004017/0.8346, allocations: 1.366 MB / 0.5917 GB, free: 51.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/0.8479, allocations: 11.06 MB / 0.6025 GB, free: 40.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004655/0.8526, allocations: 407.5 kB / 0.6029 GB, free: 39.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007726/0.8533, allocations: 392.7 kB / 0.6033 GB, free: 39.51 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.002743/0.8561, allocations: 2.012 MB / 0.6052 GB, free: 37.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007725/0.8569, allocations: 318 kB / 0.6055 GB, free: 37.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006061/0.8575, allocations: 409.5 kB / 0.6059 GB, free: 36.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005313/0.8628, allocations: 2.703 MB / 0.6086 GB, free: 34.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.8628, allocations: 7.938 kB / 0.6086 GB, free: 34.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.8628, allocations: 15.97 kB / 0.6086 GB, free: 34.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.8764, allocations: 7.471 MB / 0.6159 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/0.8764, allocations: 4.469 kB / 0.6159 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009587/0.8773, allocations: 191.7 kB / 0.6161 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00428/0.8816, allocations: 1.444 MB / 0.6175 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002298/0.8818, allocations: 39.97 kB / 0.6175 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/0.8921, allocations: 9.344 MB / 0.6266 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000674/0.8927, allocations: 1.425 MB / 0.628 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008121/0.9009, allocations: 5.34 MB / 0.6332 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009752/0.9018, allocations: 273.8 kB / 0.6335 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004565/0.9023, allocations: 27.98 kB / 0.6335 GB, free: 7.934 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.9036, allocations: 127.8 kB / 0.6337 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003512/0.904, allocations: 116.1 kB / 0.6338 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.9041, allocations: 47.92 kB / 0.6338 GB, free: 7.652 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002705/0.9068, allocations: 2.062 MB / 0.6358 GB, free: 5.598 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9068, allocations: 0 / 0.6358 GB, free: 5.598 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005331/0.9121, allocations: 1.07 MB / 0.6369 GB, free: 4.527 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.0003827/0.9125, allocations: 162.3 kB / 0.637 GB, free: 4.363 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008596/0.9211, allocations: 5.411 MB / 0.6423 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.9211, allocations: 0 / 0.6423 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004579/0.9257, allocations: 2.094 MB / 0.6444 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.9281, allocations: 342.4 kB / 0.6447 GB, free: 12.47 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/0.9458, allocations: 9.147 MB / 0.6536 GB, free: 3.273 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003901/0.9497, allocations: 2.588 MB / 0.6561 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004267/0.9539, allocations: 1.763 MB / 0.6579 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005617/0.9545, allocations: 207.4 kB / 0.6581 GB, free: 14.68 MB / 478.1 MB Notification: Performance of SimCode: time 1.293e-06/0.9545, allocations: 4 kB / 0.6581 GB, free: 14.68 MB / 478.1 MB Notification: Performance of Templates: time 0.08293/1.037, allocations: 41.8 MB / 0.6989 GB, free: 5.395 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.160699978005141]