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.001664/0.001664, allocations: 77.59 kB / 20.67 MB, free: 1.027 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.001756/0.001756, allocations: 147.1 kB / 23.94 MB, free: 4.168 MB / 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.41/1.41, allocations: 173.4 MB / 200.4 MB, free: 12.89 MB / 190.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 2.074e-06/2.074e-06, allocations: 0 / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.952e-05, allocations: 2.281 kB / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01791/0.01794, allocations: 9.391 MB / 328.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.0321, allocations: 3.754 MB / 332.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/0.03467, allocations: 74.47 kB / 332.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009254/0.04392, allocations: 2.658 MB / 334.8 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009033/0.05295, allocations: 1.859 MB / 336.7 MB, free: 8.262 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.05631, allocations: 0.7345 MB / 337.4 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01077/0.06708, allocations: 4.05 MB / 341.5 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007256/0.07433, allocations: 2.975 MB / 344.4 MB, free: 2.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007046/0.08138, allocations: 2.257 MB / 346.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005075/0.08645, allocations: 2.061 MB / 348.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0013/0.08775, allocations: 320 kB / 349.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003966/0.09172, allocations: 1.112 MB / 350.2 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003399/0.09512, allocations: 1.956 MB / 352.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00291/0.09803, allocations: 1.25 MB / 353.4 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01371/0.1117, allocations: 6.728 MB / 360.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1117, allocations: 0 / 360.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1117, allocations: 0 / 360.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002283/0.112, allocations: 4 kB / 360.1 MB, free: 2.348 MB / 318.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.01529/0.1273, allocations: 4.626 MB / 364.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.771e-05/0.1273, allocations: 12.92 kB / 364.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/0.1409, allocations: 2.006 MB / 366.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006707/0.1476, allocations: 1.937 MB / 368.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003543/0.1479, allocations: 250.3 kB / 368.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001749/0.1497, allocations: 395.7 kB / 369.3 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02431/0.174, allocations: 10.15 MB / 379.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/0.1741, allocations: 39.69 kB / 379.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004326/0.1745, allocations: 159.8 kB / 379.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003123/0.1777, allocations: 1.86 MB / 381.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01854/0.1962, allocations: 8.308 MB / 389.8 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04898/0.2452, allocations: 37.01 MB / 426.8 MB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/0.2565, allocations: 3.572 MB / 430.4 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002249/0.2587, allocations: 1.334 MB / 431.8 MB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01094/0.2697, allocations: 5.62 MB / 437.4 MB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.2697, allocations: 59.44 kB / 437.4 MB, free: 2.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 7.043e-06/0.2697, allocations: 4 kB / 437.4 MB, free: 2.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.03607/0.3058, allocations: 12.49 MB / 449.9 MB, free: 6.406 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001554/0.3073, allocations: 1.561 MB / 451.5 MB, free: 4.699 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006294/0.3136, allocations: 3.734 MB / 455.2 MB, free: 0.957 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003269/0.314, allocations: 53.69 kB / 455.3 MB, free: 0.8984 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002664/0.3166, allocations: 3.229 MB / 458.5 MB, free: 13.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000946/0.3176, allocations: 0.6785 MB / 459.2 MB, free: 12.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002391/0.32, allocations: 1.243 MB / 460.4 MB, free: 11.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3201, allocations: 301.1 kB / 460.7 MB, free: 11.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003732/0.3238, allocations: 2.069 MB / 462.8 MB, free: 9.324 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007239/0.3311, allocations: 5.997 MB / 468.8 MB, free: 1.359 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1699/0.501, allocations: 8.655 MB / 477.4 MB, free: 117.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002105/0.5012, allocations: 40.28 kB / 477.5 MB, free: 117.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.0272/0.5284, allocations: 9.751 MB / 487.2 MB, free: 114.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.5286, allocations: 68.48 kB / 487.3 MB, free: 114.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01192/0.5405, allocations: 3.766 MB / 491.1 MB, free: 113.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01189/0.5524, allocations: 2.61 MB / 493.7 MB, free: 113.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003911/0.5563, allocations: 1.385 MB / 495.1 MB, free: 113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008395/0.5647, allocations: 7.394 MB / 0.4907 GB, free: 108.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004695/0.5694, allocations: 471.4 kB / 0.4911 GB, free: 108.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008683/0.5702, allocations: 395 kB / 0.4915 GB, free: 108.2 MB / 430.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.003099/0.5733, allocations: 2.009 MB / 0.4935 GB, free: 106.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006344/0.574, allocations: 310.8 kB / 0.4938 GB, free: 106.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00612/0.5801, allocations: 3.082 MB / 0.4968 GB, free: 103.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005068/0.5852, allocations: 2.66 MB / 0.4994 GB, free: 100.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-05/0.5852, allocations: 0 / 0.4994 GB, free: 100.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.5852, allocations: 15.91 kB / 0.4994 GB, free: 100.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.6003, allocations: 7.466 MB / 0.5067 GB, free: 93.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.6003, allocations: 4 kB / 0.5067 GB, free: 93.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008741/0.6012, allocations: 195.7 kB / 0.5069 GB, free: 92.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004384/0.6056, allocations: 1.435 MB / 0.5083 GB, free: 91.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.6057, allocations: 39.92 kB / 0.5083 GB, free: 91.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004974/0.6107, allocations: 5.743 MB / 0.5139 GB, free: 85.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006842/0.6114, allocations: 1.427 MB / 0.5153 GB, free: 83.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007582/0.619, allocations: 5.258 MB / 0.5204 GB, free: 78.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000765/0.6197, allocations: 309.6 kB / 0.5207 GB, free: 78.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005698/0.6203, allocations: 27.98 kB / 0.5208 GB, free: 78.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.6221, allocations: 155.8 kB / 0.5209 GB, free: 78.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/0.6223, allocations: 100.7 kB / 0.521 GB, free: 78.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.6224, allocations: 39.98 kB / 0.521 GB, free: 78.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003341/0.6258, allocations: 2.129 MB / 0.5231 GB, free: 76.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6258, allocations: 4 kB / 0.5231 GB, free: 76.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005092/0.6309, allocations: 1.113 MB / 0.5242 GB, free: 75.14 MB / 430.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.0005949/0.6315, allocations: 194.8 kB / 0.5244 GB, free: 74.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007877/0.6393, allocations: 5.169 MB / 0.5294 GB, free: 69.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6393, allocations: 0 / 0.5294 GB, free: 69.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00334/0.6427, allocations: 1.787 MB / 0.5312 GB, free: 67.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.6448, allocations: 348.2 kB / 0.5315 GB, free: 67.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.6571, allocations: 8.94 MB / 0.5402 GB, free: 58.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003123/0.6603, allocations: 2.568 MB / 0.5428 GB, free: 56.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003326/0.6636, allocations: 1.77 MB / 0.5445 GB, free: 54.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006507/0.6642, allocations: 212.4 kB / 0.5447 GB, free: 54.09 MB / 430.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6642, allocations: 3.938 kB / 0.5447 GB, free: 54.08 MB / 430.1 MB Notification: Performance of Templates: time 0.05205/0.7163, allocations: 32.47 MB / 0.5764 GB, free: 22.1 MB / 430.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.480973809957504]