Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.00171/0.00171, allocations: 107.6 kB / 21.18 MB, free: 452 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.001613/0.001613, allocations: 215 kB / 24.47 MB, free: 3.777 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.523/1.523, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 59.92 kB / 347.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3068, allocations: 49.16 MB / 396.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008362/0.3151, allocations: 6.604 MB / 403.5 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007555/0.3227, allocations: 3.068 MB / 406.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.3242, allocations: 40.41 kB / 406.6 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.3266, allocations: 1.013 MB / 407.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004973/0.3316, allocations: 1.402 MB / 409 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.333, allocations: 458.3 kB / 409.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00407/0.337, allocations: 2.645 MB / 412.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.339, allocations: 1.329 MB / 413.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.3407, allocations: 0.8653 MB / 414.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.3428, allocations: 1.283 MB / 415.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004711/0.3433, allocations: 170.7 kB / 415.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.3456, allocations: 0.9366 MB / 416.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001431/0.347, allocations: 1.14 MB / 417.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.3483, allocations: 0.9495 MB / 418.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007739/0.3561, allocations: 4.389 MB / 423.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.3561, allocations: 0 / 423.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3561, allocations: 0 / 423.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001163/0.3562, allocations: 0 / 423.1 MB, free: 8.836 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.007161/0.3634, allocations: 3.06 MB / 426.2 MB, free: 5.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.3634, allocations: 11.98 kB / 426.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006776/0.3702, allocations: 1.758 MB / 428 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003826/0.374, allocations: 1.407 MB / 429.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.3741, allocations: 135.3 kB / 429.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006925/0.3748, allocations: 259.7 kB / 429.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.3867, allocations: 6.681 MB / 436.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.963e-05/0.3868, allocations: 27.81 kB / 436.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/0.387, allocations: 87.89 kB / 436.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002302/0.3893, allocations: 1.359 MB / 437.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.4024, allocations: 6.017 MB / 443.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.035/0.4374, allocations: 24.06 MB / 468 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007305/0.4447, allocations: 2.138 MB / 470.1 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.4464, allocations: 0.9925 MB / 471.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00658/0.4529, allocations: 2.719 MB / 473.8 MB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.453, allocations: 47 kB / 473.9 MB, free: 4.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=112): time 5.66e-06/0.453, allocations: 0 / 473.9 MB, free: 4.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.02805/0.481, allocations: 10.11 MB / 484 MB, free: 10.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001904/0.4829, allocations: 1.548 MB / 485.5 MB, free: 8.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004497/0.4874, allocations: 2.626 MB / 488.2 MB, free: 6.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004082/0.4878, allocations: 41.7 kB / 488.2 MB, free: 6.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002303/0.4902, allocations: 2.19 MB / 490.4 MB, free: 3.895 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009147/0.4911, allocations: 0.5351 MB / 490.9 MB, free: 3.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001448/0.4925, allocations: 0.9212 MB / 491.8 MB, free: 2.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002873/0.4928, allocations: 357.9 kB / 492.2 MB, free: 2.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002739/0.4955, allocations: 1.648 MB / 493.8 MB, free: 420 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005375/0.5009, allocations: 4.456 MB / 498.3 MB, free: 10.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009682/0.5106, allocations: 6.542 MB / 0.493 GB, free: 2.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/0.5107, allocations: 32 kB / 0.493 GB, free: 2.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02331/0.534, allocations: 7.971 MB / 0.5008 GB, free: 10.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.5341, allocations: 49 kB / 0.5009 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01308/0.5472, allocations: 3.476 MB / 0.5043 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0126/0.5598, allocations: 2.584 MB / 0.5068 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003731/0.5635, allocations: 1.014 MB / 0.5078 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01647/0.58, allocations: 9.329 MB / 0.5169 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003716/0.5837, allocations: 339.7 kB / 0.5172 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009688/0.5847, allocations: 284 kB / 0.5175 GB, free: 9.293 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,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 {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003462/0.5882, allocations: 1.415 MB / 0.5189 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006401/0.5888, allocations: 226.4 kB / 0.5191 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007358/0.5962, allocations: 2.802 MB / 0.5218 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006414/0.6026, allocations: 2.497 MB / 0.5243 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.233e-05/0.6026, allocations: 4 kB / 0.5243 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.6026, allocations: 3.984 kB / 0.5243 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/0.6175, allocations: 6.184 MB / 0.5303 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.6176, allocations: 7.938 kB / 0.5303 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008817/0.6184, allocations: 175.7 kB / 0.5305 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00512/0.6236, allocations: 1.438 MB / 0.5319 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001598/0.6237, allocations: 27.98 kB / 0.5319 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/0.6353, allocations: 7.62 MB / 0.5394 GB, free: 2.531 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001249/0.6366, allocations: 1.43 MB / 0.5407 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009916/0.6465, allocations: 4.822 MB / 0.5455 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006878/0.6472, allocations: 198.4 kB / 0.5456 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004989/0.6477, allocations: 31.98 kB / 0.5457 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.6491, allocations: 111.8 kB / 0.5458 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003026/0.6494, allocations: 84.48 kB / 0.5459 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.6495, allocations: 43.91 kB / 0.5459 GB, free: 11.66 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002915/0.6524, allocations: 1.491 MB / 0.5474 GB, free: 10.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6524, allocations: 0 / 0.5474 GB, free: 10.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004165/0.6566, allocations: 0.7929 MB / 0.5481 GB, free: 9.355 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,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 {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005075/0.6571, allocations: 147.1 kB / 0.5483 GB, free: 9.203 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009524/0.6666, allocations: 4.199 MB / 0.5524 GB, free: 4.992 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.6666, allocations: 4 kB / 0.5524 GB, free: 4.988 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003612/0.6702, allocations: 1.572 MB / 0.5539 GB, free: 3.383 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/0.6729, allocations: 237.3 kB / 0.5541 GB, free: 3.148 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2039/0.8768, allocations: 6.651 MB / 0.5606 GB, free: 145.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002586/0.8794, allocations: 1.732 MB / 0.5623 GB, free: 145.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003415/0.8828, allocations: 1.383 MB / 0.5637 GB, free: 145.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004508/0.8833, allocations: 160.4 kB / 0.5638 GB, free: 145.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.232e-06/0.8833, allocations: 0 / 0.5638 GB, free: 145.4 MB / 478.1 MB Notification: Performance of Templates: time 0.04888/0.9322, allocations: 29.41 MB / 0.5926 GB, free: 129.3 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.357085760682821]