Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.001057/0.001057, allocations: 79.73 kB / 21.97 MB, free: 2.586 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.00128/0.00128, allocations: 164 kB / 25.33 MB, free: 9.441 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.9381/0.9381, allocations: 158.6 MB / 187.2 MB, free: 2.531 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.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 251.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.888e-05, allocations: 2.312 kB / 251.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01069/0.01072, allocations: 11.71 MB / 262.8 MB, free: 7.805 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007488/0.0182, allocations: 4.13 MB / 266.9 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002452/0.02066, allocations: 79.62 kB / 267 MB, free: 3.586 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004721/0.02538, allocations: 2.963 MB / 269.9 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005676/0.03105, allocations: 2.111 MB / 272.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.03292, allocations: 0.9004 MB / 273 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007908/0.04083, allocations: 5.275 MB / 278.2 MB, free: 8.305 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004936/0.04577, allocations: 3.559 MB / 281.8 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00559/0.05136, allocations: 2.666 MB / 284.5 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003641/0.055, allocations: 2.63 MB / 287.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001188/0.05618, allocations: 356 kB / 287.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.05858, allocations: 1.24 MB / 288.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002572/0.06115, allocations: 2.283 MB / 291 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002893/0.06405, allocations: 1.433 MB / 292.4 MB, free: 10.06 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00707/0.07111, allocations: 5.071 MB / 297.5 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.07112, allocations: 3.984 kB / 297.5 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.07112, allocations: 0 / 297.5 MB, free: 4.969 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002622/0.07139, allocations: 0 / 297.5 MB, free: 4.969 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.1417/0.2131, allocations: 5.782 MB / 303.2 MB, free: 50.37 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.2131, allocations: 8.5 kB / 303.3 MB, free: 50.37 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006222/0.2194, allocations: 2.734 MB / 306 MB, free: 50.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003928/0.2233, allocations: 2.279 MB / 308.3 MB, free: 49.74 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/0.2235, allocations: 270.9 kB / 308.5 MB, free: 49.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.2246, allocations: 427.8 kB / 308.9 MB, free: 49.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/0.2385, allocations: 8.056 MB / 317 MB, free: 45.88 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.931e-05/0.2386, allocations: 47.36 kB / 317 MB, free: 45.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003302/0.2389, allocations: 172.8 kB / 317.2 MB, free: 45.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002/0.2409, allocations: 2.168 MB / 319.4 MB, free: 44.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.2535, allocations: 4.824 MB / 324.2 MB, free: 39.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03775/0.2913, allocations: 49.5 MB / 373.7 MB, free: 4.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0079/0.2992, allocations: 2.851 MB / 376.6 MB, free: 1.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.3004, allocations: 0.6771 MB / 377.2 MB, free: 1.289 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008238/0.3086, allocations: 4.96 MB / 382.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.3087, allocations: 58.52 kB / 382.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=183): time 4.248e-06/0.3087, allocations: 0 / 382.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=205): time 0.02469/0.3334, allocations: 12.33 MB / 394.6 MB, free: 88 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001201/0.3346, allocations: 2.051 MB / 396.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004469/0.3391, allocations: 3.727 MB / 400.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004175/0.3395, allocations: 53.7 kB / 400.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002176/0.3417, allocations: 3.71 MB / 404.1 MB, free: 6.422 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000964/0.3426, allocations: 0.8595 MB / 405 MB, free: 5.574 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/0.3441, allocations: 1.452 MB / 406.4 MB, free: 4.113 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3442, allocations: 480.7 kB / 406.9 MB, free: 3.641 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.3456, allocations: 0.7863 MB / 407.7 MB, free: 2.852 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003924/0.3495, allocations: 6.905 MB / 414.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00726/0.3568, allocations: 8.499 MB / 423.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001823/0.357, allocations: 40 kB / 423.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=895) (initialization): time 0.01588/0.3728, allocations: 7.259 MB / 430.4 MB, free: 6.555 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.3729, allocations: 71.94 kB / 430.5 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005674/0.3786, allocations: 2.367 MB / 432.8 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005169/0.3838, allocations: 1.761 MB / 434.6 MB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003998/0.3878, allocations: 1.595 MB / 436.2 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1314/0.5192, allocations: 4.69 MB / 440.9 MB, free: 101.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004631/0.5238, allocations: 0.5156 MB / 441.4 MB, free: 101.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008894/0.5247, allocations: 417.4 kB / 441.8 MB, free: 101.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 666 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (857): * Single equations (assignments): 848 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002088/0.5268, allocations: 0.7274 MB / 442.5 MB, free: 100.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007485/0.5276, allocations: 419.2 kB / 442.9 MB, free: 100.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.5315, allocations: 1.878 MB / 444.8 MB, free: 100.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00307/0.5346, allocations: 1.405 MB / 446.2 MB, free: 100.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.5346, allocations: 3.562 kB / 446.2 MB, free: 100.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.5346, allocations: 8.766 kB / 446.2 MB, free: 100.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.5465, allocations: 7.817 MB / 454.1 MB, free: 99.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/0.5465, allocations: 16.28 kB / 454.1 MB, free: 99.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008226/0.5473, allocations: 366.1 kB / 454.4 MB, free: 99.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.5487, allocations: 0.5686 MB / 455 MB, free: 99.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/0.5488, allocations: 70.48 kB / 455.1 MB, free: 99.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.5511, allocations: 4.157 MB / 459.2 MB, free: 95.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000528/0.5516, allocations: 1.928 MB / 461.1 MB, free: 93.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004035/0.5556, allocations: 3.561 MB / 464.7 MB, free: 92.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.5566, allocations: 0.571 MB / 465.3 MB, free: 92.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003021/0.557, allocations: 61.55 kB / 465.3 MB, free: 92.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00096/0.5579, allocations: 200.9 kB / 465.5 MB, free: 92.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.5581, allocations: 184.3 kB / 465.7 MB, free: 92.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-05/0.5582, allocations: 70.92 kB / 465.8 MB, free: 92.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001776/0.56, allocations: 1.597 MB / 467.4 MB, free: 91.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.56, allocations: 0 / 467.4 MB, free: 91.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004136/0.5641, allocations: 1.296 MB / 468.7 MB, free: 91.85 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004173/0.5646, allocations: 246.1 kB / 468.9 MB, free: 91.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005072/0.5696, allocations: 3.967 MB / 472.9 MB, free: 90.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.5696, allocations: 4 kB / 472.9 MB, free: 90.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002003/0.5716, allocations: 1.475 MB / 474.4 MB, free: 89.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.574, allocations: 473.1 kB / 474.8 MB, free: 88.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.5842, allocations: 9.064 MB / 483.9 MB, free: 79.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.5853, allocations: 1.341 MB / 485.2 MB, free: 78.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002441/0.5878, allocations: 1.719 MB / 486.9 MB, free: 76.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005277/0.5883, allocations: 260.4 kB / 487.2 MB, free: 76.49 MB / 362.7 MB Notification: Performance of SimCode: time 1.983e-06/0.5883, allocations: 0 / 487.2 MB, free: 76.49 MB / 362.7 MB Notification: Performance of Templates: time 0.04698/0.6353, allocations: 38.32 MB / 0.5132 GB, free: 38.21 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.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.310857756063342]