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.001832/0.001832, allocations: 79.73 kB / 21.97 MB, free: 2.594 MB / 18.57 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.001186/0.001186, allocations: 172.9 kB / 25.33 MB, free: 9.43 MB / 18.57 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 0.9177/0.9177, allocations: 158.6 MB / 187.2 MB, free: 2.5 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 3.938 kB / 251.1 MB, free: 3.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.78e-05, allocations: 2.312 kB / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.02017/0.02019, allocations: 10.45 MB / 261.5 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.03326, allocations: 3.866 MB / 265.4 MB, free: 5.211 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.03461, allocations: 75.62 kB / 265.4 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003592/0.0382, allocations: 2.776 MB / 268.2 MB, free: 2.352 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.04139, allocations: 1.885 MB / 270.1 MB, free: 468 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.04255, allocations: 0.7328 MB / 270.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003803/0.04635, allocations: 4.048 MB / 274.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002261/0.04861, allocations: 3.085 MB / 278 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.05058, allocations: 2.261 MB / 280.2 MB, free: 6.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.05266, allocations: 2.135 MB / 282.4 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004559/0.05312, allocations: 316 kB / 282.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.05439, allocations: 1.119 MB / 283.8 MB, free: 2.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.05547, allocations: 1.971 MB / 285.8 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009909/0.05646, allocations: 1.25 MB / 287 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003187/0.05965, allocations: 4.39 MB / 291.4 MB, free: 11.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.05965, allocations: 7.922 kB / 291.4 MB, free: 11.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.05965, allocations: 4 kB / 291.4 MB, free: 11.03 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.662e-05/0.05973, allocations: 0 / 291.4 MB, free: 11.03 MB / 282.7 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.005139/0.06487, allocations: 5.009 MB / 296.4 MB, free: 5.957 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.06491, allocations: 11.98 kB / 296.4 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004092/0.069, allocations: 2.401 MB / 298.8 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.07104, allocations: 1.866 MB / 300.7 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.07116, allocations: 246.4 kB / 300.9 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005022/0.07166, allocations: 391.6 kB / 301.3 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1167/0.1884, allocations: 6.458 MB / 307.8 MB, free: 35.83 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/0.1885, allocations: 35 kB / 307.8 MB, free: 35.83 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003037/0.1888, allocations: 162 kB / 308 MB, free: 35.83 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002173/0.191, allocations: 1.855 MB / 309.8 MB, free: 35.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006784/0.1978, allocations: 3.56 MB / 313.4 MB, free: 35.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01783/0.2156, allocations: 43.87 MB / 357.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004964/0.2206, allocations: 2.641 MB / 359.9 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008447/0.2214, allocations: 0.5676 MB / 360.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004751/0.2262, allocations: 4.387 MB / 364.9 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.2262, allocations: 53.48 kB / 364.9 MB, free: 7.973 MB / 298.7 MB Notification: Performance of pre-optimization done (n=152): time 3.998e-06/0.2262, allocations: 3.984 kB / 364.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=159): time 0.01547/0.2417, allocations: 9.619 MB / 374.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009267/0.2426, allocations: 2.043 MB / 376.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/0.2454, allocations: 3.432 MB / 380 MB, free: 8.984 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.333e-05/0.2455, allocations: 49.7 kB / 380.1 MB, free: 8.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.2472, allocations: 3.395 MB / 383.4 MB, free: 5.566 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005446/0.2477, allocations: 0.6938 MB / 384.1 MB, free: 4.879 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.2489, allocations: 1.356 MB / 385.5 MB, free: 3.512 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.249, allocations: 480.8 kB / 386 MB, free: 3.039 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.2501, allocations: 0.6992 MB / 386.7 MB, free: 2.336 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003667/0.2537, allocations: 6.533 MB / 393.2 MB, free: 9.176 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005995/0.2597, allocations: 7.984 MB / 401.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.077e-05/0.2598, allocations: 40 kB / 401.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01077/0.2706, allocations: 7.096 MB / 408.3 MB, free: 7.637 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.259e-05/0.2706, allocations: 64 kB / 408.4 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005197/0.2758, allocations: 2.491 MB / 410.9 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006325/0.2821, allocations: 2.35 MB / 413.2 MB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/0.2842, allocations: 1.372 MB / 414.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004854/0.2891, allocations: 5.778 MB / 420.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/0.2913, allocations: 463.3 kB / 420.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003367/0.2916, allocations: 390 kB / 421.2 MB, free: 10.43 MB / 362.7 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.0009576/0.2926, allocations: 0.6747 MB / 421.9 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.2929, allocations: 353.9 kB / 422.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002938/0.2959, allocations: 1.902 MB / 424.1 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002497/0.2984, allocations: 1.498 MB / 425.6 MB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2984, allocations: 4 kB / 425.6 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.2984, allocations: 7.969 kB / 425.6 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008048/0.3064, allocations: 6.246 MB / 431.9 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3064, allocations: 0 / 431.9 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/0.3069, allocations: 191.7 kB / 432.1 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002608/0.3095, allocations: 1.17 MB / 433.2 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.002e-05/0.3096, allocations: 31.98 kB / 433.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003329/0.3129, allocations: 5.252 MB / 438.5 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007512/0.3137, allocations: 1.907 MB / 440.4 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004239/0.3179, allocations: 2.951 MB / 443.4 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.3183, allocations: 301.7 kB / 443.7 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.3185, allocations: 33.3 kB / 443.7 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007053/0.3192, allocations: 151.8 kB / 443.9 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.3194, allocations: 100.7 kB / 444 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-05/0.3195, allocations: 50.64 kB / 444 MB, free: 2.988 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00149/0.3209, allocations: 1.43 MB / 445.4 MB, free: 1.566 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3209, allocations: 0 / 445.4 MB, free: 1.566 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003185/0.3241, allocations: 1.105 MB / 446.5 MB, free: 472 kB / 378.7 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.0003501/0.3245, allocations: 188.2 kB / 446.7 MB, free: 280 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1118/0.4363, allocations: 3.641 MB / 450.4 MB, free: 130.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4363, allocations: 0 / 450.4 MB, free: 130.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.4382, allocations: 1.376 MB / 451.7 MB, free: 130.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.4397, allocations: 363.7 kB / 452.1 MB, free: 130 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008176/0.4479, allocations: 7.422 MB / 459.5 MB, free: 126.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008906/0.4488, allocations: 1.163 MB / 460.7 MB, free: 126.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001912/0.4507, allocations: 1.546 MB / 462.2 MB, free: 126.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.451, allocations: 209.5 kB / 462.4 MB, free: 126.6 MB / 378.7 MB Notification: Performance of SimCode: time 2.484e-06/0.451, allocations: 0 / 462.4 MB, free: 126.6 MB / 378.7 MB Notification: Performance of Templates: time 0.03758/0.4886, allocations: 34.32 MB / 496.7 MB, free: 97.71 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.204836311750114]