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.001535/0.001535, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.001465/0.001465, allocations: 187.5 kB / 23.7 MB, free: 4.188 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.493/1.493, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.001832/0.001832, allocations: 43.92 kB / 370.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2611, allocations: 52.19 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01289/0.274, allocations: 9.394 MB / 432.5 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008531/0.2825, allocations: 3.753 MB / 436.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.2844, allocations: 71.62 kB / 436.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005397/0.2898, allocations: 2.523 MB / 438.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004776/0.2946, allocations: 1.809 MB / 440.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.2963, allocations: 0.698 MB / 441.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005411/0.3017, allocations: 3.693 MB / 445 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00404/0.3058, allocations: 2.712 MB / 447.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.3084, allocations: 1.507 MB / 449.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003354/0.3117, allocations: 1.981 MB / 451.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009131/0.3126, allocations: 312 kB / 451.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002502/0.3151, allocations: 1.081 MB / 452.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002389/0.3175, allocations: 1.877 MB / 454.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002297/0.3198, allocations: 1.588 MB / 456.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008135/0.3279, allocations: 6.742 MB / 462.8 MB, free: 6.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.328, allocations: 4 kB / 462.8 MB, free: 6.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.328, allocations: 0 / 462.8 MB, free: 6.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001549/0.3281, allocations: 0 / 462.8 MB, free: 6.539 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.008709/0.3368, allocations: 4.611 MB / 467.4 MB, free: 1.871 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3369, allocations: 12.03 kB / 467.4 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00689/0.3438, allocations: 1.905 MB / 469.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00487/0.3486, allocations: 1.973 MB / 471.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/0.3489, allocations: 250.2 kB / 471.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009341/0.3498, allocations: 395.7 kB / 471.9 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01933/0.3691, allocations: 10.14 MB / 482.1 MB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001539/0.3693, allocations: 43.67 kB / 482.1 MB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007988/0.3701, allocations: 155.9 kB / 482.3 MB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002987/0.3731, allocations: 1.853 MB / 484.1 MB, free: 404 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01755/0.3906, allocations: 8.323 MB / 492.5 MB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04827/0.4389, allocations: 36.92 MB / 0.517 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/0.4492, allocations: 3.392 MB / 0.5203 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/0.4513, allocations: 1.326 MB / 0.5216 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/0.462, allocations: 5.531 MB / 0.527 GB, free: 7.672 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.304e-05/0.4621, allocations: 51.55 kB / 0.527 GB, free: 7.613 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.198e-06/0.4621, allocations: 0 / 0.527 GB, free: 7.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.2563/0.7184, allocations: 12.16 MB / 0.5389 GB, free: 107.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001032/0.7194, allocations: 1.548 MB / 0.5404 GB, free: 105.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004631/0.7241, allocations: 3.672 MB / 0.544 GB, free: 104.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003123/0.7244, allocations: 48.92 kB / 0.544 GB, free: 104.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.7259, allocations: 3.265 MB / 0.5472 GB, free: 102.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000587/0.7264, allocations: 0.6815 MB / 0.5479 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/0.7276, allocations: 1.266 MB / 0.5491 GB, free: 101.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.682e-05/0.7277, allocations: 305.1 kB / 0.5494 GB, free: 100.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002336/0.73, allocations: 2.031 MB / 0.5514 GB, free: 100.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003468/0.7335, allocations: 5.975 MB / 0.5572 GB, free: 94.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006826/0.7403, allocations: 8.638 MB / 0.5657 GB, free: 84.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.041e-05/0.7404, allocations: 43.94 kB / 0.5657 GB, free: 84.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01992/0.7603, allocations: 9.687 MB / 0.5752 GB, free: 74.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.997e-05/0.7604, allocations: 64 kB / 0.5752 GB, free: 74.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01062/0.771, allocations: 3.726 MB / 0.5789 GB, free: 70.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/0.7825, allocations: 2.607 MB / 0.5814 GB, free: 68.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003931/0.7864, allocations: 1.372 MB / 0.5828 GB, free: 66.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008231/0.7946, allocations: 7.395 MB / 0.59 GB, free: 59.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004888/0.7995, allocations: 402 kB / 0.5904 GB, free: 58.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000803/0.8003, allocations: 388 kB / 0.5907 GB, free: 58.52 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.003011/0.8033, allocations: 2.009 MB / 0.5927 GB, free: 56.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006768/0.804, allocations: 309.9 kB / 0.593 GB, free: 56.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005705/0.8097, allocations: 3.079 MB / 0.596 GB, free: 53.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004857/0.8146, allocations: 2.66 MB / 0.5986 GB, free: 50.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/0.8146, allocations: 7.938 kB / 0.5986 GB, free: 50.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.8146, allocations: 7.969 kB / 0.5986 GB, free: 50.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.8288, allocations: 7.42 MB / 0.6059 GB, free: 42.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.8288, allocations: 3.984 kB / 0.6059 GB, free: 42.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008541/0.8297, allocations: 191.7 kB / 0.6061 GB, free: 42.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004155/0.8339, allocations: 1.436 MB / 0.6075 GB, free: 41.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/0.834, allocations: 43.8 kB / 0.6075 GB, free: 41.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004838/0.8388, allocations: 5.736 MB / 0.6131 GB, free: 35.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006825/0.8395, allocations: 1.425 MB / 0.6145 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007495/0.847, allocations: 5.257 MB / 0.6196 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008936/0.8479, allocations: 281.8 kB / 0.6199 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/0.8482, allocations: 35.92 kB / 0.6199 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.8495, allocations: 111.8 kB / 0.62 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.8497, allocations: 108.6 kB / 0.6201 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-05/0.8498, allocations: 43.98 kB / 0.6202 GB, free: 27.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002329/0.8521, allocations: 2.07 MB / 0.6222 GB, free: 25.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8521, allocations: 112 / 0.6222 GB, free: 25.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004322/0.8564, allocations: 1.023 MB / 0.6232 GB, free: 24.77 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.0003416/0.8568, allocations: 162.2 kB / 0.6234 GB, free: 24.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00754/0.8643, allocations: 5.139 MB / 0.6284 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.8643, allocations: 0 / 0.6284 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003319/0.8676, allocations: 1.793 MB / 0.6301 GB, free: 17.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.8695, allocations: 342.5 kB / 0.6305 GB, free: 17.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.8825, allocations: 9.137 MB / 0.6394 GB, free: 8.117 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002658/0.8852, allocations: 2.569 MB / 0.6419 GB, free: 5.512 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003334/0.8885, allocations: 1.766 MB / 0.6436 GB, free: 3.742 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/0.8889, allocations: 203.4 kB / 0.6438 GB, free: 3.543 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.8889, allocations: 4 kB / 0.6438 GB, free: 3.539 MB / 446.1 MB Notification: Performance of Templates: time 0.07018/0.9591, allocations: 35.32 MB / 0.6783 GB, free: 0.707 MB / 478.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.765658358111978]