Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001429/0.001429, allocations: 82.39 kB / 21.43 MB, free: 296 kB / 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.001562/0.001562, allocations: 160.9 kB / 24.7 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.951e-05, allocations: 2.281 kB / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01247/0.0125, allocations: 9.406 MB / 308.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008715/0.02121, allocations: 3.733 MB / 312.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.02291, allocations: 75.62 kB / 312.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006162/0.02907, allocations: 2.659 MB / 314.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004984/0.03405, allocations: 1.854 MB / 316.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.03577, allocations: 0.7366 MB / 317.4 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005806/0.04158, allocations: 4.058 MB / 321.5 MB, free: 2.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1634/0.205, allocations: 2.981 MB / 324.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004533/0.2095, allocations: 2.247 MB / 326.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00441/0.2139, allocations: 2.069 MB / 328.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001007/0.2149, allocations: 320.8 kB / 329.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.2174, allocations: 1.114 MB / 330.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002438/0.2199, allocations: 1.96 MB / 332.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001984/0.2219, allocations: 1.242 MB / 333.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009493/0.2313, allocations: 6.732 MB / 340.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2314, allocations: 1.312 kB / 340.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2314, allocations: 0 / 340.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002107/0.2316, allocations: 0 / 340.1 MB, free: 13.5 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.009623/0.2412, allocations: 4.637 MB / 344.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2412, allocations: 13.27 kB / 344.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007158/0.2484, allocations: 2.004 MB / 346.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004038/0.2524, allocations: 1.989 MB / 348.8 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.2527, allocations: 243.3 kB / 349 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001324/0.254, allocations: 401.6 kB / 349.4 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.2722, allocations: 10.14 MB / 359.6 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.2723, allocations: 37.09 kB / 359.6 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004886/0.2728, allocations: 163.5 kB / 359.8 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003144/0.2759, allocations: 1.862 MB / 361.6 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02163/0.2975, allocations: 8.309 MB / 369.9 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06047/0.358, allocations: 37.04 MB / 407 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01161/0.3696, allocations: 3.571 MB / 410.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002255/0.3719, allocations: 1.33 MB / 411.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01204/0.3839, allocations: 5.636 MB / 417.5 MB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.384, allocations: 47.56 kB / 417.5 MB, free: 5.141 MB / 366.1 MB Notification: Performance of pre-optimization done (n=152): time 8.126e-06/0.384, allocations: 4 kB / 417.6 MB, free: 5.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=159): time 0.03854/0.4226, allocations: 12.52 MB / 430.1 MB, free: 8.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001651/0.4242, allocations: 1.555 MB / 431.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006783/0.431, allocations: 3.777 MB / 435.4 MB, free: 3.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004402/0.4315, allocations: 51.58 kB / 435.5 MB, free: 3.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002914/0.4344, allocations: 3.238 MB / 438.7 MB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001089/0.4355, allocations: 0.6682 MB / 439.4 MB, free: 15.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002124/0.4376, allocations: 1.249 MB / 440.6 MB, free: 13.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4377, allocations: 305.1 kB / 440.9 MB, free: 13.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00425/0.442, allocations: 2.066 MB / 443 MB, free: 11.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007897/0.4499, allocations: 6.002 MB / 449 MB, free: 3.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0142/0.4641, allocations: 8.658 MB / 457.6 MB, free: 9.133 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001765/0.4643, allocations: 40 kB / 457.7 MB, free: 9.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02741/0.4917, allocations: 9.759 MB / 467.4 MB, free: 15.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.4918, allocations: 68.03 kB / 467.5 MB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01337/0.5052, allocations: 3.763 MB / 471.3 MB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01317/0.5183, allocations: 2.613 MB / 473.9 MB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004949/0.5233, allocations: 1.38 MB / 475.3 MB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/0.5359, allocations: 7.408 MB / 482.7 MB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006185/0.5421, allocations: 475.3 kB / 483.1 MB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/0.5435, allocations: 390.6 kB / 483.5 MB, free: 14.98 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.005638/0.5491, allocations: 2.017 MB / 485.5 MB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/0.5502, allocations: 305.9 kB / 485.8 MB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008376/0.5586, allocations: 3.077 MB / 488.9 MB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006499/0.5651, allocations: 2.664 MB / 491.6 MB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.39e-05/0.5651, allocations: 4 kB / 491.6 MB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-05/0.5651, allocations: 7.969 kB / 491.6 MB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2081/0.7733, allocations: 7.476 MB / 499.1 MB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/0.7733, allocations: 1.156 kB / 499.1 MB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.7745, allocations: 192.6 kB / 499.2 MB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004857/0.7794, allocations: 1.432 MB / 0.4889 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/0.7796, allocations: 42.75 kB / 0.489 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006516/0.7861, allocations: 5.744 MB / 0.4946 GB, free: 150.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007553/0.7869, allocations: 1.428 MB / 0.496 GB, free: 148.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00955/0.7964, allocations: 5.263 MB / 0.5011 GB, free: 147 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000931/0.7973, allocations: 306.7 kB / 0.5014 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/0.7977, allocations: 29.78 kB / 0.5014 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.7992, allocations: 161.1 kB / 0.5016 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003102/0.7995, allocations: 101.9 kB / 0.5017 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.7997, allocations: 49.94 kB / 0.5017 GB, free: 146.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003209/0.8029, allocations: 2.157 MB / 0.5038 GB, free: 146.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8029, allocations: 0 / 0.5038 GB, free: 146.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004759/0.8076, allocations: 1.115 MB / 0.5049 GB, free: 146.1 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.0005023/0.8081, allocations: 194.5 kB / 0.5051 GB, free: 145.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008576/0.8167, allocations: 5.156 MB / 0.5102 GB, free: 144.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.8167, allocations: 0 / 0.5102 GB, free: 144.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003473/0.8202, allocations: 1.794 MB / 0.5119 GB, free: 143.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/0.8224, allocations: 339.2 kB / 0.5122 GB, free: 143.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.835, allocations: 8.953 MB / 0.521 GB, free: 137.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002509/0.8376, allocations: 2.567 MB / 0.5235 GB, free: 135.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003497/0.8411, allocations: 1.774 MB / 0.5252 GB, free: 134.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005212/0.8416, allocations: 218.4 kB / 0.5254 GB, free: 134.3 MB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.8416, allocations: 0 / 0.5254 GB, free: 134.3 MB / 446.1 MB Notification: Performance of Templates: time 0.05419/0.8958, allocations: 32.68 MB / 0.5573 GB, free: 102 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.768557291477919]