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.001929/0.001929, allocations: 99.53 kB / 21.73 MB, free: 2.695 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.001894/0.001894, allocations: 164.4 kB / 25.03 MB, free: 8.93 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 1.449/1.449, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 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 2.174e-06/2.174e-06, allocations: 0 / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.221e-05, allocations: 2.312 kB / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01425/0.01428, allocations: 10.38 MB / 260.8 MB, free: 13.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009374/0.02365, allocations: 3.858 MB / 264.6 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002425/0.02608, allocations: 71.62 kB / 264.7 MB, free: 9.445 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005891/0.03197, allocations: 2.776 MB / 267.5 MB, free: 6.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005473/0.03744, allocations: 1.87 MB / 269.3 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.03927, allocations: 0.7366 MB / 270.1 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006197/0.04547, allocations: 4.05 MB / 274.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0044/0.04987, allocations: 3.077 MB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003781/0.05365, allocations: 2.265 MB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003416/0.05707, allocations: 2.131 MB / 281.6 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006152/0.05768, allocations: 320 kB / 281.9 MB, free: 8.121 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.05996, allocations: 1.104 MB / 283 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002135/0.0621, allocations: 1.979 MB / 285 MB, free: 5.031 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.06392, allocations: 1.25 MB / 286.2 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.07398, allocations: 6.743 MB / 293 MB, free: 13.01 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.07398, allocations: 0 / 293 MB, free: 13.01 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.07399, allocations: 0 / 293 MB, free: 13.01 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002082/0.07419, allocations: 4 kB / 293 MB, free: 13.01 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.01282/0.08701, allocations: 5.427 MB / 298.4 MB, free: 7.516 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.08706, allocations: 15.98 kB / 298.4 MB, free: 7.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008571/0.09563, allocations: 2.401 MB / 300.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005267/0.1009, allocations: 1.854 MB / 302.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/0.1011, allocations: 246.4 kB / 302.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00106/0.1022, allocations: 391.6 kB / 303.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.1189, allocations: 6.926 MB / 310.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.119, allocations: 35.62 kB / 310.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004365/0.1195, allocations: 159.8 kB / 310.4 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003138/0.1226, allocations: 1.857 MB / 312.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/0.1356, allocations: 3.9 MB / 316.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1911/0.3267, allocations: 47.44 MB / 363.6 MB, free: 61.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008697/0.3354, allocations: 2.587 MB / 366.2 MB, free: 61.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.3365, allocations: 0.6016 MB / 366.8 MB, free: 61.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00873/0.3452, allocations: 4.462 MB / 371.3 MB, free: 60.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.3453, allocations: 56.23 kB / 371.3 MB, free: 60.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 5.009e-06/0.3453, allocations: 0 / 371.3 MB, free: 60.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.02725/0.3725, allocations: 9.77 MB / 381.1 MB, free: 55.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009781/0.3735, allocations: 2.05 MB / 383.2 MB, free: 53.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004641/0.3781, allocations: 4.302 MB / 387.5 MB, free: 49.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002587/0.3784, allocations: 49.45 kB / 387.5 MB, free: 49.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001594/0.38, allocations: 3.591 MB / 391.1 MB, free: 45.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006702/0.3807, allocations: 0.7283 MB / 391.8 MB, free: 44.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001515/0.3822, allocations: 1.582 MB / 393.4 MB, free: 43.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.567e-05/0.3822, allocations: 484.7 kB / 393.9 MB, free: 42.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.3837, allocations: 0.7539 MB / 394.6 MB, free: 42.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003144/0.3868, allocations: 6.789 MB / 401.4 MB, free: 32.65 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005408/0.3922, allocations: 8.33 MB / 409.7 MB, free: 21.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/0.3923, allocations: 40 kB / 409.8 MB, free: 21.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01721/0.4096, allocations: 7.229 MB / 417 MB, free: 14.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.918e-05/0.4096, allocations: 68 kB / 417.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009986/0.4196, allocations: 2.528 MB / 419.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01199/0.4316, allocations: 2.381 MB / 422 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003837/0.4355, allocations: 1.376 MB / 423.4 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006625/0.4421, allocations: 5.882 MB / 429.3 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005012/0.4471, allocations: 459.4 kB / 429.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008067/0.4479, allocations: 392 kB / 430.1 MB, free: 1.145 MB / 330.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.001567/0.4495, allocations: 0.7617 MB / 430.8 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005887/0.4501, allocations: 361.8 kB / 431.2 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006131/0.4562, allocations: 1.949 MB / 433.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00508/0.4613, allocations: 1.557 MB / 434.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.4613, allocations: 0 / 434.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.669e-05/0.4613, allocations: 15.91 kB / 434.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0201/0.4814, allocations: 7.151 MB / 441.9 MB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.4814, allocations: 4 kB / 441.9 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000991/0.4824, allocations: 191.7 kB / 442.1 MB, free: 5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005656/0.4881, allocations: 1.195 MB / 443.3 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002241/0.4883, allocations: 35.97 kB / 443.3 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006966/0.4953, allocations: 5.343 MB / 448.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001587/0.4968, allocations: 1.916 MB / 450.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008307/0.5051, allocations: 3.096 MB / 453.6 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.5063, allocations: 297.8 kB / 453.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000383/0.5067, allocations: 35.92 kB / 454 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.5082, allocations: 155.2 kB / 454.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002911/0.5085, allocations: 92.8 kB / 454.2 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.5086, allocations: 47.97 kB / 454.3 MB, free: 8.332 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003322/0.512, allocations: 1.719 MB / 456 MB, free: 6.621 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.512, allocations: 0 / 456 MB, free: 6.621 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005286/0.5172, allocations: 1.117 MB / 457.1 MB, free: 5.504 MB / 362.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.0005262/0.5178, allocations: 197.7 kB / 457.3 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009777/0.5275, allocations: 3.925 MB / 461.2 MB, free: 1.359 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.5276, allocations: 4.188 kB / 461.2 MB, free: 1.355 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003992/0.5315, allocations: 1.42 MB / 462.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/0.534, allocations: 377.4 kB / 463 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/0.5495, allocations: 7.498 MB / 470.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004072/0.5536, allocations: 2.326 MB / 472.8 MB, free: 5.562 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003998/0.5576, allocations: 1.559 MB / 474.4 MB, free: 4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006242/0.5582, allocations: 208.5 kB / 474.6 MB, free: 3.797 MB / 378.7 MB Notification: Performance of SimCode: time 1.833e-06/0.5582, allocations: 0 / 474.6 MB, free: 3.797 MB / 378.7 MB Notification: Performance of Templates: time 0.07197/0.6302, allocations: 33.17 MB / 0.4959 GB, free: 2.613 MB / 410.7 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=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","/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.705511347041465]