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.0009815/0.0009815, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001037/0.001037, allocations: 166 kB / 25.33 MB, free: 8.727 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.9725/0.9725, allocations: 158.6 MB / 187.2 MB, free: 2.945 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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|body.w_a.[0-9,]+.",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.[0-9,]+.|body.v_0.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 251 MB, free: 7.508 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.753e-05, allocations: 2.312 kB / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.006768/0.006795, allocations: 7.284 MB / 258.3 MB, free: 184 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00542/0.01222, allocations: 3.169 MB / 261.5 MB, free: 13 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007662/0.01298, allocations: 39.81 kB / 261.5 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.01449, allocations: 1.101 MB / 262.6 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.01646, allocations: 1.455 MB / 264.1 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006246/0.01708, allocations: 498.8 kB / 264.6 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002006/0.01909, allocations: 2.96 MB / 267.5 MB, free: 6.941 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.02022, allocations: 1.644 MB / 269.2 MB, free: 5.266 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009545/0.02117, allocations: 1.333 MB / 270.5 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.02232, allocations: 1.426 MB / 271.9 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.0225, allocations: 176 kB / 272.1 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.02388, allocations: 0.9787 MB / 273.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007483/0.02462, allocations: 1.196 MB / 274.3 MB, free: 152 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005391/0.02516, allocations: 0.728 MB / 275 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.02746, allocations: 3.02 MB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.02746, allocations: 0 / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.02747, allocations: 0 / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.3e-05/0.02749, allocations: 0 / 278 MB, free: 12.39 MB / 266.7 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.004103/0.03159, allocations: 3.382 MB / 281.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.03164, allocations: 11.98 kB / 281.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005263/0.0369, allocations: 2.129 MB / 283.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.03865, allocations: 1.245 MB / 284.8 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.342e-05/0.03874, allocations: 135.4 kB / 284.9 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005498/0.03929, allocations: 251.6 kB / 285.2 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005657/0.04495, allocations: 4.064 MB / 289.3 MB, free: 460 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.502e-05/0.045, allocations: 35.69 kB / 289.3 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.04522, allocations: 87.89 kB / 289.4 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001651/0.04687, allocations: 1.367 MB / 290.7 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005202/0.05207, allocations: 2.415 MB / 293.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02127/0.07335, allocations: 28.6 MB / 321.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004131/0.07748, allocations: 1.425 MB / 323.2 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.07809, allocations: 368.1 kB / 323.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003621/0.08171, allocations: 2.586 MB / 326.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.08175, allocations: 45.83 kB / 326.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=112): time 4.339e-06/0.08176, allocations: 0 / 326.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.013/0.09475, allocations: 7.375 MB / 333.5 MB, free: 3.027 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001039/0.09579, allocations: 2.031 MB / 335.6 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/0.09816, allocations: 2.468 MB / 338 MB, free: 14.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.566e-05/0.09823, allocations: 37.7 kB / 338.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.09934, allocations: 2.295 MB / 340.4 MB, free: 11.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/0.0997, allocations: 0.5391 MB / 340.9 MB, free: 11.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008929/0.1006, allocations: 0.9891 MB / 341.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1008, allocations: 0.5316 MB / 342.4 MB, free: 9.875 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000855/0.1016, allocations: 0.5476 MB / 343 MB, free: 9.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002798/0.1044, allocations: 4.701 MB / 347.7 MB, free: 2.695 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1408/0.2452, allocations: 5.797 MB / 353.5 MB, free: 78.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001197/0.2454, allocations: 28.09 kB / 353.5 MB, free: 78.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01207/0.2574, allocations: 5.712 MB / 359.2 MB, free: 78.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-05/0.2575, allocations: 49.66 kB / 359.3 MB, free: 78.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005349/0.2629, allocations: 2.325 MB / 361.6 MB, free: 78.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005919/0.2688, allocations: 2.136 MB / 363.7 MB, free: 78.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.2709, allocations: 1.016 MB / 364.7 MB, free: 78.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005925/0.2768, allocations: 5.862 MB / 370.6 MB, free: 74.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/0.2794, allocations: 392.5 kB / 371 MB, free: 73.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005064/0.2799, allocations: 287 kB / 371.3 MB, free: 73.64 MB / 330.7 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.001048/0.2809, allocations: 0.5162 MB / 371.8 MB, free: 73.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003572/0.2813, allocations: 255.8 kB / 372 MB, free: 73.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.2841, allocations: 1.701 MB / 373.7 MB, free: 71.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002415/0.2865, allocations: 1.409 MB / 375.1 MB, free: 70.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.2865, allocations: 4 kB / 375.2 MB, free: 70.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.2866, allocations: 6.5 kB / 375.2 MB, free: 70.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007156/0.2937, allocations: 4.814 MB / 380 MB, free: 66.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.2937, allocations: 6.078 kB / 380 MB, free: 66.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/0.2942, allocations: 171.5 kB / 380.1 MB, free: 66.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002357/0.2965, allocations: 0.9858 MB / 381.1 MB, free: 65.67 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.855e-05/0.2966, allocations: 34.97 kB / 381.2 MB, free: 65.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003978/0.3006, allocations: 5.317 MB / 386.5 MB, free: 60.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005073/0.3011, allocations: 1.909 MB / 388.4 MB, free: 58.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003785/0.3049, allocations: 2.698 MB / 391.1 MB, free: 55.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005147/0.3054, allocations: 220.6 kB / 391.3 MB, free: 55.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.3056, allocations: 23.98 kB / 391.3 MB, free: 55.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006924/0.3063, allocations: 151.7 kB / 391.5 MB, free: 55.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.3065, allocations: 84.48 kB / 391.6 MB, free: 55.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-05/0.3066, allocations: 31.98 kB / 391.6 MB, free: 55.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001226/0.3078, allocations: 1.05 MB / 392.6 MB, free: 54.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.3078, allocations: 0 / 392.6 MB, free: 54.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002717/0.3105, allocations: 0.8782 MB / 393.5 MB, free: 53.34 MB / 330.7 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.0003925/0.3109, allocations: 178.5 kB / 393.7 MB, free: 53.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004009/0.3149, allocations: 2.899 MB / 396.6 MB, free: 50.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3149, allocations: 0 / 396.6 MB, free: 50.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.3164, allocations: 1.177 MB / 397.8 MB, free: 49.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.3175, allocations: 257.1 kB / 398 MB, free: 48.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006089/0.3236, allocations: 5.228 MB / 403.2 MB, free: 43.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.3242, allocations: 0.7843 MB / 404 MB, free: 42.69 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001506/0.3257, allocations: 1.203 MB / 405.2 MB, free: 41.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.326, allocations: 160.5 kB / 405.4 MB, free: 41.32 MB / 330.7 MB Notification: Performance of SimCode: time 2.475e-06/0.326, allocations: 0 / 405.4 MB, free: 41.32 MB / 330.7 MB Notification: Performance of Templates: time 0.03348/0.3595, allocations: 29.1 MB / 434.5 MB, free: 12.24 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 240] 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","",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.006620933767408]